| Package | Description |
|---|---|
| org.eclipse.xtext.ui.editor.autoedit |
| Modifier and Type | Method and Description |
|---|---|
protected CommandInfo |
MultiLineTerminalsEditStrategy.handleCursorBetweenStartAndStopLine(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command,
org.eclipse.jface.text.IRegion startTerminal,
org.eclipse.jface.text.IRegion stopTerminal)
adds a new line with required indentation after the cursor.
|
protected CommandInfo |
MultiLineTerminalsEditStrategy.handleCursorInFirstLine(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command,
org.eclipse.jface.text.IRegion startTerminal,
org.eclipse.jface.text.IRegion stopTerminal)
Expects the cursor to be in the same line as the start terminal
puts any text between start terminal and cursor into a separate newline before the cursor.
|
protected CommandInfo |
MultiLineTerminalsEditStrategy.handleCursorInStopLine(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command,
org.eclipse.jface.text.IRegion startTerminal,
org.eclipse.jface.text.IRegion stopTerminal)
|
protected CommandInfo |
MultiLineTerminalsEditStrategy.handleNoStopTerminal(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command,
org.eclipse.jface.text.IRegion startTerminal,
org.eclipse.jface.text.IRegion stopTerminal)
Expects the cursor not to be in the first line of the block
inserts a closing terminal if not existent.
|
Copyright © 2016. All Rights Reserved.