public class PostFormatProcessorHelper
extends java.lang.Object
Constructor and Description |
---|
PostFormatProcessorHelper(CodeStyleSettings rootSettings)
Deprecated.
Use
PostFormatProcessorHelper(CommonCodeStyleSettings) first getting correct language settings
with CodeStyleSettings.getCommonSettings(Language) ! |
PostFormatProcessorHelper(CommonCodeStyleSettings settings) |
Modifier and Type | Method and Description |
---|---|
TextRange |
getResultTextRange() |
CommonCodeStyleSettings |
getSettings() |
boolean |
isElementFullyInRange(PsiElement element) |
boolean |
isElementPartlyInRange(PsiElement element) |
static boolean |
isMultiline(PsiElement statement) |
int |
mapOffset(int sourceOffset) |
TextRange |
mapRange(TextRange sourceRange) |
void |
setResultTextRange(TextRange resultTextRange) |
void |
updateResultRange(int oldTextLength,
int newTextLength) |
@Deprecated public PostFormatProcessorHelper(CodeStyleSettings rootSettings)
PostFormatProcessorHelper(CommonCodeStyleSettings)
first getting correct language settings
with CodeStyleSettings.getCommonSettings(Language)
!public PostFormatProcessorHelper(CommonCodeStyleSettings settings)
public CommonCodeStyleSettings getSettings()
public void updateResultRange(int oldTextLength, int newTextLength)
public int mapOffset(int sourceOffset)
public boolean isElementPartlyInRange(PsiElement element)
public boolean isElementFullyInRange(PsiElement element)
public static boolean isMultiline(PsiElement statement)
public void setResultTextRange(TextRange resultTextRange)
public TextRange getResultTextRange()