public interface FormattingModeAwareIndentAdjuster
FormattingMode,
CodeStyleManager| Modifier and Type | Method and Description |
|---|---|
int |
adjustLineIndent(Document document,
int offset,
FormattingMode mode)
Adjust line indent at document offset using
mode. |
FormattingMode |
getCurrentFormattingMode() |
int adjustLineIndent(Document document, int offset, FormattingMode mode)
mode.document - The document to adjust line indent in.offset - The offset in the document.mode - The mode: FormattingMode.ADJUST_INDENT or FormattingMode.ADJUST_INDENT_ON_ENTERFormattingMode getCurrentFormattingMode()