Author: fabien
Date: 2009-07-03 18:09:43 -0700 (Fri, 03 Jul 2009)
New Revision: 6824
Log:
UTF8: Fl_Text_Display and related:
+ more const methods modifications for Fl_Text_Display.
Modified:
branches/branch-1.3/FL/Fl_Text_Display.H
branches/branch-1.3/src/Fl_Text_Display.cxx
Modified: branches/branch-1.3/FL/Fl_Text_Display.H
===================================================================
--- branches/branch-1.3/FL/Fl_Text_Display.H 2009-07-04 00:57:46 UTC (rev
6823)
+++ branches/branch-1.3/FL/Fl_Text_Display.H 2009-07-04 01:09:43 UTC (rev
6824)
@@ -250,7 +250,7 @@
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,
Modified: branches/branch-1.3/src/Fl_Text_Display.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Text_Display.cxx 2009-07-04 00:57:46 UTC (rev
6823)
+++ branches/branch-1.3/src/Fl_Text_Display.cxx 2009-07-04 01:09:43 UTC (rev
6824)
@@ -2963,7 +2963,7 @@
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 */
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit