Alignment of comments not working with inline ASM

Working on new editor enhancements?
User avatar
Tristano
Enthusiast
Enthusiast
Posts: 190
Joined: Thu Nov 26, 2015 6:52 pm
Location: Italy
Contact:

Alignment of comments not working with inline ASM

Post 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.
The PureBASIC Archives: FOSS Resources:
Fred
Administrator
Administrator
Posts: 16616
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Alignment of comments not working with inline ASM

Post by Fred »

The IDE doesn't take in account inline ASM statement, all the features only work on PureBasic code.
Post Reply