From fcb49a7b139aaa5a0509c1718c107b372839cf47 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 26 Dec 2002 01:15:32 +0000 Subject: Fl_Text_Display/Editor would not receive FL_FOCUS events on mouse clicks which resulted in not showing the insertion cursor. Fluid would not register changes to Fl_Text_Editor widgets unless Enter was pressed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2885 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/function_panel.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fluid/function_panel.cxx') diff --git a/fluid/function_panel.cxx b/fluid/function_panel.cxx index 5bb17c7ce..ffdb78eac 100644 --- a/fluid/function_panel.cxx +++ b/fluid/function_panel.cxx @@ -1,4 +1,4 @@ -// generated by Fast Light User Interface Designer (fluid) version 1.0102 +// generated by Fast Light User Interface Designer (fluid) version 1.0103 #include "function_panel.h" #include @@ -82,6 +82,7 @@ Fl_Window* make_code_panel() { Fl_Group::current()->resizable(o); o->buffer(new Fl_Text_Buffer); o->textfont(FL_COURIER); + o->when(FL_WHEN_ENTER_KEY_CHANGED|FL_WHEN_RELEASE); } o->end(); Fl_Group::current()->resizable(o); -- cgit v1.2.3