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

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

[Octave-bug-tracker] [bug #49571] Command-c and command-v aren't default


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #49571] Command-c and command-v aren't default cut/paste in editor (and command-v doesn't work even when changed in preferences)
Date: Thu, 21 Sep 2017 18:17:28 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #19, bug #49571 (project octave):

Could this patch be just the one line change


diff --git a/libgui/src/m-editor/octave-qscintilla.cc
b/libgui/src/m-editor/octave-qscintilla.cc
--- a/libgui/src/m-editor/octave-qscintilla.cc
+++ b/libgui/src/m-editor/octave-qscintilla.cc
@@ -156,7 +156,7 @@ octave_qscintilla::octave_qscintilla (QW
     }
 #endif
 
-#if defined (Q_OS_MAC)
+#if (QT_VERSION <= 0x050000) && defined (Q_OS_MAC)
   // Octave interprets Cmd key as Meta whereas Qscintilla interprets it
   // as Ctrl. We thus invert Meta/Ctrl in Qscintilla's shortcuts list.
   QList< QsciCommand * > cmd_list_mac = cmd_set->commands ();


?  John Swensen's patch removed this code unconditionally.  I'm just proposing
that it only be used on Mac systems with Qt versions less than 5.0.  Comments?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49571>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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