summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(); }