TRVEditHelper.IncreaseIndent, DecreaseIndent

<< Click to display table of contents >>

TRVEditHelper.IncreaseIndent, DecreaseIndent

IncreaseIndent increases the indentation of the selected paragraphs in AEditor; DecreaseIndent decreases it.

procedure IncreaseIndent(AEditor: TCustomRichViewEdit);
procedure DecreaseIndent(AEditor: TCustomRichViewEdit);

The indentation is changed by IndentStep. The resulting indentation cannot exceed IndentMax. The decreased indent remains large enough to include the paragraph border and background fill padding, if present.

For left-to-right paragraphs, the left indent is changed; for right-to-left paragraphs, the right indent is changed.