History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-15678
Type: Bug Bug
Status: Open Open
Assignee: Alexey Kudravtsev
Reporter: Johan Lund
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Syntax highligting flickers on and off in xml

Created: 12 Oct 07 15:36   Updated: 22 Oct 07 15:43
Component/s: XML editing, JavaScript

File Attachments: 1. XML File AnimationTest1.xml (12 kb)
2. XML File JLDlgTest.xml (1 kb)
3. XML File JLDlgTest.xml (0.8 kb)


Build: 7,346
Severity: High


 Description  « Hide
This happens in language injected code in xml. I have some JavaScript inside a CDATA tag
Each character change I make to the xml document causes syntax highlighting in the JavaScript to flicker on and off in the whole document.

I am not using IntelliLang here...



 All   Comments   Work Log   Change History      Sort Order:
Johan Lund - 22 Oct 07 14:02
This is odd (in a good way).
I noticed that the file I was working on did not flicker.
Apparently only some files exhibit this flickering behavior.

I attached the non flickering file here also.


Johan Lund - 22 Oct 07 15:43
Ok, now I have managed to isolate the problem down to one single statement that causes the flickering.

I uploaded a new version of JLDlgTest.xml.
It flickers while typing. Remove lines 39 and 40 and the flickering goes away.
You must remove them. Commenting them out does not help.