diff options
| author | Fabien Costantini <fabien@onepost.net> | 2009-07-04 01:09:43 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2009-07-04 01:09:43 +0000 |
| commit | 80ce73bc2277aab70363caf7e1cf4f17cee03e2b (patch) | |
| tree | 0c7f3138dbe511a1dfcfbf2f2e8baf293c4dffb4 | |
| parent | 1b4b02f7a191f033de79760cec3699fbd5bf1a4a (diff) | |
UTF8: Fl_Text_Display and related:
+ more const methods modifications for Fl_Text_Display.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | FL/Fl_Text_Display.H | 2 | ||||
| -rw-r--r-- | src/Fl_Text_Display.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_Text_Display.H b/FL/Fl_Text_Display.H index 8f83bb7ad..2e9a0a0d9 100644 --- a/FL/Fl_Text_Display.H +++ b/FL/Fl_Text_Display.H @@ -250,7 +250,7 @@ class FL_EXPORT Fl_Text_Display: public Fl_Group { int *retLineStart, int *retLineEnd, bool countLastLineMissingNewLine = true) const; void find_line_end(int pos, bool start_pos_is_line_start, int *lineEnd, - int *nextLineStart); + int *nextLineStart) const; int measure_proportional_character(char c, int colNum, int pos) const; int wrap_uses_character(int lineEndPos) const; int range_touches_selection(const Fl_Text_Selection *sel, int rangeStart, diff --git a/src/Fl_Text_Display.cxx b/src/Fl_Text_Display.cxx index 521048685..77bc70254 100644 --- a/src/Fl_Text_Display.cxx +++ b/src/Fl_Text_Display.cxx @@ -2963,7 +2963,7 @@ int Fl_Text_Display::measure_proportional_character(char c, int colNum, int pos) the way back to the beginning of the line. */ void Fl_Text_Display::find_line_end(int startPos, bool startPosIsLineStart, - int *lineEnd, int *nextLineStart) { + int *lineEnd, int *nextLineStart) const { int retLines, retLineStart; /* if we're not wrapping use more efficient BufEndOfLine */ |
