-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Cannot open a less file with the following content. #6057
Comments
@peterflynn narrow it down to the following minimal css code.
And it reproduces in sprint 34, but not in sprint 33. So it should be a show-stopper for EC release. |
I'll look into this for now. |
Looks like this is a bug in the LESS mode which is fixed in the current upstream master, probably by codemirror/codemirror5@464dd7b and codemirror/codemirror5@8c42f65. It's too late for the current Brackets sprint, but for EC we'll need to decide whether to try to roll less.js backward, roll it forward, or (probably unlikely at this point) take the latest CodeMirror. |
Confirmed fixed. |
I've updated to the S35 experimental and I've faced the problem again. It happens when I write a dot in some .less file... |
Tried with the less.js from the Sprint 33 and everything seems to work fine. Will keep you updated. |
Result: You can't. If it is already in the working set, it shows up nothing in the editor. And if you start selecting another file in the project tree, either the file content shows up in the editor somewhere in the middle of the page. ie. line number 1 starts somewhere in the middle of the window and leaving some spaces above. And if you try to click test.less in the project tree, the selection highlight goes to the file above test.less.
The text was updated successfully, but these errors were encountered: