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: Thu, 7 Mar 2019 14:40:05 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36

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

Terminal emulators typically define a set of "word characters", which is the
set of punctuation characters that are considered to be part of a contiguous
"word" when double clicking on some text.

The qterminal default set of word characters is ":@-./_~" and Octave doesn't
change that from the default. So "." is included in words. This is primarily
for compatible behavior with other terminal widgets, so double clicking will
behave the same in Octave, in gnome-terminal, in konsole, or in rxvt.

It would be easy to remove "." from the set by simply calling
setWordCharacters (":@-/_~"), but then Octave would behave differently from
almost every other terminal emulator's defaults. We could add this as a user
preference like other terminals do.

    _______________________________________________________

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]