Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

[Core][Tag highlight]: To input self-closing tags should not highlight the next tag. #5337

Closed
julieyuan opened this issue Sep 25, 2013 · 5 comments

Comments

@julieyuan
Copy link

Steps:

  1. Launch Brackets and open the default index.html file.
  2. Input some self-closing tags before another tag, for example, at line 63, input tag <hr> or <br>,<input>
  3. Try input <hr/ or <br/

Results:
At step2, it will hightlight the next tag <p>.
At step3, it will insertbody> then hightlight the next tag <p>

Expected:
At step3, it should not insert anything. For both steps, it should not highlight the next tag.

ENV: MAC10.8 and Win8.1 English OS
Build: 0.32.0-9618

Snapshots:
Please refer to snapshots for details:
Step2:
screen shot 2013-09-25 at 12 31 28 am

Step3:
screen shot 2013-09-25 at 12 33 05 am

@RaymondLim
Copy link
Contributor

@julieyuan You're reporting two issues here -- the tag highlighting issue and the close tag issue. Tag highlighting issue is related to #5194 and will be fixed in the next update to CodeMirror in sprint 33. So I'll be adding Tracking label to this issue. Can you log a new issue for closing tag on "/" as it is recently introduced in sprint 31?

@julieyuan
Copy link
Author

Thanks @RaymondLim ! Filed a new issue #5353.

@RaymondLim
Copy link
Contributor

FBNC to @julieyuan. Wait for the next build with CodeMirror update to regress it.

@ghost ghost assigned julieyuan Oct 16, 2013
@julieyuan
Copy link
Author

Thanks for fixing it. I will verify this one together with #5353 once I get the latest build.

@julieyuan
Copy link
Author

It is fixed with build 0.33.0-10152. So closing it. Here is the snapshot for reference:
screen shot 2013-10-28 at 6 35 09 pm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants