Recent

Author Topic: Assembler indent  (Read 4296 times)

Eko Wahyudin

  • New Member
  • *
  • Posts: 21
  • Indonesia
Assembler indent
« on: May 16, 2011, 04:19:20 am »
Hi all?

write this code on lazarus editor.

procedure DoSomething; assembler;
asm
. . mov eax,1
. . mov ebx,2  //why the indent on this line does not work when we use assembler reserved word? is it bugs?
mov ecx,3
end;

I'm using lazarus v.0.9.30
« Last Edit: May 16, 2011, 04:46:17 am by Eko Wahyudin »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12616
  • Debugger - SynEdit - and more
    • wiki
Re: Assembler indent
« Reply #1 on: May 16, 2011, 11:10:00 am »
looks like a bug.

I guess you are using the indent from the code-tool section of the option (you can click the "smart indent" link on the editor options page to see the settings)

If you do not need this smart indent, try the to switch it off (under codetools) and leave only the editors indent switched on.

 

TinyPortal © 2005-2018