public abstract class EnterBetweenBracesNoCommitDelegate extends EnterBetweenBracesDelegate
Constructor and Description |
---|
EnterBetweenBracesNoCommitDelegate() |
Modifier and Type | Method and Description |
---|---|
boolean |
bracesAreInTheSameElement(PsiFile file,
Editor editor,
int lBraceOffset,
int rBraceOffset) |
static HighlighterIterator |
createBeforeIterator(EditorEx editor,
int caretOffset) |
protected void |
formatAtOffset(PsiFile file,
Editor editor,
int offset,
Language language) |
abstract boolean |
isCommentType(IElementType type) |
boolean |
isInComment(PsiFile file,
Editor editor,
int offset) |
isBracePair
public boolean bracesAreInTheSameElement(PsiFile file, Editor editor, int lBraceOffset, int rBraceOffset)
bracesAreInTheSameElement
in class EnterBetweenBracesDelegate
public boolean isInComment(PsiFile file, Editor editor, int offset)
isInComment
in class EnterBetweenBracesDelegate
public abstract boolean isCommentType(IElementType type)
protected void formatAtOffset(PsiFile file, Editor editor, int offset, Language language)
formatAtOffset
in class EnterBetweenBracesDelegate
public static HighlighterIterator createBeforeIterator(EditorEx editor, int caretOffset)