All Functions and Procedures

Name Unit Description
Foo1 ok_longcode_indentation

Should cut nothing:

one
  two
    three

Foo2 ok_longcode_indentation

Should cut 4 spaces:

one
two
three

Foo3 ok_longcode_indentation

Should cut 2 spaces:

  one
two
  three

Foo4 ok_longcode_indentation

Should cut nothing (there's a tab here):

    one
	two
    three

Foo5 ok_longcode_indentation

Should cut tab + 2 spaces:

one
  two
three

Foo6 ok_longcode_indentation

Should cut 4 spaces (there's trailing whitespace in 1st lines here, that should be ignored):

                 
                  
one

Foo7 ok_longcode_indentation

Should cut 4 spaces (empty line doesn't shorten IndentationPrefix):

if something then
begin
  // empty line below

end;