Hello,
I am used to working with tab characters in my source codes.
Each tab character represents 4 spaces.
For example:
begin
vSomething := 12345;
if A=B then
begin
writeln('Hello World');
end;
end;
Using tab characters makes it real easy to always indent properly, which is
very important.
Currently Lazarus works weird, I tried finding some settings but no luck:
I tried:
Block Indent: 1 and 4
Tab Width: 4
Smart Tab
Auto Indent
Tab indents blocks
What I want is the following:
<I write:>
begin
<I press enter>
The cursor goes to the first character:
_
<I press tab key>
The cursor goes 4 spaces to the right
begin
1234_
<I write if a=b then and press enter>
1234if=a=b1then
The cursor should be automatically indented to the previous 1234 as follows:
1234if=a=b1then
1234_
<Now I write begin and press enter>
1234if=a=b1then
1234begin
Lazarus should again ident to 1234
1234_
<Now I press tab key again>
1234if=a=b1then
1234begin
12341234_
<And write: writeln('helloworld'); followed by enter>
1234if=a=b1then
1234begin
12341234writeln('hello world');
Lazarus should now auto-indent as follows:
1234if=a=b1then
1234begin
12341234writeln('hello world');
12341234_
1234 is one single tab character.
How should I configure Lazarus to achieve this ?
Bye,
Skybuck.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives