Class FormatControlProcessor
java.lang.Object
com.vladsch.flexmark.formatter.internal.FormatControlProcessor
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFormatControlProcessor
(@NotNull Document document, @Nullable DataHolder options) -
Method Summary
Modifier and TypeMethodDescription@Nullable Pattern
@Nullable Pattern
boolean
boolean
private @Nullable Pattern
getPatternOrDisableRegexp
(@NotNull String markerText) void
initializeFrom
(@NotNull Node element) private @Nullable Boolean
isFormatterOffTag
(@Nullable CharSequence commentText) boolean
boolean
private boolean
isFormattingRegion
(int offset, @NotNull Node node, boolean checkParent) boolean
isFormattingRegion
(@NotNull Node node) boolean
boolean
void
processFormatControl
(@NotNull Node node)
-
Field Details
-
OPEN_COMMENT
- See Also:
-
CLOSE_COMMENT
- See Also:
-
formatterOnTag
-
formatterOffTag
-
formatterTagsEnabled
private final boolean formatterTagsEnabled -
myFormatterOff
private boolean myFormatterOff -
justTurnedOffFormatting
private boolean justTurnedOffFormatting -
justTurnedOnFormatting
private boolean justTurnedOnFormatting -
formatterTagsAcceptRegexp
private boolean formatterTagsAcceptRegexp -
formatterOffPattern
-
formatterOnPattern
-
-
Constructor Details
-
FormatControlProcessor
public FormatControlProcessor(@NotNull @NotNull Document document, @Nullable @Nullable DataHolder options)
-
-
Method Details
-
isFormattingOff
public boolean isFormattingOff() -
getFormatterOffPattern
-
getFormatterOnPattern
-
getPatternOrDisableRegexp
-
isFormattingRegion
public boolean isFormattingRegion() -
getFormatterOnTag
-
getFormatterOffTag
-
getFormatterTagsEnabled
public boolean getFormatterTagsEnabled() -
getFormatterRegExEnabled
public boolean getFormatterRegExEnabled() -
isJustTurnedOffFormatting
public boolean isJustTurnedOffFormatting() -
isJustTurnedOnFormatting
public boolean isJustTurnedOnFormatting() -
isFormatterOffTag
-
initializeFrom
-
processFormatControl
-
isFormattingRegion
-
isFormattingRegion
-