|
|
On 3/12/24 22:03 Greg Ercolano wrote:
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.
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.
Yes, it's new, and its sole purpose is to test keyboard events. I found
the issues I reported above by using this test program, trying to select
text (with the mouse) and then copying the selected or the full text to
the clipboard.
You can test this yourself with the latest version (commit 9f4cea25b):
- Click the copy button w/o selecting text for full text output to the
clipboard.
- Select text and click the copy button to copy the selected portion to
the clipboard.
BTW, as I noticed, `git pull` should also solve the GTK plugin error on
Ubuntu 20, fixed by Manolo in commit 14d7218ac.
--
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/a00c8730-2083-4ef2-a20a-19bded1299bc%40aljus.de.
[ Direct Link to Message ] | |
|
| |