From 325dc85b2c756d13b329dba4541fcb35feabdda9 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 23 Mar 2005 03:13:31 +0000 Subject: Fix syntax highlighting bug in the editor demo, and port changes to the CodeEditor widget in FLUID. Use the CodeEditor widget for the other code windows. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/function_panel.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fluid/function_panel.h') diff --git a/fluid/function_panel.h b/fluid/function_panel.h index 2fcb01340..9f3b86277 100644 --- a/fluid/function_panel.h +++ b/fluid/function_panel.h @@ -44,8 +44,8 @@ extern Fl_Return_Button *f_panel_ok; extern Fl_Button *f_panel_cancel; Fl_Window* make_function_panel(); extern Fl_Window *code_panel; -#include -extern Fl_Text_Editor *code_input; +#include "CodeEditor.h" +extern CodeEditor *code_input; #include extern Fl_Return_Button *code_panel_ok; extern Fl_Button *code_panel_cancel; @@ -78,7 +78,7 @@ extern Fl_Return_Button *c_panel_ok; extern Fl_Button *c_panel_cancel; Fl_Window* make_class_panel(); extern Fl_Window *comment_panel; -extern Fl_Text_Editor *comment_input; +extern CodeEditor *comment_input; extern Fl_Return_Button *comment_panel_ok; extern Fl_Button *comment_panel_cancel; extern Fl_Light_Button *comment_in_source; -- cgit v1.2.3