adobe/brackets — pull request #2136 by gruehle (2012-11-16 17:20:55+00:00)
Title: Add Preview Highlight functionality

This pull request adds a new "Preview Highlight" feature. When enabled, putting the cursor in a CSS rule will highlight all instances of that rule in the Live Preview browser. This highlighting is only done if a Live Preview connection has been established.

**Menu Item**
There is a new _File > Enable Live Highlight_ menu item, which is checked by default. This setting is stored in prefs and is remembered across launches.

**Highlighting**
The highlighting is done by overlaying a styled `

` element on top of the element being highlighted. The highlight div is updated whenever the window is resized, any div is scrolled, or the contents of the style rule have changed.

**Limitations**
Highlighting only works from .CSS files open in the main editor. There is a separate backlog story to make it work in `