Bad Indentation for Line of Code

Paul Solt's Avatar

Paul Solt

11 Apr, 2018 03:11 PM

For some reason one of my lines is indenting a ton, for just two "tabs"

I've tried cleaning the list, and re-writing to no avail.

  1. Support Staff 1 Posted by Fletcher on 12 Apr, 2018 12:06 AM

    Fletcher's Avatar

    You have trailing tabs on each of the subsequent two lines, triggering the elastic tabstops feature. Delete the extraneous tabs, and all is well.

    Fletcher

  2. Fletcher closed this discussion on 12 Apr, 2018 12:06 AM.

  3. Paul Solt re-opened this discussion on 13 Apr, 2018 08:25 PM

  4. 2 Posted by Paul Solt on 13 Apr, 2018 08:25 PM

    Paul Solt's Avatar

    Thanks that fixes it. I removed the extra tabs on the following line.

    I didn't realize "elastic tabstops" was causing it... I was re-writing everything above the line, not thinking that stuff below the line could cause an issue.

    I guess I don't know exactly what that feature is. =)

  5. Support Staff 3 Posted by Fletcher on 13 Apr, 2018 10:48 PM

    Fletcher's Avatar

    The "inventor's" page describes it better than I could:

    http://nickgravgaard.com/elastic-tabstops/

    F-

  6. Fletcher closed this discussion on 17 Apr, 2018 04:24 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac