DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2683
Version: 1.3-current
Attached file "show_cursor.patch"...
Link: http://www.fltk.org/str.php?L2683
Version: 1.3-current
Index: src/Fl_Text_Display.cxx
===================================================================
--- src/Fl_Text_Display.cxx (revision 8861)
+++ src/Fl_Text_Display.cxx (working copy)
@@ -615,6 +615,8 @@
*/
void Fl_Text_Display::show_cursor(int b) {
mCursorOn = b;
+ if (!buffer())
+ Fl::fatal("Fl_Text_Display: show_cursor() called before buffer()
assigned");
redisplay_range(buffer()->prev_char_clipped(mCursorPos),
buffer()->next_char(mCursorPos));
}
_______________________________________________
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs