FLTK logo

STR #3074

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 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

Return to Bugs & Features | Roadmap 1.3 | Post Text | Post File | SVN ⇄ GIT | Prev | Next ]

STR #3074

Application:FLTK Library
Status:5 - New
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:Patch for Browser supporting copy to clipboard of selected lines
Created By:chris
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size  
#1 chris
03:59 Apr 30, 2014

Trouble Report Comments:

Post Text ]
Name/Time/Date Text  
#1 chris
03:58 Apr 30, 2014
This simple patch allows copying all selected lines in an Fl_Browser (and subclasses) to the clipboard with shortcut key Ctrl-C.

The text of all selected lines is concatenated in a buffer and written to the clipboard.

I guess copy-from-clipboard could be implemented pretty easy too, but is not included in this patch.
#2 greg.ercolano
15:11 Oct 28, 2017
Would be good as a configurable option I think, so as not to break
existing apps that use an Fl_Browser and already overload ^C.

Perhaps Fl_Browser_::clipboard_copy(bool) to enable this feature,
or some such.

Open to suggs from OP and devs. Such a method could be useful for other
widgets that could use such an option.. Fl_Tree and Fl_Table come to mind.

Return to Bugs & Features | Post Text | Post File ]


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'.