mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Restored selection when closing QuickFind
This commit is contained in:
parent
ca2c781301
commit
12640fd2b7
1 changed files with 2 additions and 0 deletions
|
@ -741,6 +741,8 @@ namespace IDE.ui
|
|||
var sourceContent = mEditWidget.Content as SourceEditWidgetContent;
|
||||
if (mSelectionStart != null)
|
||||
{
|
||||
if (mSelectionEnd != null)
|
||||
sourceContent.mSelection = .(mSelectionStart.mIndex, mSelectionEnd.mIndex);
|
||||
if (sourceContent != null)
|
||||
sourceContent.PersistentTextPositions.Remove(mSelectionStart);
|
||||
DeleteAndNullify!(mSelectionStart);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue