public override void Attach(ITextEditor editor)
		{
			foldingManager = new XmlFoldingManager(editor);
			foldingManager.UpdateFolds();
			foldingManager.Start();
			
			base.Attach(editor);
		}
Example #2
0
		public override void Attach(ITextEditor editor)
		{
			// HACK: disable SharpDevelop's built-in folding
			codeEditorView = editor.GetService(typeof(AvalonEdit.TextEditor)) as AvalonEdit.AddIn.CodeEditorView;
			DisableParseInformationFolding();
				
			foldingManager = new XmlFoldingManager(editor);
			foldingManager.UpdateFolds();
			foldingManager.Start();
			
			base.Attach(editor);
		}
        public override void Attach(ITextEditor editor)
        {
            // HACK: disable SharpDevelop's built-in folding
            codeEditorView = editor.GetService(typeof(AvalonEdit.TextEditor)) as AvalonEdit.AddIn.CodeEditorView;
            DisableParseInformationFolding();

            foldingManager = new XmlFoldingManager(editor);
            foldingManager.UpdateFolds();
            foldingManager.Start();

            base.Attach(editor);
        }
Example #4
0
		public virtual void Attach(ITextEditor editor)
		{
			foldingManager = new XmlFoldingManager(editor);
			foldingManager.UpdateFolds();
			foldingManager.Start();
		}
 public virtual void Attach(ITextEditor editor)
 {
     foldingManager = new XmlFoldingManager(editor);
     foldingManager.UpdateFolds();
     foldingManager.Start();
 }