stefanceriu / SCXcodeMiniMap

Sublime Text like Minimap for Xcode
GNU General Public License v3.0
1.03k stars 87 forks source link

MiniMap over-expands tabs #12

Closed cbowns closed 10 years ago

cbowns commented 11 years ago

One tab seems to be expanding to 40 spaces in the MiniMap. These two lines in the source code are indented differently:

sharedMinimap = [[self alloc] init];
                                    //ATESTCOMMENT

The source view: Code screenshot

In the MiniMap, you can see that sharedMinimap is aligned with the test comment: MiniMap

(The NSNotificationCenter lines are useful for aligning context.)

I noticed this on a project I'm on that uses tabs for indentation. Spaces seem to work fine (as "atestcomment" shows)

KorvinSzanto commented 10 years ago

I definitely see this as well.