CodeTools: strange identation when using case ofall helper
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
When using the ofall auto completion on a enum the first element is strangely idented.
Steps to reproduce:
Take the following code ('|' denotes the cursor position):
=== code begin ===
type
TEnum = (
start,
blubb
);
var
e: TEnum;
begin
case e ofall|
end.
=== code end ===
Press Ctrl+J (or whatever key combination needs to be used to trigger the auto completion of ofall).
Expected result:
=== code begin ===
case e of
start: ;
blubb: ;
end;
=== code end ===
Actual result:
=== code begin ===
case e of
start: ;
blubb: ;
end;
=== code end ===
Mantis conversion info:
- Mantis ID: 35802
- OS: Windows NT
- OS Build: 10
- Build: 61508
- Platform: X86_64
- Version: 2.1 (SVN)
- Fixed in revision: 62245 (#398f3b3c)