|
class DocEdit : public TextCtrl
DocEdit is form of raw text editor that interprets lines as paragraphs (wraps them).

Derived from TextCtrl
DocEdit& SetFont(Font f)
Sets the font to be used by widget to f.
DocEdit& SetFilter(int (*f)(int c))
Sets the character filter f. All characters keystrokes are first altered by this function and used only if the result is not zero.
DocEdit& AutoHideSb(bool b = true)
In AutoHideSb mode, scrollbar is only visible when it is needed (text height is bigger than the height of the window). This mode is active by default.
DocEdit& UpDownLeave(bool u = true)
In UpDownLeave mode, Up key at the top of text or Down key at the bottom is not processed by DocEdit, which in turn means that it can be processed by parent Ctrl. In TopWindow, this will move the focus to previous / next Ctrl that IsWantFocus.
DocEdit& NoUpDownLeave()
Same as UpDownLeave(false).
bool IsUpDownLeave() const
Tests UpDownLeave mode.
|