Modified SourceViewerConfigurationGenerator to cache the token scanner
in generated SourceViewerConfigurations to improve performance