Index: gc_lang/fr/oxt/Lexicographer/Enumerator.py ================================================================== --- gc_lang/fr/oxt/Lexicographer/Enumerator.py +++ gc_lang/fr/oxt/Lexicographer/Enumerator.py @@ -294,10 +294,11 @@ elif sAction == "nounderline": xCursor.CharBackColor = hexToRBG("FFFFFF") elif sAction == "accentuation": xCursor.CharStyleName = "Emphasis" elif sAction == "noaccentuation": - xCursor.CharStyleName = "" + #xCursor.CharStyleName = "Default Style" # doesn’t work + xCursor.setPropertyToDefault("CharStyleName") #g_ImplementationHelper = unohelper.ImplementationHelper() #g_ImplementationHelper.addImplementation(Enumerator, 'net.grammalecte.enumerator', ('com.sun.star.task.Job',))