Tried the 0.9.2.516 version. So after some quick tests, I believe, now it works as intended... but only for those, who follows the indentation rules
And it wroks really strange for those, who don't.
For example, suppose empty unit, where you start writing you first procedure:
unit Unit1;
interface
implementation
procedure Test;
begin|
end.
So, now I hit 'enter' and wait for 'end' to appear. But whops! nothing happens.
Ok, let's move to next example:
procedure Test;
var
i: Integer;
begin
for i := 0 to 10 do
begin|
end;
Again, after 'enter' nothing happens. And even if I put one space before 'for', it would still behave the same.
I'll stick with this version for a moment, because it seems to work right in my day-to-day use, but for someone else its behaviour may seem strange.
Also, have another one suggestion, now for 'end'
Could 'end' input be possibly done as '}' input in many C editors. I.e.,
for (i = 0; i < 10; i++)
{
print "Hi, world!\n";
|
Now, if I input closing bracket, it would jump to the beginning of line, like this:
for (i = 0; i < 10; i++)
{
print "Hi, world!\n";
}|
In Delphi rule should work like this: if 'end;' was inputted, and there is only 'end;' in this line, then indendation should be decreased by one full indent. Or something like this. THanks in advance!
UPD: Shouldn't the [code] output be in monospaced font?
[
Last edited by elricbk at 2009-6-6 02:41 ]