public PendingChangesView(ToolWindowWithEditor <PendingChangesView> toolWindow)
 {
     InitializeComponent();
     this._toolWindow = toolWindow;
     this.service     = BasicSccProvider.GetServiceEx <SccProviderService>();
     SetDiffCodeHightlighter();
     VSColorTheme.ThemeChanged += VSColorTheme_ThemeChanged;
     CurrentTracker             = RepositoryManager.Instance.ActiveTracker;
     RepositoryManager.Instance.ActiveTrackerChanged += Instance_ActiveTrackerChanged;
 }
Exemple #2
0
        public PendingChangesView(ToolWindowWithEditor <PendingChangesView> toolWindow)
        {
            InitializeComponent();
            this._toolWindow = toolWindow;
            this.service     = BasicSccProvider.GetServiceEx <SccProviderService>();
            SetDiffCodeHightlighter();
            VSColorTheme.ThemeChanged += VSColorTheme_ThemeChanged;
            CurrentTracker             = RepositoryManager.Instance.ActiveTracker;
            RepositoryManager.Instance.ActiveTrackerChanged += Instance_ActiveTrackerChanged;

            //Fix for bug #78  : Commit comment text field shouldn't allow formatting
            DataObject.AddPastingHandler(textBoxComments, new DataObjectPastingEventHandler(TextBoxPasting));
        }
 public PendingChangesView(ToolWindowWithEditor <PendingChangesView> toolWindow)
 {
     InitializeComponent();
     this.toolWindow = toolWindow;
     this.service    = BasicSccProvider.GetServiceEx <SccProviderService>();
 }