Overview
Examples
Screenshots
Comparisons
Applications
Download
Manual
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Language
English











SourceForge.net Logo



DocEdit

 

class DocEdit : public TextCtrl

DocEdit is form of raw text editor that interprets lines as paragraphs (wraps them).

 

 

Derived from TextCtrl

 

 

Public Member List

 

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.

 

 

Last edit by cbpporter on 03/12/2009. Do you want to contribute?. T++