IDE does not respect "Add close statement for Pascal blocks" under certain conditions
Original Reporter info from Mantis: Bart @flyingsheep
-
Reporter name: Bart Broersma
Original Reporter info from Mantis: Bart @flyingsheep
- Reporter name: Bart Broersma
Description:
I have "Add close statement for Pascal blocks" enabled.
Code fragment:
begin
foo;
try|
| represents cursor.
If I press Enter I expect to get
begin
foo;
try
|
finally
end;
but instead the cursor just moves 1 line down.
Steps to reproduce:
Empty Lazarus project.
DoubleClick on Form1.
Inside procedure TForm1.FormCreate(Sender: TObject) try what I did above.
Additional information:
I removed my configdir and restarted Lazarus.
The problem is gone.
I do Options->Editor->Display->Markup and Matches and enable the option "Disable timer for markup current word" (because I find it annoying).
Problem is back again.
Mantis conversion info:
- Mantis ID: 24935
- OS: Window
- OS Build: Win7
- Build: r42539
- Platform: i386
- Version: 1.1 (SVN)
- Fixed in revision: 42865 (#c0dac09b)