Problem 1497 - Qt interface: allow pasting multiple lines
Summary: Qt interface: allow pasting multiple lines
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: visualization (show other problems)
Version: 9.6
Hardware: All All
: P5 enhancement
Assignee: garnier
URL:
Depends on:
Blocks:
 
Reported: 2013-07-17 04:59 CEST by Mojca Miklavec
Modified: 2013-08-08 18:00 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Mojca Miklavec 2013-07-17 04:59:39 CEST
When entering commands into "Session:" into Qt window, it would be very nice if one was able to copy-paste multiple lines of text at once.

At the moment it is not even possible to paste single lines with a trailing newline character (for example "/vis/drawVolume" errors out with "command not found" if the copied text included the newline).

I like copying single chunks of code (several lines) instead of storing those commands to a file first. This works in terminal mode when newline is equivalent of "return", but in Qt errors appear when trying to copy-paste multiple commands at once.
Comment 1 garnier 2013-08-08 11:09:31 CEST
Ok, it works fine for tcsh because each "carriage return" trigger a new command. In Qt that is not the case for the moment, but we can do this.
Comment 2 Mojca Miklavec 2013-08-08 18:00:43 CEST
Thank you very much for fixing this. Is it possible to see the patch, so that I can apply it myself locally until the next version of 9.6/10.0 gets released?

Mojca