Community
Participate
Working Groups
- start with: <script> </script> <a> <b> - select from the very end of the first line to somewhere within the <a> tag and press Delete -> the <b> tag styling does not get changed as a result, but it should since it is now considered to be within a JS block - this happens because a LineStyle event is not received from the TextView for its line - putting the caret on this line updates its styling appropriately
Forgot to mention: the test file should have an .html extension.
Still happens in the latest.
Note that the issue seems to depend on the incorrect line being the last (semantic?) one in the file. I tried this scenario by pasting the given snippet at the beginning of an existing HTML file and the issue doesn't manifest (but does if the snippet is the only text in the file). Also noticed that if I add another <a> at the end of the snippet then the scenario leaves both the <b> and the new <a> in the same (incorrect) state.