-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Switching Tab Size to 2 does not insert a tab size of two consistently. #7218
Comments
I tried with sprint 33 build and can't reproduce the issue. So this must be introduced with the new preference model. Set it to medium priority for now even though I think it can be high priority since users may not be aware of the inconsistent behavior of the preference change and may unwittingly mess up their documents. |
Good catch! I think part of the problem may be due to this code:
I don't think there is any conflict between those settings so they should always be set. For example, you can have |
@redmunds That code is fine. It is there because we use 3 settings ( |
FWIW, someone on Twitter mentioned some inconsistency in tab/space insertion as well a couple weeks ago, but didn't have repro steps. |
I can fix this, unless you want it @redmunds since you're already working in this area. |
@dangoor I had a hunch that appears to be wrong -- it's all yours. |
Oh, reading Raymond's original report more closely, this is not the issue I was thinking it was. It is likely unrelated to the prefs system (as I was initially thinking it would be as well). That's okay, I can still see if I can figure out what's going on. |
Reassign it to myself since I found the real cause and the fix. |
Thanks Raymond |
Fixed by filer, closing |
Note that you need to follow all the steps exactly to see the issue.
Show Whitespace is checked.
If you switch project, then insert tab will be working correctly. That is, it will now insert a tab that takes two spaces for each tab key.
The text was updated successfully, but these errors were encountered: