mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 06:44:10 +02:00
Record history position when clicking on result in FindResultsPanel
This commit is contained in:
parent
4ff1107e7b
commit
b3946d4487
1 changed files with 2 additions and 1 deletions
|
@ -102,7 +102,8 @@ namespace IDE.ui
|
||||||
editWidgetContent.GetLineCharAtIdx(charIdx, out remappedLine, out remappedLineChar);
|
editWidgetContent.GetLineCharAtIdx(charIdx, out remappedLine, out remappedLineChar);
|
||||||
|
|
||||||
var filePath = lineSrcInfo.mEditData.mFilePath;
|
var filePath = lineSrcInfo.mEditData.mFilePath;
|
||||||
IDEApp.sApp.ShowSourceFileLocation(filePath, -1, -1/*IDEApp.sApp.mWorkspace.GetHighestCompileIdx()*/, remappedLine, remappedLineChar, LocatorType.Always);
|
var panel = IDEApp.sApp.ShowSourceFileLocation(filePath, -1, -1/*IDEApp.sApp.mWorkspace.GetHighestCompileIdx()*/, remappedLine, remappedLineChar, LocatorType.Always);
|
||||||
|
panel?.RecordHistoryLocation();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue