You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was planning to file this as an enhancement but just fount out the expected behaviour is actually my preference. at the moment it draws all indentation guides from left gutter to the active one, while it should (or at least I would like it to) only draw the active one. #555#637 show screenshots of the expected behaviour, but the following is what I am getting:
The text was updated successfully, but these errors were encountered:
@ThaJay technically, the behavior you are experiencing is correct. Even though your cursor is inside renderScene, it is also inside the Navigator tag, the return statement, and the top-level curly braces, which is why all those are highlighted.
All of this is controlled by your color scheme. Here is how your code looks using my Neon color scheme and XML syntax highlighting (I wasn't sure what templating language you were using...), with just "draw_active" set in the preferences and the cursor at the same point as yours was:
If we look at the source of Neon.tmTheme in the global settings section, you'll find three relevant keys: activeGuide, guide, and stackGuide:
I think what you are looking for is activeGuide - it highlights the immediate block you're in, while stackGuide highlights all of the other blocks you're in above the immediate one. (guide is the color used when "draw_all" is in your preferences, it defaults to the comment scope if not present.)
Thank you for the concise answer. I did not know this was part of themes, but you gave me everything I need to change this and ask the theme creator about it.
I knew about the 'draw_normal' + 'draw_active' option array. I do think it's a bit weird SublimeText3 does not offer the third option in the indent_guide_options setting.
I was planning to file this as an enhancement but just fount out the expected behaviour is actually my preference. at the moment it draws all indentation guides from left gutter to the active one, while it should (or at least I would like it to) only draw the active one. #555 #637 show screenshots of the expected behaviour, but the following is what I am getting:
The text was updated successfully, but these errors were encountered: