mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-15 14:22:57 -06:00
ide: Alt+C fix for destrutors (extra space removed)
This commit is contained in:
parent
faebf887e1
commit
f18fab0dbc
1 changed files with 2 additions and 0 deletions
|
|
@ -202,6 +202,8 @@ void AssistEditor::DCopy()
|
|||
}
|
||||
else
|
||||
cret = ret;
|
||||
if(TrimLeft(cret).GetCount() == 0) // only spaces, e.g. destructor
|
||||
cret.Clear();
|
||||
result << cret << cls << m.name << params << "\n{\n}\n\n";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue