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:
parent
196b9604c1
commit
c337bee05c
4 changed files with 94 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue