Uploaded image for project: 'Wiki Editor Tools'
  1. Wiki Editor Tools
  2. WIKIEDITOR-55

Smart indent (shift+tab) for python code results in bad indentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 4.1
    • Syntax Highlighting
    • None
    • Unknown

    Description

      When selecting a piece of python script and pressing SHIFT+TAB, the indentation of the selected code will not respect its initial goal (i.e. will not be preserved relative to its inial state).

      Caused by a bug in upstream CodeMirror's python.js mode, still open even in the current 5.33 version.

      Until the upstream project or we manage to find a solution, the workaround would be to simply not use the SHIFT+TAB feature and manually handle deindentation, where needed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            enygma Eduard Moraru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: