Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Krüger <mkrueger@xamarin.com>2011-10-27 12:37:14 +0400
committerMike Krüger <mkrueger@xamarin.com>2011-10-27 12:37:14 +0400
commit3159046ae308ad65e1c7e24f245f10b1d76f4620 (patch)
treecd2cb4cf831c9468a50f5e0aa91a7772bd2026af /main/src/addins/MonoDevelop.SourceEditor2
parent5ba64e4f967e49c0ddc96179fe919a0837463e27 (diff)
Re-enabled semantic highlighting.
Diffstat (limited to 'main/src/addins/MonoDevelop.SourceEditor2')
-rw-r--r--main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor.OptionPanels/HighlightingPanel.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor.OptionPanels/HighlightingPanel.cs b/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor.OptionPanels/HighlightingPanel.cs
index 92242c8e4b..37f004ad82 100644
--- a/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor.OptionPanels/HighlightingPanel.cs
+++ b/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor.OptionPanels/HighlightingPanel.cs
@@ -70,8 +70,7 @@ namespace MonoDevelop.SourceEditor.OptionPanels
this.buttonNew.Clicked += HandleButtonNewClicked;
this.buttonExport.Clicked += HandleButtonExportClicked;
this.enableHighlightingCheckbutton.Active = DefaultSourceEditorOptions.Instance.EnableSyntaxHighlighting;
- this.enableSemanticHighlightingCheckbutton.Hide ();
-// this.enableSemanticHighlightingCheckbutton.Active = DefaultSourceEditorOptions.Instance.EnableSemanticHighlighting;
+ this.enableSemanticHighlightingCheckbutton.Active = DefaultSourceEditorOptions.Instance.EnableSemanticHighlighting;
this.enableHighlightingCheckbutton.Toggled += EnableHighlightingCheckbuttonToggled;
this.styleTreeview.Selection.Changed += HandleStyleTreeviewSelectionChanged;
EnableHighlightingCheckbuttonToggled (this, EventArgs.Empty);
@@ -240,13 +239,13 @@ namespace MonoDevelop.SourceEditor.OptionPanels
void EnableHighlightingCheckbuttonToggled (object sender, EventArgs e)
{
-// this.enableSemanticHighlightingCheckbutton.Sensitive = this.enableHighlightingCheckbutton.Active;
+ this.enableSemanticHighlightingCheckbutton.Sensitive = this.enableHighlightingCheckbutton.Active;
}
public virtual void ApplyChanges ()
{
DefaultSourceEditorOptions.Instance.EnableSyntaxHighlighting = this.enableHighlightingCheckbutton.Active;
-// DefaultSourceEditorOptions.Instance.EnableSemanticHighlighting = this.enableSemanticHighlightingCheckbutton.Active;
+ DefaultSourceEditorOptions.Instance.EnableSemanticHighlighting = this.enableSemanticHighlightingCheckbutton.Active;
TreeIter selectedIter;
if (styleTreeview.Selection.GetSelected (out selectedIter)) {
ColorSheme sheme = ((Mono.TextEditor.Highlighting.ColorSheme)this.styleStore.GetValue (selectedIter, 1));