New $param templates: Template is "done" when using Identifier Completion + Enter
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
When I'm trying to use Identifier Completion in one of the new $param templates (e. g. "trycf") and press "Enter" on my selected identifier, the "edit template parameters"-mode is left.
Following example:
var
test1, test2: TObject;
begin
|te| := |typename|.Create;
try
finally
|te|.Free;
end;
end;
You have already typed "te" in "variable"-parameter and now you press "Ctrl+Space" to show identifier completion. Select one of the "test*" variables and hit "Enter". The boxes around the parameters vanish and you can now longer change the parameters of the template.
Additional information:
Revision 21988
(tested on Win32 and GTK2, but it might be widgetset independant ^^)
Mantis conversion info:
- Mantis ID: 14773
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 22195 (#709c5a4b)
- Target version: 0.9.30