1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-25 02:58:02 +02:00

Default Rename in Files to current document. Added Undo Replace button

This commit is contained in:
Brian Fiete 2020-10-11 06:33:13 -07:00
parent 196b9604c1
commit c337bee05c
4 changed files with 94 additions and 1 deletions

View file

@ -44,7 +44,7 @@ namespace IDE.ui
mLocationCombo = new PathComboBox();
mLocationCombo.MakeEditable(new PathEditWidget());
mLocationCombo.Label = FindResultsPanel.sEntireSolution;
mLocationCombo.Label = isReplace ? FindResultsPanel.sCurrentDocument : FindResultsPanel.sEntireSolution;
mLocationCombo.mPopulateMenuAction.Add(new => PopulateLocationMenu);
mLocationCombo.mEditWidget.mOnContentChanged.Add(new (evt) => { UpdateUI(); });
AddWidget(mLocationCombo);