diff options
| author | Manolo Gouy <Manolo> | 2013-02-08 11:58:19 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2013-02-08 11:58:19 +0000 |
| commit | 914e7f9b0926a62f65c0351963ba533c6dee09f5 (patch) | |
| tree | a3022792cb9058aa5beda3fe15808d9963f3f870 /src/Fl_compose.cxx | |
| parent | b22744aac0d54f16d39b2e01654fee9a5e47407a (diff) | |
Mac OS text input: removed the Fl::marked_text_length() function that's not necessary.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9816 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_compose.cxx')
| -rw-r--r-- | src/Fl_compose.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Fl_compose.cxx b/src/Fl_compose.cxx index 47f4e7e3a..8a2909f55 100644 --- a/src/Fl_compose.cxx +++ b/src/Fl_compose.cxx @@ -54,8 +54,8 @@ extern XIC fl_xim_ic; temporary text replaced by other text during the input process. This occurs, e.g., when using dead keys or when entering CJK characters. Text editing widgets should preferentially signal - marked text, usually underlining it. Widgets can call - <tt>int Fl::marked_text_length()</tt> <i>after</i> having called Fl::compose(int&) + marked text, usually underlining it. Widgets can use + <tt>int Fl::compose_state</tt> <i>after</i> having called Fl::compose(int&) to obtain the length in bytes of marked text that always finishes at the current insertion point. It's the widget's task to underline marked text. Widgets should also call <tt>void Fl::reset_marked_text()</tt> when processing FL_UNFOCUS @@ -105,10 +105,6 @@ unsigned char ascii = (unsigned char)e_text[0]; } #ifdef __APPLE__ -int Fl::marked_text_length() { - return (Fl::compose_state ? Fl::compose_state : Fl_X::next_marked_length); - } - static int insertion_point_x = 0; static int insertion_point_y = 0; static int insertion_point_height = 0; |
