|
|
|
|
@ -25,8 +25,6 @@ namespace ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor
@@ -25,8 +25,6 @@ namespace ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor
|
|
|
|
|
// but this will do
|
|
|
|
|
static TextEditorDisplayBinding() |
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
string modeDir = Path.Combine(PropertyService.ConfigDirectory, "modes"); |
|
|
|
|
if (!Directory.Exists(modeDir)) { |
|
|
|
|
Directory.CreateDirectory(modeDir); |
|
|
|
|
@ -56,7 +54,6 @@ namespace ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor
@@ -56,7 +54,6 @@ namespace ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor
|
|
|
|
|
b2.textAreaControl.Document.HighlightingStrategy = HighlightingStrategyFactory.CreateHighlightingStrategyForFile(fileName); |
|
|
|
|
b2.textAreaControl.InitializeAdvancedHighlighter(); |
|
|
|
|
b2.textAreaControl.InitializeFormatter(); |
|
|
|
|
b2.ForceFoldingUpdate(); |
|
|
|
|
b2.textAreaControl.ActivateQuickClassBrowserOnDemand(); |
|
|
|
|
|
|
|
|
|
return b2; |
|
|
|
|
@ -386,6 +383,7 @@ namespace ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor
@@ -386,6 +383,7 @@ namespace ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor
|
|
|
|
|
mark.Document = textAreaControl.Document; |
|
|
|
|
textAreaControl.Document.BookmarkManager.Marks.Add(mark); |
|
|
|
|
} |
|
|
|
|
ForceFoldingUpdate(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Properties CreateMemento() |
|
|
|
|
|