From e8d218109e246b14df0cdf2d818e2575c8108e9f Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 24 Oct 2023 14:28:56 +0200 Subject: FLUID: Adds much more detailed CodeView in preparation for "find" and "reveal" --- fluid/CodeEditor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fluid/CodeEditor.h') diff --git a/fluid/CodeEditor.h b/fluid/CodeEditor.h index f8e7f8299..50908ebe5 100644 --- a/fluid/CodeEditor.h +++ b/fluid/CodeEditor.h @@ -66,13 +66,14 @@ protected: void draw() FL_OVERRIDE; }; -// ---- DesignViewer declaration +// ---- Project File Text Viewe declaration class TextViewer : public Fl_Text_Display { public: TextViewer(int X, int Y, int W, int H, const char *L=0); ~TextViewer(); int top_line() { return get_absolute_top_line_number(); } + void draw() FL_OVERRIDE; }; #endif // !CodeEditor_h -- cgit v1.2.3