View Issue Details

IDProjectCategoryView StatusLast Update
0037395LazarusIDEpublic2020-07-21 09:02
ReporterYiyuan Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformx86-64OSwindows 
Product Version2.0.10 
Summary0037395: "Add close statement for Pascal blocks" option did not work
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.
TagsNo tags attached.
Fixed in Revision
LazTarget
Widgetset
Attached Files

Relationships

related to 0024935 closedMattias Gaertner IDE does not respect "Add close statement for Pascal blocks" under certain conditions 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-07-21 06:06 Yiyuan New Issue
2020-07-21 09:02 Juha Manninen Relationship added related to 0024935