FLTK logo

[fltk/fltk] Extending selected text with keyboard in Fl_Text_Editor (#196)

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.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

[fltk/fltk] Extending selected text with keyboard in Fl_Text_Editor (#196) gnuwimp Mar 01, 2021  
 

When you select text in the buffer and then try to extend it with the shift and keyboard it selects the wrong text range.

Example:
run "editor editor.cxx"
press ctrl + f and enter "https"
then press shift + right and it selects all text from pos 0 until "https:"

It might have something to do with Fl_Text_Display::dragPos which is not set when you select text with the Fl_Text_Buffer::select().
Anyway I have no idea how to fix it.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]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'.