summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMohammed Alyousef <may642_2000@hotmail.com>2020-04-14 23:28:39 +0300
committerAlbrecht Schlosser <albrechts.fltk@online.de>2020-04-15 00:35:32 +0200
commit29ec4e0e553a9f864fb1df7210d456125a154f33 (patch)
tree33fa0862f8cffb79c56c54f0861a1e8b813f3107 /FL
parentb4dd1d36dd72e53e0114e983d71f307704e91efe (diff)
Fix int highlight() comment
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Text_Buffer.H4
1 files changed, 1 insertions, 3 deletions
diff --git a/FL/Fl_Text_Buffer.H b/FL/Fl_Text_Buffer.H
index 59f686cc6..c8e749c1e 100644
--- a/FL/Fl_Text_Buffer.H
+++ b/FL/Fl_Text_Buffer.H
@@ -478,9 +478,7 @@ public:
void highlight(int start, int end);
/**
- Returns the highlighted text.
-
- When you are done with the text, free it using the free() function.
+ Returns a non-zero value if text has been highlighted, 0 otherwise.
*/
int highlight() { return mHighlight.selected(); }