DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2704
Version: 1.3.0


It seems the workaround is to call:

    Fl::focus(this);    // 'this' being the editor widget

..right after calling remove(), causing the cursor to reappear.

Before that, I tried just about everything else, not sure what the cause
was. At one point I had all of these after calling remove(),
and none of these worked:

            insert_position(1);
            show_cursor(1);
            cursor_style(NORMAL_CURSOR);
            cursor_color(FL_BLACK);
            redraw();

Apparently the widget somehow looses focus when remove() is called.
Seems like a bug.


Link: http://www.fltk.org/str.php?L2704
Version: 1.3.0

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to