This issue seems to be solved in libgtksourceview2 3.0. Thank you!
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtksourceview2 in Ubuntu.
https://bugs.launchpad.net/bugs/764577
Title:
Wrong CSS highlighting for selector names that can also be value
keywords
Status in “gtksourceview2” package in Ubuntu:
New
Bug description:
Using libgtksourceview2 2.26.0-2ubuntu1 with Ubuntu 10.04.
It seems as if gtk-source-view performs a mere search for strings without
regard to context.
In the case of a selector name: if you choose a name that can also be a
property value it will be highlighted as if it were a property value and not
like any other arbitrary selector name. Examples:
span.class1 { padding: 0; } /* This is the regular highlighting of a
selector */
pre.class2 { margin: 0; } /* The keyword 'pre' can also be a property
value and thus is highlighted as such */
div.bottom { margin: 0; } /* The keyword 'bottom' can also be a property
value and thus is highlighted as such */
div.hover { text-align: left; } /* The keyword 'hover' can also be a name
for a pseudo-class */
div.lang { margin: 0; } /* The keyword 'lang' can also be an attribute
of a selector */
div.white { padding:0; } /* The keyword 'white' can also be a color value
*/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtksourceview2/+bug/764577/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp