>XSL Syntax Coloring

>XSL Tools syntax coloring had a bug in its implementation. The problem was that if you changed the colors in the preferences the new colors were not being honored in the editor. Only after restarting eclipse were the new settings taking affect. This is now fixed.

The problem was due to an incomplete implementation in XSL Tools of the property change listener, and updating the wrong Map table. Also of interest is a hidden gem of a class. The ChainedPreferenceStore. Using this class now correctly allows the XSL Tools editor to handle changes in either the XML Preferences or the XSL Tools preferences. Before it was only listening to the XSL Tools preference changes.

Advertisements
This entry was posted in eclipse, xml, xsl, xslt. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s