diff options
| author | Fabien Costantini <fabien@onepost.net> | 2009-07-04 00:24:26 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2009-07-04 00:24:26 +0000 |
| commit | 691ab845037907905f22c00a57e236f88ae20374 (patch) | |
| tree | c0deef9e8ceb1d147318625a6097f53356e9d1ea /FL/Fl_Text_Display.H | |
| parent | 06b58d92bdf76839a74b597fd095a6ce008663e7 (diff) | |
UTF8: Fl_Text_Display and related:
+ Modified selection buffer access methods to return const Fl_Text_Selection pointers. Added a non const get method for the main selection buffer.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Text_Display.H')
| -rw-r--r-- | FL/Fl_Text_Display.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_Text_Display.H b/FL/Fl_Text_Display.H index ed361537f..cfa2530ca 100644 --- a/FL/Fl_Text_Display.H +++ b/FL/Fl_Text_Display.H @@ -253,8 +253,8 @@ class FL_EXPORT Fl_Text_Display: public Fl_Group { int *nextLineStart); int measure_proportional_character(char c, int colNum, int pos); int wrap_uses_character(int lineEndPos); - int range_touches_selection(Fl_Text_Selection *sel, int rangeStart, - int rangeEnd); + int range_touches_selection(const Fl_Text_Selection *sel, int rangeStart, + int rangeEnd) const; #ifndef FL_DOXYGEN int damage_range1_start, damage_range1_end; int damage_range2_start, damage_range2_end; |
