On Tue, 11 Sep 2007 05:48:03 +0200
Lepidosteus <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I haven't done a lot of pascal code lately, and even less free pascal
> code using lazarus. I wanted to make changes in some old software I
> made for my own usage.
>
> After trying the delphi 2007 trial a couple of month ago, I've been
> really surprised at how "bad" the lazarus editor feels, *at least with
> the default install*.
>
> I'm not speaking about the IDE, it's as fast as back when I used it,
> and looks more stable, I didn't get any issue with it while coding.
>
> But the editor seems to
> 1 - lack some features
> For exemple, when typing begin, I've been used to delphi writing two
> new lines, "end;", ans putting me on the middle line, just where I
> should type.
> I understand this is "code templates" or something like this, and
> there may even be a way to do it in lazarus yet. My issue is that you
> install, it doesn't do it.
Code templates currently misses this automatism. You have to activate
them manually with Ctrl+j. For example: Type b + Ctrl+j.
> 2 - act weirds with tabs
> This got me completly off of it and I went back to fpcgui to edit my
> files. I don't remember the setting I changed, I know I have tried the
> default ones, they were painfull, I tried using everything available,
> and it never worked great.
>
> Right now my "indent block" is set to two.
> function blah(i: string): integer;
> begin
> ddddd; // indent: 5
> if (true) then
> dosomework; // indent: 8, 5 + 3 ...
> end;
>
> I could not get it to indent to less than 5 chars on the first tab,
> which is really too much (it starts *after* the begin word ...).
Disable 'smart tabs'.
> When you try to edit into the tab thing it gets even worse.
> If I put my caret after dosomework; press enter, i'm on the same
> column.
Yes, it is a ToDo to integrate a good beautifier in lazarus, which can
tell nice line indenting.
> So I need to unindent, i press backspace, it unindent back to
> column 0. Okay so I press tab to get to my column. It indent to
> column 8, not 5.
Disable 'smart tabs'.
> That's where it lost me.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives