Skip to content
  • Leandro Melo's avatar
    Editors: Enhance smart backspace behavior · 3b0a4380
    Leandro Melo authored
    Adds a new smart backspace behavior option. Now it's also possible
    to simply unindent (like a backtab). This is particularly useful
    when the cursor is not inside an "indentation area" but the user
    still wants to go backwards by indent levels when possible (for
    example before a comment that appears after the code line). The
    option also allows the user to reach a new indent level which has
    not been seen so far in previous lines.
    
    The original follows indentation user setting will be lost with this
    patch, but we consider this ok for not very "significant" settings.
    
    Change-Id: I49efb6b0309d9b7d7ff2a589413446bc16fb753c
    Reviewed-on: http://codereview.qt.nokia.com/3105
    
    
    Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
    Reviewed-by: default avatarRobert Löhning <robert.loehning@nokia.com>
    Reviewed-by: default avatarhjk <qthjk@ovi.com>
    3b0a4380