summaryrefslogtreecommitdiff
path: root/fluid/CodeEditor.h
diff options
context:
space:
mode:
authorMatthias Melcher <git@matthiasm.com>2021-12-08 18:55:34 +0100
committerMatthias Melcher <git@matthiasm.com>2021-12-08 18:55:44 +0100
commit17c8f73a88037fbe5efde00ff7d44a2f6f51e494 (patch)
treecda28ef9b4a9c49fffdc179cbc37f81de6eebae8 /fluid/CodeEditor.h
parent16dae3ea063ae134b8b87ca199575e904dfbb7d4 (diff)
STR 3460.C: Code Properties remembers the editor's scroll bar position.
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