Browse Source

Changed the order that highlighting definitions are loaded by the text editor so that those in the user profile are loaded last and therefore override any defined in the data\modes folder or in any .addin files.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2989 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Matt Ward 18 years ago
parent
commit
fadb5ffd20
  1. 2
      src/Main/Base/Project/Src/TextEditor/Gui/Editor/TextEditorDisplayBinding.cs

2
src/Main/Base/Project/Src/TextEditor/Gui/Editor/TextEditorDisplayBinding.cs

@ -30,8 +30,8 @@ namespace ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor @@ -30,8 +30,8 @@ namespace ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor
}
HighlightingManager.Manager.AddSyntaxModeFileProvider(new ICSharpCode.SharpDevelop.DefaultEditor.Codons.AddInTreeSyntaxModeProvider());
HighlightingManager.Manager.AddSyntaxModeFileProvider(new FileSyntaxModeProvider(modeDir));
HighlightingManager.Manager.AddSyntaxModeFileProvider(new FileSyntaxModeProvider(Path.Combine(PropertyService.DataDirectory, "modes")));
HighlightingManager.Manager.AddSyntaxModeFileProvider(new FileSyntaxModeProvider(modeDir));
}
/// <summary>

Loading…
Cancel
Save