org.eclipse.xtext.ui.editor.autoedit
Interface SingleLineTerminalsStrategy.StrategyPredicate

Enclosing class:
SingleLineTerminalsStrategy

public static interface SingleLineTerminalsStrategy.StrategyPredicate


Method Summary
 boolean isInsertClosingBracket(org.eclipse.jface.text.IDocument doc, int offset)
           
 

Method Detail

isInsertClosingBracket

boolean isInsertClosingBracket(org.eclipse.jface.text.IDocument doc,
                               int offset)
                               throws org.eclipse.jface.text.BadLocationException
Returns:
whether the closing terminal should be inserted, based on the cursor position
Throws:
any - thrown exceptions are catched and interpreted like return true
org.eclipse.jface.text.BadLocationException