Skip to content

Some minor optimizations to theme handling and removal of a shared definition in format

Jonathan Poelen requested to merge jpoelen/syntax-highlighting:no_shared into master

Format::defRef is only used to retrieve the name of the definition to be searched in the theme. The last commit replaces defRef with defName, which has the side effect of making Format always valid, even when the definition is deleted. This can be "fixed" by doing a defName.clear() when formats in DefinitionData are deleted. I don't think this is important, so I didn't do it.

Merge request reports