Methods, Text-related


procedure TextPopupMenu(AX, AY: integer);
Shows right-click menu in text modes.
Menu is shown at point (AX, AY).
procedure TextEncodingsMenu(AX, AY: integer);
Shows menu of all available encodings for the current text mode.
Menu is shown at point (AX, AY).
Note:
  • In Unicode mode this method displays the special Unicode menu, which contains only "UTF-16 LE" and "UTF-16 BE" items.
procedure TextScroll(const APos: Int64; AIndentVert, AIndentHorz: integer);
Scrolls text control to a given position.
Control is scrolled to position APos (0-based), with vertical indent AIndentVert characters and average horizontal indent AIndentHorz characters.