Was this ever implemented in the X11 version? I don't have access to a Unix box right now, otherwise I'd just test it myself. :-) ~Benjamin
Benjamin wrote:
Was this ever implemented in the X11 version? I don't have access to a Unix box right now, otherwise I'd just test it myself. :-)
It has that mechanism where you highlight text with the left mouse button to select it and middle button to paste somewhere, but it doesn't do the one that uses control keys (which I've never understood the value of). I was going to say that sometimes I double-click words with the expectation that they'll be selected, and this makes me think: What is the double click emitter for in dw/selection.cc, anyway? I don't see anything using it...
On Wed, 29 Dec 2010 14:56:43 -0500, corvid <corvid@lavabit.com> wrote:
It has that mechanism where you highlight text with the left mouse button to select it and middle button to paste somewhere, but it doesn't do the one that uses control keys (which I've never understood the value of).
Non-X11 systems don't have the select-and-middle-click mechanism, and with most X11 toolkits (Qt, GTK+, etc.), the control key mechanism is more persistent. Anyway, thanks for the answer. That's one of the next things I was planning to implement. ~Benjamin
On Wed, Dec 29, 2010 at 03:13:02PM -0500, Benjamin Johnson wrote:
On Wed, 29 Dec 2010 14:56:43 -0500, corvid <corvid@lavabit.com> wrote:
It has that mechanism where you highlight text with the left mouse button to select it and middle button to paste somewhere, but it doesn't do the one that uses control keys (which I've never understood the value of).
Non-X11 systems don't have the select-and-middle-click mechanism, and with most X11 toolkits (Qt, GTK+, etc.), the control key mechanism is more persistent.
Anyway, thanks for the answer. That's one of the next things I was planning to implement.
Hm, I would have thought that copy/paste just works on Windows via the fltk::copy() call in FltkPlatform::copySelection(). Does copy/paste work for fltk2/test programs on Windows? Cheers, Johannes
On Fri, 07 Jan 2011 07:52:06 -0500, Johannes Hofmann <Johannes.Hofmann@gmx.de> wrote:
Hm, I would have thought that copy/paste just works on Windows via the fltk::copy() call in FltkPlatform::copySelection(). Does copy/paste work for fltk2/test programs on Windows?
Cheers, Johannes
Copy/paste works from text boxes with the keyboard shortcuts. Select-and-middle-click works within FLTK (for example, I can copy from the content area to the address bar, no problem), but definitely not to other Windows apps. You'd think it would just work, but when you're dealing with a toolkit as badly broken as FLTK, just about anything is possible -- and don't get me started on X11-isms. I have not tried the test programs, but I will when I have a chance. Fortunately I'm no stranger to patching FLTK. Cheers, ~Benjamin
participants (3)
-
corvid@lavabit.com
-
Johannes.Hofmann@gmx.de
-
obeythepenguin@gmail.com