[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41534] shift-tab could remove indentation wit
From: |
Felipe G. Nievinski |
Subject: |
[Octave-bug-tracker] [bug #41534] shift-tab could remove indentation without requiring line selection |
Date: |
Sun, 09 Feb 2014 20:40:11 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?41534>
Summary: shift-tab could remove indentation without requiring
line selection
Project: GNU Octave
Submitted by: fgnievinski
Submitted on: Sun 09 Feb 2014 08:40:10 PM GMT
Category: GUI
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Feature Request
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.8.0
Operating System: Any
_______________________________________________________
Details:
in the editor current line
some pointers:
SCI_BACKTAB
<https://bitbucket.org/tortoisehg/thg/issue/82/allow-shift-tab-to-un-indent>:
"Apparently Scintilla's default behavior is correct, but Qt's wrapper for the
widget steals the keypresses."
<https://bitbucket.org/tortoisehg/thg/commits/367c63b055a0>:
+ elif event.key() == Qt.Key_Backtab:
+ event.ignore()
+ newev = QKeyEvent(event.type(), Qt.Key_Tab, Qt.ShiftModifier)
+ super(MessageEntry, self).keyPressEvent(newev)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41534>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41534] shift-tab could remove indentation without requiring line selection,
Felipe G. Nievinski <=