public abstract class SmartEnterProcessor
extends java.lang.Object
Constructor and Description |
---|
SmartEnterProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
commit(Editor editor) |
static void |
commitDocument(Editor editor) |
protected RangeMarker |
createRangeMarker(PsiElement elt) |
protected PsiElement |
getStatementAtCaret(Editor editor,
PsiFile psiFile) |
protected static boolean |
isUncommited(Project project) |
abstract boolean |
process(Project project,
Editor editor,
PsiFile psiFile) |
boolean |
processAfterCompletion(Editor editor,
PsiFile psiFile) |
protected void |
reformat(PsiElement atCaret) |
protected void reformat(PsiElement atCaret) throws IncorrectOperationException
IncorrectOperationException
protected RangeMarker createRangeMarker(PsiElement elt)
protected PsiElement getStatementAtCaret(Editor editor, PsiFile psiFile)
protected static boolean isUncommited(Project project)
public void commit(Editor editor)
public static void commitDocument(Editor editor)