1.1 --- a/python.editor/src/org/netbeans/modules/python/editor/PythonSemanticHighlighter.java Sat Jun 27 22:51:19 2015 +0200
1.2 +++ b/python.editor/src/org/netbeans/modules/python/editor/PythonSemanticHighlighter.java Sat Jul 04 18:53:16 2015 +0200
1.3 @@ -136,6 +136,9 @@
1.4
1.5 @Override
1.6 public Object visitClassDef(ClassDef node) throws Exception {
1.7 + OffsetRange range = PythonAstUtils.getNameRange(info, node);
1.8 + highlights.put(range, ColoringAttributes.CLASS_SET);
1.9 +
1.10 ScopeInfo oldScope = scope;
1.11 scope = symbolTable.getScopeInfo(node);
1.12 Object ret = super.visitClassDef(node);
2.1 --- a/python.editor/src/org/netbeans/modules/python/editor/resources/fontsColors.xml Sat Jun 27 22:51:19 2015 +0200
2.2 +++ b/python.editor/src/org/netbeans/modules/python/editor/resources/fontsColors.xml Sat Jul 04 18:53:16 2015 +0200
2.3 @@ -59,7 +59,9 @@
2.4 <fontcolor name="mod-constructor" >
2.5 <font style="bold" />
2.6 </fontcolor>
2.7 - <fontcolor name="mod-class" />
2.8 + <fontcolor name="mod-class">
2.9 + <font style="bold" />
2.10 + </fontcolor>
2.11 <fontcolor name="mod-deprecated" strikeThrough="404040" />
2.12 <fontcolor name="mark-occurrences" bgColor="ECEBA3"/>
2.13