From e5fc1560b08c411d93c76921812cf60b106b473f Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 2 Dec 2010 00:43:07 +0000 Subject: Fixed Doxygen comments, typos, and a few indenting issues. Part 1, more to come ... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Text_Buffer.H | 2 +- FL/Fl_Text_Display.H | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'FL') diff --git a/FL/Fl_Text_Buffer.H b/FL/Fl_Text_Buffer.H index bc6023e26..29ca2cd9d 100644 --- a/FL/Fl_Text_Buffer.H +++ b/FL/Fl_Text_Buffer.H @@ -599,7 +599,7 @@ public: \param foundPos byte offset where the character was found \return 1 if found, 0 if not */ - int findchar_backward(int startPos, unsigned searchChar, int* foundPos) const; + int findchar_backward(int startPos, unsigned int searchChar, int* foundPos) const; /** Search forwards in buffer for string \p searchString, starting with the diff --git a/FL/Fl_Text_Display.H b/FL/Fl_Text_Display.H index 9e13e812e..c50e341c5 100644 --- a/FL/Fl_Text_Display.H +++ b/FL/Fl_Text_Display.H @@ -152,7 +152,7 @@ public: int move_down(); int count_lines(int start, int end, bool start_pos_is_line_start) const; int line_start(int pos) const; - int line_end(int pos, bool start_pos_is_line_start) const; + int line_end(int startPos, bool startPosIsLineStart) const; int skip_lines(int startPos, int nLines, bool startPosIsLineStart); int rewind_lines(int startPos, int nLines); void next_word(void); @@ -287,7 +287,7 @@ public: \param x number of pixels form the left margin \return an approximate column number based on the main font */ - double x_to_col(double y) const; + double x_to_col(double x) const; /** Convert a column number into an x pixel position. -- cgit v1.2.3