SubEthaEdit icon indicating copy to clipboard operation
SubEthaEdit copied to clipboard

Add the ability to outdent a block (feature request)

Open rovf opened this issue 1 month ago • 3 comments

Currently I can mark a block of text and

  • press the tab-key to move the block one tab position to the right, or
  • press control-I to "re-indent" the block, i.e. to realign it with the surrounding block.

I also would appreciate a function (for instance triggered by shift + tab-key) which unconditionally moves the block one tab position to the left.

rovf avatar Nov 04 '25 13:11 rovf

Environment

  • SubEthaEdit: Version 5.2.4 (9810)
  • System: Version 12.7.3 (Build 21H1015)
  • Language: English
Hardware:

    Hardware Overview:

      Model Name: MacBook Pro
      Model Identifier: MacBookPro13,3
      Processor Name: Quad-Core Intel Core i7
      Processor Speed: 2,6 GHz
      Number of Processors: 1
      Total Number of Cores: 4
      L2 Cache (per Core): 256 KB
      L3 Cache: 6 MB
      Hyper-Threading Technology: Enabled
      Memory: 16 GB
      System Firmware Version: 526.0.0.0.0
      OS Loader Version: 540.120.3~37
      SMC Version (system): 2.38f12
      Serial Number (system): C02SR9DPGTFL
      Hardware UUID: 60689293-00C6-5807-82CD-136C291308E8
      Provisioning UDID: 60689293-00C6-5807-82CD-136C291308E8

rovf avatar Nov 04 '25 13:11 rovf

Shift-tab should do exactly what you want (alternatively cmd-[ ), can you give me more concrete repro steps?

monkeydom avatar Nov 17 '25 10:11 monkeydom

Shift-TAB doesn't seem to be assigned to any function.

Example:

I start with an empty file (Document mode "Default"), and hit the tab key followed by the letter x.

I get the x shifted to the right to the tab position which I have configured in the preferences (i.e. every 2 spaces).

Pressing Shift-Tab in the line does not change anything.

I'm not sure how to produce a

cmd-[

since I don't have a key with an open bracket. I ususally produce a [ by doing option-5, so I treid option-cmd-5 in the hope that this woud yield cmd-[ (probably not, because for the Mac, this is a completely different key combination).

Do you have a way to let me show which function a certain key combination is bound to?

Ronald

On Mon, Nov 17, 2025, at 11:46, Dominik Wagner wrote:

monkeydom left a comment (subethaedit/SubEthaEdit#256) https://github.com/subethaedit/SubEthaEdit/issues/256#issuecomment-3541113006 Shift-tab should do exactly what you want (alternatively cmd-[ ), can you give me more concrete repro steps?

— Reply to this email directly, view it on GitHub https://github.com/subethaedit/SubEthaEdit/issues/256#issuecomment-3541113006, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT3DEMJAKJ45ATP5VOBVOD35GRQ5AVCNFSM6AAAAACLDDEE42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTKNBRGEYTGMBQGY. You are receiving this because you authored the thread.Message ID: @.***>

-- Ronald Fischer @.***>

rovf avatar Nov 17 '25 11:11 rovf