bugGNU Octave - Bugs: bug #41534, shift-tab could remove indentation...

 
 

bug #41534: shift-tab could remove indentation without requiring line selection

Submitter:  Felipe G. Nievinski <fgnievinski>
Submitted:  Sun 09 Feb 2014 08:40:10 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.8.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 12 Jun 2014 10:27:48 PM UTC, comment #6: 

yes, this issue seems resolved now, thanks.

Felipe G. Nievinski <fgnievinski>
Thu 12 Jun 2014 05:58:04 PM UTC, comment #5: 

Felipe, does John's hint help? Can the report be closed?

Torsten Lilge <ttl>
Group Member
Tue 15 Apr 2014 07:48:22 PM UTC, comment #4: 

On my windows 3.8.1 install:

with 'tab indents line' preference not  set, shift tab moved the cursor back a tab space.

with 'tab indents line' set, shift tab un-tabs the line.

John Donoghue <lostbard>
Group Member
Mon 10 Feb 2014 08:05:04 AM UTC, comment #3: 

On mac (octave-forge dmg) Shift-Tab moves the cursor back x characters (as defined in the preference pane for tab width) unless the whole line is selected in which case the line is actually unindented.

Pantxo Diribarne <pantxo>
Group Member
Sun 09 Feb 2014 09:07:23 PM UTC, comment #2: 

must be windows-specific then.

Felipe G. Nievinski <fgnievinski>
Sun 09 Feb 2014 08:55:42 PM UTC, comment #1: 

When the cursor is before the beginning of the indented line, Shift-Tab unindents the line on my system (Ubuntu Unity). I do not need to select the line. Or do I misunderstand your report?

Torsten Lilge <ttl>
Group Member
Sun 09 Feb 2014 08:40:10 PM UTC, original submission:  

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)


Felipe G. Nievinski <fgnievinski>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by fgnievinski (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-06-13 ttl StatusNeed Info Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2014-06-12 ttl StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code