#742 Cannot unindent without selection

None
closed
nobody
keys (1)
1
2014-08-18
2014-07-08
Anonymous
No

Ubuntu 14.04 64bit all official updates as of Jul 7, 2014
texstudio-2.8.0-1~ppa3~trusty from https://launchpad.net/~blahota/+archive/texstudio/
texlive 2013 manual installation, updated frequently with tlmgr

There's a few problems with backtab support that I can see:

  1. The default shortcut for Unindent selection is Shift+Backtab, but it should read "Shift+Tab" or "Backtab"
  2. The only behavior I can find similar to a typical programmers backtab is "Delete left character". This has obvious disadvantages if spaces are used instead of tab characters.
  3. I can only assign Shift+Backtab to one behavior, "Delete left character" or "Unindent selection". If I leave it as the default key binding of "Unindent selection", then when no text is highlighted, backtab moves focus out of the editor and to the little bookmark shortcut icons in the bottom right of the window. I would instead expect backtab to remove either a tab or the equivalent in spaces from the left of my cursor iff my cursor is at the start of text on a line (i.e. to replicate common behavior in programming notepads like sublime-text or even gedit).
2 Attachments

Discussion

  • Matt Mower
    Matt Mower
    2014-07-08

    I didn't mean to post that anonymously. I am the reporter.

     
  • Ticket moved from /p/texstudio/bugs/1039/

     
  • Matt Mower
    Matt Mower
    2014-08-18

    Now using version: 2.8.2-1~ppa1~trusty

    There is another issue that is related to #2 of this report. If I assign Delete left character to more than one key (requires multiple entries since the Default Shortcut and Additional Shortcut fields are disabled for Basic Key Mapping), then after restarting the program, the additional entries created for Delete left character are removed. They only seem to work for the session in which they are applied and then TeXstudio deletes what it deems "duplicates" at startup.

    Beyond unindenting, this also affects my ability to keep holding shift while pressing backspace to delete characters.

     
  • please,please, don't put everything into one request.
    The rule should be "one bug/feature per request"

    duplicate issue is fixed in repository

     
  • shift+tab fixed

     
    • status: open --> closed
    • Group: -->