From 17c8f73a88037fbe5efde00ff7d44a2f6f51e494 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 8 Dec 2021 18:55:34 +0100 Subject: STR 3460.C: Code Properties remembers the editor's scroll bar position. --- fluid/CodeEditor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fluid/CodeEditor.h') 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 -- cgit v1.2.3