From 0fb4feb11a8fc3cf843aeb5f6ba02cf8c0538dce Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 6 Nov 2010 00:29:58 +0000 Subject: 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 --- test/editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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); -- cgit v1.2.3