summaryrefslogtreecommitdiff
path: root/FL/Fl_Text_Buffer.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-11-06 00:29:58 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-11-06 00:29:58 +0000
commit0fb4feb11a8fc3cf843aeb5f6ba02cf8c0538dce (patch)
treee7ec5bd0f3ba01e973e1d4d724fc26cc469f181d /FL/Fl_Text_Buffer.H
parent5027ca90d3492c73af556feb0c5dcf67025b69ad (diff)
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
Diffstat (limited to 'FL/Fl_Text_Buffer.H')
-rw-r--r--FL/Fl_Text_Buffer.H2
1 files changed, 2 insertions, 0 deletions
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.