diff options
Diffstat (limited to 'fluid/CodeEditor.h')
| -rw-r--r-- | fluid/CodeEditor.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fluid/CodeEditor.h b/fluid/CodeEditor.h index 1c7c037db..ce7120ef1 100644 --- a/fluid/CodeEditor.h +++ b/fluid/CodeEditor.h @@ -59,6 +59,10 @@ class CodeEditor : public Fl_Text_Editor { CodeEditor(int X, int Y, int W, int H, const char *L=0); ~CodeEditor(); int top_line() { return get_absolute_top_line_number(); } + + // attempt to make the fluid code editor widget honour textsize setting + void textsize(Fl_Fontsize s); + }; class CodeViewer : public CodeEditor { @@ -66,7 +70,7 @@ class CodeViewer : public CodeEditor { public: CodeViewer(int X, int Y, int W, int H, const char *L=0); - + protected: int handle(int ev) { return Fl_Text_Display::handle(ev); } |
