diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-10-04 02:30:34 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-10-04 02:30:34 +0000 |
| commit | 561052191096d72b321f676401fbc8c7476a5990 (patch) | |
| tree | 17667b261c1fc9f96c0f96dd4573cf4c0a728049 /documentation/Fl_Text_Editor.html | |
| parent | 14f432133081273396d48e4322115d6fc1860727 (diff) | |
Doco updates.
Reset cursor when changing the current pane in an Fl_Wizard widget.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl_Text_Editor.html')
| -rw-r--r-- | documentation/Fl_Text_Editor.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/documentation/Fl_Text_Editor.html b/documentation/Fl_Text_Editor.html index f849edaf4..a5060e972 100644 --- a/documentation/Fl_Text_Editor.html +++ b/documentation/Fl_Text_Editor.html @@ -73,101 +73,138 @@ class. <H4><A NAME="Fl_Text_Editor.Fl_Text_Editor">Fl_Text_Editor(int X, int Y, int W, int H, const char* l = 0);</A></H4> +<P>The constructor creates a new text editor widget. <H4><A NAME="Fl_Text_Editor.~Fl_Text_Editor">~Fl_Text_Editor();</A></H4> +<P>The destructor frees all memory used by the text editor widget. <H4><A NAME="Fl_Text_Editor.add_default_key_bindings">void add_default_key_bindings(Key_Binding** list);</A></H4> +<P>Adds all of the default editor key bindings to the specified key binding list. <H4><A NAME="Fl_Text_Editor.add_key_binding">void add_key_binding(int key, int state, Key_Func f, Key_Binding** list);<BR> void add_key_binding(int key, int state, Key_Func f);</A></H4> +<P>Adds a single key binding to the specified or current key binding list. <H4><A NAME="Fl_Text_Editor.bound_key_function">Key_Func bound_key_function(int key, int state, Key_Binding* list);<BR> Key_Func bound_key_function(int key, int state);</A></H4> +<P>Returns the function associated with a key binding. <H4><A NAME="Fl_Text_Editor.default_key_function">void default_key_function(Key_Func f);</A></H4> +<P>Sets the default key function for unassigned keys. <H4><A NAME="Fl_Text_Editor.insert_mode">void insert_mode(int b);<BR> int insert_mode();</A></H4> +<P>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. <H4><A NAME="Fl_Text_Editor.kf_backspace">int kf_backspace(int c, Fl_Text_Editor* e);</A></H4> +<P>Does a backspace in the current buffer. <H4><A NAME="Fl_Text_Editor.kf_copy">int kf_copy(int c, Fl_Text_Editor* e);</A></H4> +<P>Does a copy of selected text in the current buffer. <H4><A NAME="Fl_Text_Editor.kf_c_s_move">int kf_c_s_move(int c, Fl_Text_Editor* e);</A></H4> +<P>Extends the current selection in the direction indicated by +control key <CODE>c</CODE>. <H4><A NAME="Fl_Text_Editor.kf_ctrl_move">int kf_ctrl_move(int c, Fl_Text_Editor* e);</A></H4> +<P>Moves the current text cursor in the direction indicated by +control key <CODE>c</CODE>. <H4><A NAME="Fl_Text_Editor.kf_cut">int kf_cut(int c, Fl_Text_Editor* e);</A></H4> +<P>Does a cut of selected text in the current buffer. <H4><A NAME="Fl_Text_Editor.kf_default">int kf_default(int c, Fl_Text_Editor* e);</A></H4> +<P>Inserts the text associated with the key <CODE>c</CODE>. <H4><A NAME="Fl_Text_Editor.kf_delete">int kf_delete(int c, Fl_Text_Editor* e);</A></H4> +<P>Does a delete of selected text or the current character in +the current buffer. <H4><A NAME="Fl_Text_Editor.kf_down">int kf_down(int c, Fl_Text_Editor* e);</A></H4> +<P>Moves the text cursor down one line. <H4><A NAME="Fl_Text_Editor.kf_end">int kf_end(int c, Fl_Text_Editor* e);</A></H4> +<P>Moves the text cursor to the end of the current line. <H4><A NAME="Fl_Text_Editor.kf_enter">int kf_enter(int c, Fl_Text_Editor* e);</A></H4> +<P>Inserts a newline at the current cursor position. <H4><A NAME="Fl_Text_Editor.kf_home">int kf_home(int c, Fl_Text_Editor* e);</A></H4> +<P>Moves the text cursor to the beginning of the current line. <H4><A NAME="Fl_Text_Editor.kf_ignore">int kf_ignore(int c, Fl_Text_Editor* e);</A></H4> +<P>Ignores the keypress. <H4><A NAME="Fl_Text_Editor.kf_insert">int kf_insert(int c, Fl_Text_Editor* e);</A></H4> +<P>Toggles the insert mode in the text editor. <H4><A NAME="Fl_Text_Editor.kf_left">int kf_left(int c, Fl_Text_Editor* e);</A></H4> +<P>Moves the text cursor to the left in the buffer. <H4><A NAME="Fl_Text_Editor.kf_move">int kf_move(int c, Fl_Text_Editor* e);</A></H4> +<P>Moves the text cursor in the direction indicated by key +<CODE>c</CODE>. <H4><A NAME="Fl_Text_Editor.kf_page_down">int kf_page_down(int c, Fl_Text_Editor* e);</A></H4> +<P>Moves the text cursor down one page. <H4><A NAME="Fl_Text_Editor.kf_page_up">int kf_page_up(int c, Fl_Text_Editor* e);</A></H4> +<P>Moves the text cursor up one page. <H4><A NAME="Fl_Text_Editor.kf_paste">int kf_paste(int c, Fl_Text_Editor* e);</A></H4> +<P>Pastes the contents of the clipboard at the current text cursor position. <H4><A NAME="Fl_Text_Editor.kf_right">int kf_right(int c, Fl_Text_Editor* e);</A></H4> +<P>Moves the text cursor one character to the right. <H4><A NAME="Fl_Text_Editor.kf_select_all">int kf_select_all(int c, Fl_Text_Editor* e);</A></H4> +<P>Selects all text in the buffer. <H4><A NAME="Fl_Text_Editor.kf_shift_move">int kf_shift_move(int c, Fl_Text_Editor* e);</A></H4> +<P>Extends the current selection in the direction of key <CODE>c</CODE>. <H4><A NAME="Fl_Text_Editor.kf_up">int kf_up(int c, Fl_Text_Editor* e);</A></H4> +<P>Moves the text cursor up one line. <H4><A NAME="Fl_Text_Editor.remove_all_key_bindings">void remove_all_key_bindings(Key_Binding** list);<BR> void remove_all_key_bindings();</A></H4> +<P>Removes all of the key bindings associated with the text editor or list. <H4><A NAME="Fl_Text_Editor.remove_key_binding">void remove_key_binding(int key, int state, Key_Binding** list);<BR> void remove_key_binding(int key, int state);</A></H4> +<P>Removes a single key binding from the text editor or list. </BODY> </HTML> |
