1

Closed

Typing an "=" in an attribute name causes TreeStructureChanged flag to trigger

description

When typing an attribute in HTML, for example: id="foo", the editor parser sets the "TreeStructureChanged" flag for the "=" and for the insertion of the quotation marks ("). Ideally, none of these should cause a tree structure change, and we should not set the flag at all. At least, we should try to avoid setting the flag when the "=" is typed.

The impact of this is that editors have to unnecessarily reset their projections when we set this flag, and that causes a typing delay.

Identified by WebMatrix Editor team. Created from WebMatrix Bug# 37111
Closed Apr 19 at 6:01 PM by yishaigalatzer
Closing as current typing performance is reasonable.

If new plans arise to work on parser perf, we will scrub the bugs to look into this.

comments