1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-16 23:34:10 +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

@ -12,6 +12,7 @@ namespace IDE.ui
public class OutputWidgetContent : SourceEditWidgetContent
{
public bool mRemapToHighestCompileIdx;
public List<Widget> mActionWidgets = new .() ~ delete _;
public this()
{
@ -260,6 +261,18 @@ namespace IDE.ui
MouseClicked(x, y, x, y, 1);
}
}
public override void TextChanged()
{
base.TextChanged();
for (var widget in mActionWidgets)
{
widget.RemoveSelf();
delete widget;
}
mActionWidgets.Clear();
}
}
public class OutputWidget : SourceEditWidget