octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #9762] Don't select the '.m' extension whe


From: Mike Miller
Subject: [Octave-patch-tracker] [patch #9762] Don't select the '.m' extension when double clicking on a file name in terminal window
Date: Wed, 6 Mar 2019 13:09:22 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36

Follow-up Comment #1, patch #9762 (project octave):

Can you explain the use case for this? Is this to support the user running
'dir' or 'ls' and being able to copy by double-clicking and paste the function
name back into the terminal or the editor?

This seems like a very narrow case to make such a strange exception for. Any
other file name double-clicked will select the entire file name. It looks very
odd that only one file extension is excluded. If the file name is selected in
the File Browser panel, right click, and choose "Copy Selection to Clipboard",
it copies the entire file name. It seems far better to be completely
consistent.

Also, double-clicking on the file name and then dragging while still holding
the second click, normally allows multiple words to be selected. With this
patch applied, after dragging, suddenly the ".m" is included in the
selection.

I think we want to reduce the special cases in our fork of libqterminal so
that we may eventually link with the upstream libqterminal library, if that
happens before the Command Window is rewritten to not be a terminal anymore.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?9762>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]