summaryrefslogtreecommitdiff
path: root/FL/Fl_Text_Buffer.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Text_Buffer.H')
-rw-r--r--FL/Fl_Text_Buffer.H16
1 files changed, 4 insertions, 12 deletions
diff --git a/FL/Fl_Text_Buffer.H b/FL/Fl_Text_Buffer.H
index d74ddfc79..a9365d5c0 100644
--- a/FL/Fl_Text_Buffer.H
+++ b/FL/Fl_Text_Buffer.H
@@ -742,19 +742,11 @@ public:
*/
const Fl_Text_Selection* highlight_selection() const { return &mHighlight; }
- /**
- Returns the index of the previous character.
- \param ix index to the current character
- */
- int prev_char(int ix) const;
- int prev_char_clipped(int ix) const;
+ int prev_char(int pos) const;
+ int prev_char_clipped(int pos) const;
- /**
- Returns the index of the next character.
- \param ix index to the current character
- */
- int next_char(int ix) const;
- int next_char_clipped(int ix) const;
+ int next_char(int pos) const;
+ int next_char_clipped(int pos) const;
/**
Align an index into the buffer to the current or previous UTF-8 boundary.