public class EnterBetweenBracesDelegate
extends java.lang.Object
Constructor and Description |
---|
EnterBetweenBracesDelegate() |
Modifier and Type | Method and Description |
---|---|
boolean |
bracesAreInTheSameElement(PsiFile file,
Editor editor,
int lBraceOffset,
int rBraceOffset) |
protected void |
formatAtOffset(PsiFile file,
Editor editor,
int offset,
Language language) |
protected boolean |
isBracePair(char lBrace,
char rBrace) |
boolean |
isInComment(PsiFile file,
Editor editor,
int offset) |
public boolean bracesAreInTheSameElement(PsiFile file, Editor editor, int lBraceOffset, int rBraceOffset)
protected void formatAtOffset(PsiFile file, Editor editor, int offset, Language language)
protected boolean isBracePair(char lBrace, char rBrace)
lBrace
- left brace offsetrBrace
- right brace offset