Hi, friends. I am a newbie to Lazarus family. When I used the source editor, I encountered some problems with the indenter. I hope some expert can help me.
First, when I enter the comments and compiler progmas, the editor can not automatically add the matching curly brace. I didn't find the options.
Second, if I continue entering the "procedure" after a "type" block, there will be an indentation. I think "procedure" should be in the same level as "type", right? What's more, when I create a simple console program from the template, if I did not manually indent "procedure" , the editor will not automatically add matching "end;" after the "begin". I found the problem arose from the template's default "begin end.". If I deleted them, the editor worked correctly. Or if I manually indent the "begin" ("begin" is in the same indentation level as "prodedure in default), the indenter also worked.
{$mode objfpc}{$H+}{$J-}
program Learning_notes;
procedure simpetest;
begin
begin
end.
Third, when I just minimize the source editor window (not minimize the whole lazarus) and reopen it later, the source editor window will automatically occupy the full screen. not in the origin size. Maybe it is a bug.