summaryrefslogtreecommitdiff
path: root/test/editor.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-11-06 00:29:58 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-11-06 00:29:58 +0000
commit0fb4feb11a8fc3cf843aeb5f6ba02cf8c0538dce (patch)
treee7ec5bd0f3ba01e973e1d4d724fc26cc469f181d /test/editor.cxx
parent5027ca90d3492c73af556feb0c5dcf67025b69ad (diff)
Working on correct line wrapping in Fl_Text_Display: starting to replace all byte based charracter calculations with utf8 functions. Current version wraps, but scroll bars are wrong. Non-wrapping text display starts to work better.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7797 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/editor.cxx')
-rw-r--r--test/editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/editor.cxx b/test/editor.cxx
index 3ac8ab9ca..98d41f280 100644
--- a/test/editor.cxx
+++ b/test/editor.cxx
@@ -785,7 +785,7 @@ Fl_Window* new_view() {
Fl_Menu_Bar* m = new Fl_Menu_Bar(0, 0, 660, 30);
m->copy(menuitems, w);
w->editor = new Fl_Text_Editor(0, 30, 660, 370);
- w->editor->wrap_mode(1, 32);
+ //w->editor->wrap_mode(1, 32);
w->editor->textfont(FL_COURIER);
w->editor->textsize(TS);
w->editor->buffer(textbuf);