FLTK logo

Re: [fltk.coredev] Fl_Terminal selection_text() methods

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

Re: Fl_Terminal selection_text() methods Greg Ercolano 14:03 Mar 12  
 

On 3/12/24 13:18, 'Albrecht Schlosser' via fltk.coredev wrote:

... and while you're at it ...
I noticed two minor (?) issues with mouse selection:

(1) I can't select the full text of one line up to and including the newline. Whenever I drag the mouse to the beginning of a line the first character of that line gets included in the selection. This is different than e.g. the behavior in Fl_Text_Display/_Editor.
(2) The text(false) method outputs one additional line at the end. Since I fixed buffer trimming (commit aa02a0297be) this is "only" an additional LF character but it's still not correct. I looked into it but maybe you can find the culprit and fix it easier than me.

    Mmm, I'll take a look.

Thanks for this great widget, BTW. As you can see I'm now using it also in test/handle_keys.cxx for interactive output. I was looking for a better widget but its printf() and similar methods to output text made it unique.

    Ah, I noticed that (new?) test program while checking test programs that used Fl_Terminal.
    Looks interesting but I didn't give it a full try out to see what it did.

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/771a0e80-f769-43e8-995a-adca3ed44c15%40seriss.com.
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'.