Author: matt
Date: 2008-01-04 12:31:52 -0800 (Fri, 04 Jan 2008)
New Revision: 6010
Log:
Added a few missing methods for Fl_Text_Buffer

Modified:
   branches/branch-1.1/FL/Fl_Text_Buffer.H

Modified: branches/branch-1.1/FL/Fl_Text_Buffer.H
===================================================================
--- branches/branch-1.1/FL/Fl_Text_Buffer.H     2008-01-04 20:31:06 UTC (rev 
6009)
+++ branches/branch-1.1/FL/Fl_Text_Buffer.H     2008-01-04 20:31:52 UTC (rev 
6010)
@@ -123,11 +123,13 @@
     void remove_selection();
     void replace_selection(const char* text);
     void secondary_select(int start, int end);
+    int secondary_selected() { return mSecondary.selected(); }
     void secondary_unselect();
 
     void secondary_select_rectangular(int start, int end, int rectStart,
                                       int rectEnd);
 
+    int secondary_selection_position(int* start, int* end);
     int secondary_selection_position(int* start, int* end, int* isRect,
                                      int* rectStart, int* rectEnd);
 
@@ -135,9 +137,11 @@
     void remove_secondary_selection();
     void replace_secondary_selection(const char* text);
     void highlight(int start, int end);
+    int highlight() { return mHighlight.selected(); }
     void unhighlight();
     void highlight_rectangular(int start, int end, int rectStart, int rectEnd);
 
+    int highlight_position(int* start, int* end);
     int highlight_position(int* start, int* end, int* isRect, int* rectStart,
                            int* rectEnd);
 

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to