From 497afccb07164373e0de6639e754d7d691f1926f Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Tue, 14 Oct 2008 22:12:25 +0000 Subject: Doxygen pdf man: First version added in documentation/fltk.pdf, old doc removed, images, dox files moved to a new src directory. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6431 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Text_Editor.html | 227 -------------------------------------- 1 file changed, 227 deletions(-) delete mode 100644 documentation/Fl_Text_Editor.html (limited to 'documentation/Fl_Text_Editor.html') diff --git a/documentation/Fl_Text_Editor.html b/documentation/Fl_Text_Editor.html deleted file mode 100644 index ced3ac968..000000000 --- a/documentation/Fl_Text_Editor.html +++ /dev/null @@ -1,227 +0,0 @@ - - - Fl_Text_Editor - - - - - -

class Fl_Text_Editor

- -
- -

Class Hierarchy

- - - -

Include Files

- - - -

Description

- -

This is the FLTK text editor widget. It allows the user to -edit multiple lines of text and supports highlighting and -scrolling. The buffer that is displayed in the widget is managed -by the Fl_Text_Buffer -class. - -

Methods

- - - -
- -

Fl_Text_Editor(int X, int Y, int W, int H, const char* l = 0);

- -

The constructor creates a new text editor widget. - -

~Fl_Text_Editor();

- -

The destructor frees all memory used by the text editor widget. - -

void add_default_key_bindings(Key_Binding** list);

- -

Adds all of the default editor key bindings to the specified key binding list. - -

void add_key_binding(int key, int state, Key_Func f, Key_Binding** list);
-void add_key_binding(int key, int state, Key_Func f);

- -

Adds a single key binding to the specified or current key binding list. - -

Key_Func bound_key_function(int key, int state, Key_Binding* list);
-Key_Func bound_key_function(int key, int state);

- -

Returns the function associated with a key binding. - -

void default_key_function(Key_Func f);

- -

Sets the default key function for unassigned keys. - -

void insert_mode(int b);
-int insert_mode();

- -

Sets or gets the current insert mode; if non-zero, new text -is inserted before the current cursor position. Otherwise, new -text replaces text at the current cursor position. - -

int kf_backspace(int c, Fl_Text_Editor* e);

- -

Does a backspace in the current buffer. - -

int kf_copy(int c, Fl_Text_Editor* e);

- -

Does a copy of selected text in the current buffer. - -

int kf_c_s_move(int c, Fl_Text_Editor* e);

- -

Extends the current selection in the direction indicated by -control key c. - -

int kf_ctrl_move(int c, Fl_Text_Editor* e);

- -

Moves the current text cursor in the direction indicated by -control key c. - -

int kf_cut(int c, Fl_Text_Editor* e);

- -

Does a cut of selected text in the current buffer. - -

int kf_default(int c, Fl_Text_Editor* e);

- -

Inserts the text associated with the key c. - -

int kf_delete(int c, Fl_Text_Editor* e);

- -

Does a delete of selected text or the current character in -the current buffer. - -

int kf_down(int c, Fl_Text_Editor* e);

- -

Moves the text cursor down one line. - -

int kf_end(int c, Fl_Text_Editor* e);

- -

Moves the text cursor to the end of the current line. - -

int kf_enter(int c, Fl_Text_Editor* e);

- -

Inserts a newline at the current cursor position. - -

int kf_home(int c, Fl_Text_Editor* e);

- -

Moves the text cursor to the beginning of the current line. - -

int kf_ignore(int c, Fl_Text_Editor* e);

- -

Ignores the keypress. - -

int kf_insert(int c, Fl_Text_Editor* e);

- -

Toggles the insert mode in the text editor. - -

int kf_left(int c, Fl_Text_Editor* e);

- -

Moves the text cursor to the left in the buffer. - -

int kf_move(int c, Fl_Text_Editor* e);

- -

Moves the text cursor in the direction indicated by key -c. - -

int kf_page_down(int c, Fl_Text_Editor* e);

- -

Moves the text cursor down one page. - -

int kf_page_up(int c, Fl_Text_Editor* e);

- -

Moves the text cursor up one page. - -

int kf_paste(int c, Fl_Text_Editor* e);

- -

Pastes the contents of the clipboard at the current text cursor position. - -

int kf_right(int c, Fl_Text_Editor* e);

- -

Moves the text cursor one character to the right. - -

int kf_select_all(int c, Fl_Text_Editor* e);

- -

Selects all text in the buffer. - -

int kf_shift_move(int c, Fl_Text_Editor* e);

- -

Extends the current selection in the direction of key c. - -

int kf_up(int c, Fl_Text_Editor* e);

- -

Moves the text cursor up one line. - -

void remove_all_key_bindings(Key_Binding** list);
-void remove_all_key_bindings();

- -

Removes all of the key bindings associated with the text editor or list. - -

void remove_key_binding(int key, int state, Key_Binding** list);
-void remove_key_binding(int key, int state);

- -

Removes a single key binding from the text editor or list. - -

ulong Fl_Text_Editor::shortcut() const -
void Fl_Text_Editor::shortcut(ulong key)

- The first form returns the current shortcut key for the editor. -

The second form sets the shortcut key to key. - - - -- cgit v1.2.3