diff options
| -rw-r--r-- | FL/Fl_Text_Buffer.H | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl_Text_Buffer.H b/FL/Fl_Text_Buffer.H index e09e13a47..aa4bbf704 100644 --- a/FL/Fl_Text_Buffer.H +++ b/FL/Fl_Text_Buffer.H @@ -123,11 +123,13 @@ class FL_EXPORT Fl_Text_Buffer { void remove_selection(); void replace_selection(const char* text); void secondary_select(int start, int end); + int secondary_selected() { return mSecondary.selected(); } void secondary_unselect(); void secondary_select_rectangular(int start, int end, int rectStart, int rectEnd); + int secondary_selection_position(int* start, int* end); int secondary_selection_position(int* start, int* end, int* isRect, int* rectStart, int* rectEnd); @@ -135,9 +137,11 @@ class FL_EXPORT Fl_Text_Buffer { void remove_secondary_selection(); void replace_secondary_selection(const char* text); void highlight(int start, int end); + int highlight() { return mHighlight.selected(); } void unhighlight(); void highlight_rectangular(int start, int end, int rectStart, int rectEnd); + int highlight_position(int* start, int* end); int highlight_position(int* start, int* end, int* isRect, int* rectStart, int* rectEnd); |
