mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Multi-cursor tweaks
This commit is contained in:
parent
ba4d29d28d
commit
2ce4ec2e3f
22 changed files with 402 additions and 422 deletions
|
@ -5963,15 +5963,15 @@ namespace IDE
|
|||
}
|
||||
|
||||
[IDECommand]
|
||||
public void Cmd_SelectNextMatch()
|
||||
public void Cmd_AddSelectionToNextFindMatch()
|
||||
{
|
||||
GetActiveSourceEditWidgetContent()?.SelectNextMatch();
|
||||
GetActiveSourceEditWidgetContent()?.AddSelectionToNextFindMatch();
|
||||
}
|
||||
|
||||
[IDECommand]
|
||||
public void Cmd_SkipCurrentMatchAndSelectNext()
|
||||
public void Cmd_MoveLastSelectionToNextFindMatch()
|
||||
{
|
||||
GetActiveSourceEditWidgetContent()?.SkipCurrentMatchAndSelectNext();
|
||||
GetActiveSourceEditWidgetContent()?.MoveLastSelectionToNextFindMatch();
|
||||
}
|
||||
|
||||
public void UpdateMenuItem_HasActivePanel(IMenu menu)
|
||||
|
@ -8799,7 +8799,7 @@ namespace IDE
|
|||
c = c.ToLower;
|
||||
}*/
|
||||
|
||||
var prevSel = ewc.mSelection.Value;
|
||||
var prevSel = ewc.CurSelection.Value;
|
||||
|
||||
var str = scope String();
|
||||
ewc.GetSelectionText(str);
|
||||
|
@ -8818,7 +8818,7 @@ namespace IDE
|
|||
ewc.CreateMultiCursorUndoBatch("IDEApp.ChangeCase()");
|
||||
ewc.InsertAtCursor(str);
|
||||
|
||||
ewc.mSelection = prevSel;
|
||||
ewc.CurSelection = prevSel;
|
||||
}
|
||||
ewc.CloseMultiCursorUndoBatch();
|
||||
ewc.SetPrimaryTextCursor();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue