1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Record history position when clicking on result in FindResultsPanel

This commit is contained in:
Brian Fiete 2024-09-25 12:25:57 -04:00
parent 4ff1107e7b
commit b3946d4487

View file

@ -102,7 +102,8 @@ namespace IDE.ui
editWidgetContent.GetLineCharAtIdx(charIdx, out remappedLine, out remappedLineChar);
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;
}