The methods change value of an integer property for the item at the position of caret.
procedure SetCurrentItemExtraIntProperty(Prop: TRVExtraItemProperty;
Value: Integer; AutoReformat: Boolean);
procedure SetCurrentItemExtraIntPropertyEx(Prop, Value: Integer;
(introduced in versions 1.7 and 15)
These methods set a new Value of the item's property identified by Prop.
In SetCurrentItemExtraIntProperty, Prop's type is TRVExtraItemProperty. See information about this type for the list of properties.
In SetCurrentItemExtraIntPropertyEx, Prop's type is Integer. If Prop can be converted to TRVExtraItemProperty, SetCurrentItemExtraIntPropertyEx works like SetCurrentItemExtraIntProperty. In addition, it supports properties identified by rveipc*** constants
If AutoReformat=True, these methods automatically reformat the document and call OnChange.
If AutoReformat=False (this can be useful if you set several properties of an item at once), call Change and reformat the document after it yourself. A reformatting depends on the property:
▪some properties do not require reformatting (for example, colors), repainting is enough (call Invalidate);
▪some properties require a complete reformatting (for example, "start-from" and "reset" of numbered sequences) (call Reformat).
Method type: editing-style.
See also methods:
See also methods of TCustomRichView: