Class AutoCloseCandidate
- java.lang.Object
-
- org.eclipse.epsilon.common.dt.editor.autoclose.AutoCloseCandidate
-
public class AutoCloseCandidate extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AutoCloseCandidate(org.eclipse.jface.text.IDocument document, org.eclipse.jface.text.DocumentCommand command)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoCloseAction
close(AutoClosePair pair)
int
countInCurrentLine(char what)
boolean
evenInCurrentLine(char what)
char
getChar()
org.eclipse.jface.text.DocumentCommand
getCommand()
org.eclipse.jface.text.IDocument
getDocument()
char
getNextChar()
void
ignore()
boolean
isBackspace()
boolean
isSingleChar()
boolean
oddInCurrentLine(char what)
void
setCommand(org.eclipse.jface.text.DocumentCommand command)
void
setDocument(org.eclipse.jface.text.IDocument document)
-
-
-
Method Detail
-
isBackspace
public boolean isBackspace()
-
isSingleChar
public boolean isSingleChar()
-
getChar
public char getChar()
-
getNextChar
public char getNextChar()
-
close
public AutoCloseAction close(AutoClosePair pair)
-
ignore
public void ignore()
-
evenInCurrentLine
public boolean evenInCurrentLine(char what)
-
oddInCurrentLine
public boolean oddInCurrentLine(char what)
-
countInCurrentLine
public int countInCurrentLine(char what)
-
getDocument
public org.eclipse.jface.text.IDocument getDocument()
-
setDocument
public void setDocument(org.eclipse.jface.text.IDocument document)
-
getCommand
public org.eclipse.jface.text.DocumentCommand getCommand()
-
setCommand
public void setCommand(org.eclipse.jface.text.DocumentCommand command)
-
-