help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem indenting Delphi source code


From: Pascal Quesseveur
Subject: Problem indenting Delphi source code
Date: Fri, 21 Jun 2019 14:45:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Hello,

I'm using Emacs to edit delphi codes. Indentation doesn't work
properly when using inline variable introduced by Delphi 10.3 (using
Emacs 26.2, opascal, opascal-indent-level is 3).

   for i := 0 to str.Length - 1 do
      Write (str.Chars[i]);

   for var i := 0 to str.Length - 1 do
              Write (str.Chars[i]);

-- 
Pascal Quesseveur
pquessev@gmail.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]