[Core][New Rule]: Incorrect behavior on css inline editor when creating a new rule. #6371

julieyuan opened this Issue Jan 6, 2014 · 1 comment


None yet

2 participants



  1. Launch Brackets and open the default sample file index.html.
  2. Right click the tag <p> and select Quick Edut.
  3. Click the button New Rule to create a new rule for tag <p>
  4. Close the inline css editor for tag <p>
  5. Reopen the inline css editor for tag <p>
  6. Open main.css file and toggle comments for keyframes
  7. Repeat step 2-4.

At step5, on the css inline editor for tag <p>, it shows an extra }(line 74 on main.css file).
At step7, it shows the comments on the css inline editor.

There is no extra } at step5 and no comments at step7.

ENV: MAC10.8 and Win8.1 English OS
Build: 0.36.0-10979(Win OS) and 0.36.0-10941(Mac OS)

Please refer to snapshots for details:
new rule
new rule-2

@njx njx was assigned Jan 13, 2014
njx commented Jan 13, 2014

To me, low priority. In general I think we should be properly adjusting the start of the inline editor when lines are added above, but it could be that this is doing a more complex edit that we're not properly dealing with.

@njx njx added the F Quick Edit label Jul 10, 2014
@njx njx removed their assignment Jul 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment