Page 1 of 1

Alignment of comments not working with inline ASM

Posted: Thu May 11, 2017 12:52 pm
by Tristano
In PB 5.60 IDE for Windows, Ctrl+E and Ctrl+Shift+E don't affect comments following inline ASM using the `!` symbol.

Example:

Code: Select all

Procedure.l Test_multi_spaced()
  ! MOV rax, 3 ; some comment
  ProcedureReturn  ; The returned value will be 3
EndProcedure
... selecting the two comments lines and trying to align the comments fails on the ASM line.

This also affects the auto-format indentation (Ctr+I), which doesn't take into account the comment of a `!` ASM line when aligning the comment of the following line.

Re: Alignment of comments not working with inline ASM

Posted: Tue Jul 11, 2017 3:48 pm
by Fred
The IDE doesn't take in account inline ASM statement, all the features only work on PureBasic code.