From 0fb4feb11a8fc3cf843aeb5f6ba02cf8c0538dce Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 6 Nov 2010 00:29:58 +0000 Subject: Working on correct line wrapping in Fl_Text_Display: starting to replace all byte based charracter calculations with utf8 functions. Current version wraps, but scroll bars are wrong. Non-wrapping text display starts to work better. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7797 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Text_Buffer.H | 2 ++ 1 file changed, 2 insertions(+) (limited to 'FL') diff --git a/FL/Fl_Text_Buffer.H b/FL/Fl_Text_Buffer.H index ae9f78d44..dcceb59cb 100644 --- a/FL/Fl_Text_Buffer.H +++ b/FL/Fl_Text_Buffer.H @@ -713,6 +713,7 @@ public: \param ix index to the current char */ int prev_char(int ix) const; + int prev_char_clipped(int ix) const; /** Returns a pointer to the previous character. @@ -726,6 +727,7 @@ public: \param ix index to the current char */ int next_char(int ix) const; + int next_char_clipped(int ix) const; /** Returns a pointer to the next character. -- cgit v1.2.3