forked from qt-creator/qt-creator
Vcs: Jump to the current source line in Fossil Annotate editor
* Keep track of the current source line number and pass it to Annotate action. * Add a 'List Versions' toggle in Annotate editor to prepend a list of commits that make up the annotated source. * By default do not show the version list so that annotated line number could be matched to the source line. NOTE: VcsBaseEditorWidget::configurationWidget() query is no longer available, yet Fossil client needs it in order to process the effective arguments. So we re-implement it in FossilEditorWidget sub-class. Change-Id: Idc4c21d074ccf4e1c6d041cce2abceb78665c8f2 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -36,6 +36,7 @@ const QString FossilSettings::sslIdentityFileKey("sslIdentityFile");
|
||||
const QString FossilSettings::diffIgnoreAllWhiteSpaceKey("diffIgnoreAllWhiteSpace");
|
||||
const QString FossilSettings::diffStripTrailingCRKey("diffStripTrailingCR");
|
||||
const QString FossilSettings::annotateShowCommittersKey("annotateShowCommitters");
|
||||
const QString FossilSettings::annotateListVersionsKey("annotateListVersions");
|
||||
const QString FossilSettings::timelineWidthKey("timelineWidth");
|
||||
const QString FossilSettings::timelineLineageFilterKey("timelineLineageFilter");
|
||||
const QString FossilSettings::timelineVerboseKey("timelineVerbose");
|
||||
@@ -52,6 +53,7 @@ FossilSettings::FossilSettings()
|
||||
declareKey(diffIgnoreAllWhiteSpaceKey, false);
|
||||
declareKey(diffStripTrailingCRKey, false);
|
||||
declareKey(annotateShowCommittersKey, false);
|
||||
declareKey(annotateListVersionsKey, false);
|
||||
declareKey(timelineWidthKey, 0);
|
||||
declareKey(timelineLineageFilterKey, "");
|
||||
declareKey(timelineVerboseKey, false);
|
||||
|
||||
Reference in New Issue
Block a user