Class AutoCloseCandidate
java.lang.Object
org.eclipse.epsilon.common.dt.editor.autoclose.AutoCloseCandidate
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAutoCloseCandidate(org.eclipse.jface.text.IDocument document, org.eclipse.jface.text.DocumentCommand command) -
Method Summary
Modifier and TypeMethodDescriptionclose(AutoClosePair pair) intcountInCurrentLine(char what) booleanevenInCurrentLine(char what) chargetChar()org.eclipse.jface.text.DocumentCommandorg.eclipse.jface.text.IDocumentcharvoidignore()booleanbooleanbooleanoddInCurrentLine(char what) voidsetCommand(org.eclipse.jface.text.DocumentCommand command) voidsetDocument(org.eclipse.jface.text.IDocument document)
-
Field Details
-
document
protected org.eclipse.jface.text.IDocument document -
command
protected org.eclipse.jface.text.DocumentCommand command
-
-
Constructor Details
-
AutoCloseCandidate
public AutoCloseCandidate(org.eclipse.jface.text.IDocument document, org.eclipse.jface.text.DocumentCommand command)
-
-
Method Details
-
isBackspace
public boolean isBackspace() -
isSingleChar
public boolean isSingleChar() -
getChar
public char getChar() -
getNextChar
public char getNextChar() -
close
-
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)
-