1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Improved QuickFind behavior

This commit is contained in:
Brian Fiete 2022-03-01 06:11:28 -08:00
parent 90d1891cf1
commit b6e2be1e99
7 changed files with 123 additions and 44 deletions

View file

@ -5241,6 +5241,12 @@ namespace IDE
var sourceViewPanel = GetActiveSourceViewPanel();
if ((sourceViewPanel != null) && (sourceViewPanel.HasFocus()))
{
if ((sourceViewPanel?.mQuickFind?.mIsShowingMatches == true) && (sourceViewPanel.mQuickFind.mFindEditWidget.mHasFocus))
{
sourceViewPanel.SetFocus();
return;
}
var sourceEditWidgetContent = (SourceEditWidgetContent)sourceViewPanel.mEditWidget.mEditWidgetContent;
if (sourceEditWidgetContent.IsAtCurrentHistory())
{