protected override void OnRuntimeLoad() { _revisionDiffController = new RevisionDiffController(_gitRevisionTester); DiffFiles.DescribeRevision = objectId => DescribeRevision(objectId); DiffText.SetFileLoader(GetNextPatchFile); DiffText.Font = AppSettings.FixedWidthFont; ReloadHotkeys(); base.OnRuntimeLoad(); }
public RevisionDiff() { InitializeComponent(); Translate(); DiffFiles.FilterVisible = true; DiffFiles.DescribeRevision = DescribeRevision; DiffText.SetFileLoader(GetNextPatchFile); DiffText.Font = AppSettings.DiffFont; GotFocus += (s, e) => DiffFiles.Focus(); }
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); }
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(); }