|
<< Click to display table of contents >> TRVEditHelper.SetParaIndentsAndSpacing |
Applies the indents and spacing from ParaStyle, listed in ValidParaProperties, to the selected text in the AEditor editor.
procedure SetParaIndentsAndSpacing(
AEditor: TCustomRichViewEdit);
This method is similar to SetParaStyleToEditor, but has the following differences:
▪it applies only rvpiSpaceBefore, rvpiSpaceAfter, rvpiFirstIndent, rvpiLeftIndent, rvpiRightIndent properties;
▪if necessary, it adjusts the changed indents and spacing so that they are large enough to include the border and background padding (in TRichView, margins and indents are specified independently of borders and background).
See also: