summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2020-04-15 00:38:14 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2020-04-15 00:38:14 +0200
commit7ca708a445a1eb24c52a1a8e5ed8d3db732ac9e3 (patch)
tree33fa0862f8cffb79c56c54f0861a1e8b813f3107
parentb4dd1d36dd72e53e0114e983d71f307704e91efe (diff)
parent29ec4e0e553a9f864fb1df7210d456125a154f33 (diff)
Merge PR #71 from Mohammed Alyousef
-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(); }