diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-04-06 23:00:56 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-04-06 23:00:56 +0000 |
| commit | 29317e7b2ddabf9ef99cba82c30455c439ae1115 (patch) | |
| tree | e62082a55aa9b5ae8e6ef52abe7f053e01c02aa2 /src/Fl_Text_Editor.cxx | |
| parent | b24875d8cd3b2e289035ed0a99e904efd96cd7bf (diff) | |
Marked some more issues with Fl_Text_...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7462 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Text_Editor.cxx')
| -rw-r--r-- | src/Fl_Text_Editor.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_Text_Editor.cxx b/src/Fl_Text_Editor.cxx index 54f680185..76ce92ddd 100644 --- a/src/Fl_Text_Editor.cxx +++ b/src/Fl_Text_Editor.cxx @@ -254,6 +254,7 @@ int Fl_Text_Editor::kf_ignore(int, Fl_Text_Editor*) { int Fl_Text_Editor::kf_backspace(int, Fl_Text_Editor* e) { if (!e->buffer()->selected() && e->move_left()) { int l = 1; + // FIXME: character is ucs-4 char c = e->buffer()->character(e->insert_position()); if (c & 0x80 && c & 0x40) { l = fl_utf8len(c); @@ -449,6 +450,7 @@ int Fl_Text_Editor::kf_insert(int, Fl_Text_Editor* e) { int Fl_Text_Editor::kf_delete(int, Fl_Text_Editor* e) { if (!e->buffer()->selected()) { int l = 1; + // FIXME: character is ucs-4 char c = e->buffer()->character(e->insert_position()); if (c & 0x80 && c & 0x40) { l = fl_utf8len(c); |
