Project: aptanastudio
Issue APSTUD-7474: Studio: Editor: Sass fold markers miss the last line while folding
While testing All-Editor Acceptance SASS.2001 I ran into this issue, when folding nodes in Windows the fold misses the last line of the fold area (one line folds do not fold). Icon in the gutter changes to show a folded area. This is a regression as this functionally previously worked and works on Mac and Ubuntu. Steps to reproduce: 1. Create a SASS file with the following code in it: {code} $blue: #3bbfce; $margin: 16px; .content-navigation { border-color: $blue; } .border { padding: $margin /2; margin: $margin /2; border-color:$blue; } /* style.scss */ .fakeshadow { border: { style: solid; left: { width: 4px; color: #888; } right: { width: 2px; color: #ccc; } } {code} 2. Attempt to fold line 4, 8 or 16 Expected result: Editor should fold on the given line grabbing all node text to hide. Actual result: The final line is not grabbed while the rest is hidden, in the case of line 4 nothing is folded as it is a single line.
Story points: 5