FLTK logo

[master] 13526f0 - Make Fl_Terminal selection_text() methods public

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 13526f0 - Make Fl_Terminal selection_text() methods public "Greg Ercolano" 13:32 Mar 12  
 
commit 13526f04abd4e3474b309e54af7fc6b462cc2e2f
Author:     Greg Ercolano <erco@seriss.com>
AuthorDate: Tue Mar 12 13:18:54 2024 -0700
Commit:     Greg Ercolano <erco@seriss.com>
CommitDate: Tue Mar 12 13:18:54 2024 -0700

    Make Fl_Terminal selection_text() methods public
    
    As per Albrecht's request on fltk.coredev..

 FL/Fl_Terminal.H | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git FL/Fl_Terminal.H FL/Fl_Terminal.H
index ff1cb55..36dbf36 100644
--- FL/Fl_Terminal.H
+++ FL/Fl_Terminal.H
@@ -944,9 +944,10 @@ protected:
 private:
   bool is_hist_ring_row(int grow) const;
   bool is_disp_ring_row(int grow) const;
-protected:
+public:
   int  selection_text_len(void) const;
   const char* selection_text(void) const;
+protected:
   void clear_mouse_selection(void);
   bool selection_extend(int X,int Y);
   void select_word(int grow, int gcol);
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.