ajaxorg/ace — Issue #505: Changing from CSS to HTML mode persists css type annotations
Author: btelles
Created: 2011-11-14 17:29:10+00:00
State: open

Steps to reproduce:

1. Open an editor and set the session to CssMode
2. Add a line or two of valid CSS.
3. Clear the session value.
4. Set the session to HtmlMode
5. Try to type valid HTML

Expected Result:

I see annotations for HTML errors (if any at all)

Actual Result:

I see annotations for CSS such as "Invalid token < on line 1."