summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FL/Fl_Text_Display.H4
-rw-r--r--fluid/Fl_Type.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/FL/Fl_Text_Display.H b/FL/Fl_Text_Display.H
index 533839a04..0cf218383 100644
--- a/FL/Fl_Text_Display.H
+++ b/FL/Fl_Text_Display.H
@@ -537,7 +537,11 @@ protected:
void xy_to_rowcol(int x, int y, int* row, int* column,
int PosType = CHARACTER_POS) const;
void maintain_absolute_top_line_number(int state);
+public:
int get_absolute_top_line_number() const;
+ int scroll_row() { return mTopLineNum; }
+ int scroll_col() { return mHorizOffset; }
+protected:
void absolute_top_line_number(int oldFirstChar);
int maintaining_absolute_top_line_number() const;
void reset_absolute_top_line_number();
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h
index 59bd89556..f38508e16 100644
--- a/fluid/Fl_Type.h
+++ b/fluid/Fl_Type.h
@@ -219,7 +219,7 @@ public:
virtual void move_child(Fl_Type*, Fl_Type* beforethis) { }
virtual void remove_child(Fl_Type*) { }
- /** Give widgets a change to arrange their children after all children were add.
+ /** Give widgets a chance to arrange their children after all children were added.
If adding individual children, this is called immediately, but if children
are read via a project file, we wait until all children are read and then
lay out the group.