[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #8534] For GUI undo, send Cntrl-U to Readl
From: |
Dan Sebald |
Subject: |
[Octave-patch-tracker] [patch #8534] For GUI undo, send Cntrl-U to Readline rather than callback command_editor. |
Date: |
Fri, 19 Sep 2014 00:18:04 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15 |
Follow-up Comment #4, patch #8534 (project octave):
+quote+
I just realized the current implementation has two "undo"s. That is, the
"Cntrl-z" shortcut and the green undo arrow behave differently. Type this:
-quote-
Nope, I was wrong on that. The two undos behave the same and I put a printf
in the callback routine to verify cntrl-z is using the function.
What I don't like about hardcoding Cnrl-Z and undo is that no other window can
have its form of undo. Maybe that's not a problem, but it sure seems like
"Undo" should change context with focus.
I'm wondering if the best option is to have an option for Readline-only
bindings and Qt-only bindings for the focused terminal window. If control
characters go to Readline, then maybe change the window title to "Command
Window (readline)", whereas if control characters go to Qt, the the window
title is "Command Window".
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?8534>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-patch-tracker] [patch #8534] For GUI undo, send Cntrl-U to Readline rather than callback command_editor., Dan Sebald, 2014/09/13
- [Octave-patch-tracker] [patch #8534] For GUI undo, send Cntrl-U to Readline rather than callback command_editor., Torsten, 2014/09/16
- [Octave-patch-tracker] [patch #8534] For GUI undo, send Cntrl-U to Readline rather than callback command_editor., Mike Miller, 2014/09/16
- [Octave-patch-tracker] [patch #8534] For GUI undo, send Cntrl-U to Readline rather than callback command_editor., Dan Sebald, 2014/09/18
- [Octave-patch-tracker] [patch #8534] For GUI undo, send Cntrl-U to Readline rather than callback command_editor.,
Dan Sebald <=
- [Octave-patch-tracker] [patch #8534] For GUI undo, send Cntrl-U to Readline rather than callback command_editor., Torsten, 2014/09/19
- [Octave-patch-tracker] [patch #8534] For GUI undo, send Cntrl-U to Readline rather than callback command_editor., Dan Sebald, 2014/09/19