Esempio n. 1
0
        public BlameControl()
        {
            InitializeComponent();
            InitializeComplete();

            BlameCommitter.IsReadOnly = true;
            BlameCommitter.EnableScrollBars(false);
            BlameCommitter.ShowLineNumbers         = false;
            BlameCommitter.HScrollPositionChanged += BlameCommitter_HScrollPositionChanged;
            BlameCommitter.VScrollPositionChanged += BlameCommitter_VScrollPositionChanged;
            BlameCommitter.MouseMove           += BlameCommitter_MouseMove;
            BlameCommitter.MouseLeave          += BlameCommitter_MouseLeave;
            BlameCommitter.SelectedLineChanged += SelectedLineChanged;
            BlameCommitter.RequestDiffView     += ActiveTextAreaControlDoubleClick;
            BlameCommitter.EscapePressed       += () => EscapePressed?.Invoke();

            BlameFile.IsReadOnly              = true;
            BlameFile.VScrollPositionChanged += BlameFile_VScrollPositionChanged;
            BlameFile.SelectedLineChanged    += SelectedLineChanged;
            BlameFile.RequestDiffView        += ActiveTextAreaControlDoubleClick;
            BlameFile.MouseMove     += BlameFile_MouseMove;
            BlameFile.EscapePressed += () => EscapePressed?.Invoke();

            CommitInfo.CommandClicked += commitInfo_CommandClicked;
        }
Esempio n. 2
0
        public BlameControl()
        {
            InitializeComponent();

            BlameCommitter.IsReadOnly = true;
            BlameCommitter.EnableScrollBars(false);
            BlameCommitter.ShowLineNumbers = false;
            BlameFile.ScrollPosChanged    += BlameCommitter_ScrollPosChanged;
            BlameFile.IsReadOnly           = true;
            BlameFile.SelectedLineChanged += BlameFile_SelectedLineChanged;

            BlameFile.RequestDiffView += ActiveTextAreaControlDoubleClick;

            BlameFile.MouseMove  += new MouseEventHandler(BlameFile_MouseMove);
            BlameFile.MouseLeave += new EventHandler(BlameFile_MouseLeave);
            //BlameFile.MouseHover
        }
Esempio n. 3
0
        public BlameControl()
        {
            InitializeComponent();
            Translate();

            BlameCommitter.IsReadOnly = true;
            BlameCommitter.EnableScrollBars(false);
            BlameCommitter.ShowLineNumbers   = false;
            BlameCommitter.ScrollPosChanged += BlameCommitter_ScrollPosChanged;
            BlameCommitter.MouseMove        += BlameCommitter_MouseMove;
            BlameCommitter.MouseLeave       += BlameCommitter_MouseLeave;

            BlameFile.IsReadOnly           = true;
            BlameFile.ScrollPosChanged    += BlameFile_ScrollPosChanged;
            BlameFile.SelectedLineChanged += BlameFile_SelectedLineChanged;
            BlameFile.RequestDiffView     += ActiveTextAreaControlDoubleClick;
            BlameFile.MouseMove           += BlameFile_MouseMove;

            CommitInfo.CommandClick += commitInfo_CommandClick;
        }