summaryrefslogtreecommitdiff
path: root/fluid/CodeEditor.h
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2005-11-03 20:43:19 +0000
committerMatthias Melcher <fltk@matthiasm.com>2005-11-03 20:43:19 +0000
commit1a5288e8feb3673fa864d4aa4e4c09c9577a0670 (patch)
treea23a587c1f13fcc490ae35e57dc0735007d9ee01 /fluid/CodeEditor.h
parent5cdf984737d7a7f55006e3ca04f28451dfe2099c (diff)
Fluid Source Code preview panel with automatic refresh and selected object code highlighting.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/CodeEditor.h')
-rw-r--r--fluid/CodeEditor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fluid/CodeEditor.h b/fluid/CodeEditor.h
index 4b646849b..04c51bd09 100644
--- a/fluid/CodeEditor.h
+++ b/fluid/CodeEditor.h
@@ -67,6 +67,7 @@ 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(); }
};
#endif // !CodeEditor_h