"Add close statement for Pascal blocks" option did not work
Original Reporter info from Mantis: Yiyuan
-
Reporter name:
Original Reporter info from Mantis: Yiyuan
- Reporter name:
Description:
"Add close statement for Pascal blocks" option is enabled.
I create a new file:
////////////////////////////////
program test;
procedure hello();
begin |
///////////////////////////////
| represents cursor.
If I press Enter I expect to get:
///////////////////////////
program test;
procedure hello();
begin
end;
//////////////////////////
but the cursor just moves 1 line down.
The error is same with https://bugs.freepascal.org/view.php?id=24935. In fact, when I tried v2.08, the bug was there.
Mantis conversion info:
- Mantis ID: 37395
- OS: windows
- OS Build: windows10-1909
- Platform: x86-64
- Version: 2.0.10