diff options
| author | Matthias Melcher <git@matthiasm.com> | 2021-12-08 18:55:34 +0100 |
|---|---|---|
| committer | Matthias Melcher <git@matthiasm.com> | 2021-12-08 18:55:44 +0100 |
| commit | 17c8f73a88037fbe5efde00ff7d44a2f6f51e494 (patch) | |
| tree | cda28ef9b4a9c49fffdc179cbc37f81de6eebae8 /fluid/CodeEditor.h | |
| parent | 16dae3ea063ae134b8b87ca199575e904dfbb7d4 (diff) | |
STR 3460.C: Code Properties remembers the editor's scroll bar position.
Diffstat (limited to 'fluid/CodeEditor.h')
| -rw-r--r-- | fluid/CodeEditor.h | 2 |
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 |
