From 29ec4e0e553a9f864fb1df7210d456125a154f33 Mon Sep 17 00:00:00 2001 From: Mohammed Alyousef Date: Tue, 14 Apr 2020 23:28:39 +0300 Subject: Fix int highlight() comment --- FL/Fl_Text_Buffer.H | 4 +--- 1 file changed, 1 insertion(+), 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(); } -- cgit v1.2.3