|[Top] [Chapter] [Previous] [Next]|
void ReformatAll([In] bool InitAll, [In] bool Repaint);
Formats the text at once.
Optionally initializes (= calculate the font heights) and paints it.
Formatting is required after the creation of text, for example using TextCursor.InputString.
Initialization is only required after paragraph styles have been updated, otherwise the engine knows which paragraphs have to be initialized.
The formatting is performed at once, not in the next idle phase. If called in a loop, this can slow down the program significantly!
Therefore please also see TextCommand( 18, ..) which is used to start the reformat process in the next idle phase. Especially when used inside of events, this would be the better way to initialize the text.