43 #ifndef _MGUI_NCSCTRL_MLEDIT_H 44 #define _MGUI_NCSCTRL_MLEDIT_H 68 typedef struct _textnode
76 typedef struct _textmark
83 typedef struct _textdoc
93 void (*init_fn) (
struct _textdoc *, TextNode *, TextNode *);
95 void (*change_fn) (
struct _textdoc *, BOOL bSel);
97 void (*change_cont) (
struct _textdoc *, TextNode *node);
99 void (*del_fn) (
struct _textdoc *, TextNode *);
111 typedef struct _status_data
130 typedef STATDATA* PSTATDATA;
133 typedef struct _bk_textnode
139 typedef struct _backup_data
147 typedef BKDATA* PBKDATA;
158 #define NCSCTRL_MLEDIT NCSCLASSNAME("mledit") 160 typedef struct _mMlEdit
mMlEdit;
165 #define mMlEditHeader(Class) \ 177 unsigned char lnChar; \ 178 unsigned char caretShape; \ 267 #define mMlEditClassHeader(clsName, parentClass) \ 268 mEditClassHeader (clsName, parentClass) \ 269 int (*setTitle)(clsName *self, const char *title, int len); \ 270 int (*getTitle)(clsName *self, char *buffer, int len); 304 #define mMlEditRendererHeader(clsName, parentClass) \ 305 mEditRendererHeader(clsName, parentClass) \ 313 struct _mMlEditRenderer
322 #define NCSS_MLEDIT_AUTOWRAP (0x0001<<NCSS_EDIT_SHIFT) 328 #define NCSS_MLEDIT_TITLE (0x0002<<NCSS_EDIT_SHIFT) 330 #define NCSS_MLEDIT_SHIFT (NCSS_EDIT_SHIFT+2) 346 NCSN_MLEDIT_MAX = NCSN_EDIT_MAX + 1,
358 #define NCSF_MLEDIT_SELECT 0x0001 359 #define NCSF_MLEDIT_FOCUSED 0x0002 360 #define NCSF_MLEDIT_TMP 0x0004 361 #define NCSF_MLEDIT_REPLACE 0x0008 362 #define NCSF_MLEDIT_MOVE 0x0010 363 #define NCSF_MLEDIT_NOCARET 0x0020 364 #define NCSF_MLEDIT_EX_SETFOCUS 0x0040 365 #define NCSF_MLEDIT_EX_KILLFOCUS 0x0080
the edit struct of edit control, derived from mScrollView.
MGNCS_EXPORT mMlEditClass g_stmMlEditCls
the instance of mMlEditClass
The structure of double linked list.
MlEdit class's Renderer interface, derived from mEditRenderer.
the multiline edit control, derived from mEdit.
the VTable of mMlEdit, derived from mEditClass.