|
Public Types |
| enum | { FGMAX_LINE = 32768,
FGMAX_LINESIZE = 512
} |
Public Member Functions |
| | FGTextEditor (FGTextEditor **e=0, char *arg="Untitled", int font=FONT0816, int ink=CGRAY3, int paper=CBLACK, int flags=WSTANDARD|WMENU|WSTATUSBAR|WSIZEABLE|WNOTIFY|WMINIMIZE|WUSELAST|WNOPICTO) |
| void __fastcall | ShowBuffer (int top=0) |
| void __fastcall | NewBuffer (void) |
| void __fastcall | OpenBuffer (char *s) |
| void __fastcall | ReopenBuffer (void) |
| void __fastcall | SaveBuffer (void) |
| void __fastcall | SaveAsBuffer (char *s) |
| void __fastcall | Close (void) |
| void __fastcall | Goto (int) |
| void __fastcall | ReadOnlyMode (void) |
| void __fastcall | SetFocus (void) |
| int __fastcall | AppendLine (char *str) |
Protected Member Functions |
|
void __fastcall | file (void) |
|
int __fastcall | _memcmp (unsigned char *from, unsigned char *co, unsigned kolko, unsigned l) |
|
int __fastcall | Find (int from, int count, int size) |
|
void __fastcall | Clear (void) |
|
void __fastcall | _goto (void) |
|
void __fastcall | search (void) |
|
void __fastcall | options (void) |
|
FGLINE *__fastcall | create_line (char *s, int at) |
|
void __fastcall | Init (void) |
|
void __fastcall | SaveAsBuffer2 (void) |
|
void __fastcall | OpenBuffer2 (void) |
|
void __fastcall | ShowCursor (int trigger) |
|
void __fastcall | ShowLine (int scr, char *s) |
|
int __fastcall | isempty (char *s) |
|
void __fastcall | CKey (int k) |
|
void __fastcall | Key (int k) |
|
void __fastcall | SaveChanges (void) |
|
void __fastcall | Open (char *s) |
|
void __fastcall | Destruct (void) |
Static Protected Member Functions |
|
static void | SearchProc (FGEvent *p) |
|
static void | SetFont (CallBack) |
|
static void | OptionsProc (FGEvent *p) |
|
static void | file_proc (CallBack) |
|
static char *__fastcall | terminate (char *s) |
|
static void | OpenBuffer1 (char *s, FGFileDialog *) |
|
static void | SaveAsBuffer1 (char *s, FGFileDialog *) |
|
static void | Text_EditorProc (FGEvent *p) |
Protected Attributes |
|
FGWindow * | Text_EditorPtr |
|
FGWindow * | OptionsPtr |
|
FGWindow * | String_SearchPtr |
|
int | lfonly |
|
int | font_save |
|
FGBUFFER | buf |
|
FGLINE | text [FGMAX_LINE] |
|
char | s [1028] |
|
int | WX |
|
int | WY |
|
char | srch_str [33] |
|
int | last_found |
|
int | _font |
|
int | TABSIZE |
|
int | nodraw |
|
int | inblock |
|
int | ronly |
|
int | X |
|
int | Y |
|
int | W |
|
int | H |
|
FGTextEditor ** | self |