public class SingleLineTerminalsStrategy extends AbstractTerminalsEditStrategy
MultiLineTerminalsEditStrategy
Modifier and Type | Class and Description |
---|---|
static class |
SingleLineTerminalsStrategy.Factory |
static interface |
SingleLineTerminalsStrategy.StrategyPredicate |
Modifier and Type | Field and Description |
---|---|
static SingleLineTerminalsStrategy.StrategyPredicate |
DEFAULT |
util
debug, DEBUG
Constructor and Description |
---|
SingleLineTerminalsStrategy(java.lang.String left,
java.lang.String right,
SingleLineTerminalsStrategy.StrategyPredicate strategy) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
appliedText(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command) |
protected void |
handleDeletion(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command) |
protected void |
handleInsertLeftTerminal(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command) |
protected void |
handleInsertRightTerminal(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command) |
protected void |
internalCustomizeDocumentCommand(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command) |
protected boolean |
isInsertClosingTerminal(org.eclipse.jface.text.IDocument document,
int i) |
allowsEqualTerminals, findStartTerminal, findStopTerminal, getDocumentUtil, getLeftTerminal, getRightTerminal, setDocumentUtil
count, customizeDocumentCommand, getDocumentContent, handleBadLocationException, isIdentifierPart, verifyKey
public static SingleLineTerminalsStrategy.StrategyPredicate DEFAULT
public SingleLineTerminalsStrategy(java.lang.String left, java.lang.String right, SingleLineTerminalsStrategy.StrategyPredicate strategy)
protected void internalCustomizeDocumentCommand(org.eclipse.jface.text.IDocument document, org.eclipse.jface.text.DocumentCommand command) throws org.eclipse.jface.text.BadLocationException
internalCustomizeDocumentCommand
in class AbstractEditStrategy
org.eclipse.jface.text.BadLocationException
protected void handleInsertLeftTerminal(org.eclipse.jface.text.IDocument document, org.eclipse.jface.text.DocumentCommand command) throws org.eclipse.jface.text.BadLocationException
org.eclipse.jface.text.BadLocationException
protected boolean isInsertClosingTerminal(org.eclipse.jface.text.IDocument document, int i)
protected java.lang.String appliedText(org.eclipse.jface.text.IDocument document, org.eclipse.jface.text.DocumentCommand command) throws org.eclipse.jface.text.BadLocationException
org.eclipse.jface.text.BadLocationException
protected void handleDeletion(org.eclipse.jface.text.IDocument document, org.eclipse.jface.text.DocumentCommand command) throws org.eclipse.jface.text.BadLocationException
org.eclipse.jface.text.BadLocationException
protected void handleInsertRightTerminal(org.eclipse.jface.text.IDocument document, org.eclipse.jface.text.DocumentCommand command) throws org.eclipse.jface.text.BadLocationException
org.eclipse.jface.text.BadLocationException