protected override void OnRuntimeLoad()
        {
            _revisionDiffController = new RevisionDiffController(_gitRevisionTester);

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

            base.OnRuntimeLoad();
        }
Example #2
0
        public RevisionDiff()
        {
            InitializeComponent();
            Translate();

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

            GotFocus += (s, e) => DiffFiles.Focus();
        }
Example #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);
        }
Example #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();
        }