コード例 #1
0
        protected override void OnRuntimeLoad()
        {
            _revisionDiffController = new RevisionDiffController(_gitRevisionTester);

            DiffFiles.DescribeRevision = objectId => DescribeRevision(objectId);
            DiffText.SetFileLoader(GetNextPatchFile);
            DiffText.Font = AppSettings.FixedWidthFont;
            ReloadHotkeys();

            base.OnRuntimeLoad();
        }
コード例 #2
0
        public RevisionDiff()
        {
            InitializeComponent();
            Translate();

            DiffFiles.FilterVisible    = true;
            DiffFiles.DescribeRevision = DescribeRevision;
            DiffText.SetFileLoader(GetNextPatchFile);
            DiffText.Font = AppSettings.DiffFont;

            GotFocus += (s, e) => DiffFiles.Focus();
        }
コード例 #3
0
        protected override void OnRuntimeLoad(EventArgs e)
        {
            _revisionDiffController = new RevisionDiffController(Module);

            DiffFiles.FilterVisible    = true;
            DiffFiles.DescribeRevision = DescribeRevision;
            DiffText.SetFileLoader(GetNextPatchFile);
            DiffText.Font = AppSettings.DiffFont;

            GotFocus += (s, e1) => DiffFiles.Focus();

            base.OnRuntimeLoad(e);
        }
コード例 #4
0
        protected override void OnRuntimeLoad()
        {
            _revisionDiffController = new RevisionDiffController(_gitRevisionTester);

            DiffFiles.FilterVisible    = true;
            DiffFiles.DescribeRevision = sha1 => DescribeRevision(sha1);
            DiffText.SetFileLoader(GetNextPatchFile);
            DiffText.Font = AppSettings.DiffFont;
            ReloadHotkeys();

            GotFocus += (s, e1) => DiffFiles.Focus();

            base.OnRuntimeLoad();
        }