summaryrefslogtreecommitdiff
path: root/fluid/CodeEditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/CodeEditor.h')
-rw-r--r--fluid/CodeEditor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fluid/CodeEditor.h b/fluid/CodeEditor.h
index d30f1b680..dcbb292e1 100644
--- a/fluid/CodeEditor.h
+++ b/fluid/CodeEditor.h
@@ -51,6 +51,8 @@ public:
~CodeEditor();
int top_line() { return get_absolute_top_line_number(); }
void textsize(Fl_Fontsize s);
+ int scroll_row() { return mTopLineNum; }
+ int scroll_col() { return mHorizOffset; }
};
// ---- CodeViewer declaration