Skip to content

There is no folding for the assembly language #9888

@UnlimitedChild

Description

@UnlimitedChild

Description of the Issue

There is no folding of procedures and data structures for the assembly language

Steps to Reproduce the Issue

See the picture ....

2021-05-19 18_08_24-_Notepad++

Folding should work on all types of control transfers and on all data structures:

JA rel8
JAE rel8
JB rel8
JBE rel8
JC rel8
JCXZ rel8
JECXZ rel8
JRCXZ rel8
JE rel8
JG rel8
JGE rel8
JL rel8
JLE rel8
JNA rel8
JNAE rel8
JNB rel8
JNBE rel8
JNC rel8
JNE rel8
JNG rel8
JNGE rel8
JNL rel8
JNLE rel8
JNO rel8
JNP rel8
JNS rel8
JNZ rel8
JO rel8
JP rel8
JPE rel8
JPO rel8
JS rel8
JZ rel8
JA rel16
JA rel32
JAE rel16
Instruction
JAE rel32
JB rel16
JB rel32
JBE rel16
JBE rel32
JC rel16
JC rel32
JE rel16
JE rel32
JZ rel16
JZ rel32
JG rel16
JG rel32
JGE rel16
JGE rel32
JL rel16
JL rel32
JLE rel16
JLE rel32
JNA rel16
JNA rel32
JNAE rel16
JNAE rel32
JNB rel16
JNB rel32
JNBE rel16
JNBE rel32
JNC rel16
JNC rel32
Instruction
JNE rel16
JNE rel32
JNG rel16
JNG rel32
JNGE rel16
JNGE rel32
JNL rel16
JNL rel32
JNLE rel16
JNLE rel32
JNO rel16
JNO rel32
JNP rel16
JNP rel32
JNS rel16
JNS rel32
JNZ rel16
JNZ rel32
JO rel16
JO rel32
JP rel16
JP rel32
JPE rel16
JPE rel32
JPO rel16
JPO rel32
JS rel16
Instruction
JS rel32
JZ rel16
JZ rel32
Instruction
JMP rel8
JMP rel16
JMP rel32
JMP r/m16
JMP r/m32
JMP r/m64
JMP ptr16:16
JMP ptr16:32
JMP m16:16
JMP m16:32
JMP m16:64
CALL rel16
CALL rel32
CALL r/m16
CALL r/m32
CALL r/m64
CALL ptr16:16
CALL ptr16:32
CALL m16:16
CALL m16:32
CALL m16:64

struct
class
union
LABEL
macro

ELSE
ELSEIF
ELSEIF2
IF
IF2
IFB
IFNB
IFDEF
IFNDEF
IFDIF
IFDIF
IFE
IFIDN
IFIDN

;Conditional Control Flow
.BREAK
.CONTINUE
.ELSE
.ELSEIF
.ENDIF
.ENDW
.IF
.REPEAT
.UNTIL
.UNTILCXZ
.WHILE

;Conditional Error
.ERR
.ERR2
.ERRB
.ERRDEF
.ERRDIF
.ERRDIF
.ERRE
.ERRIDN
.ERRNB
.ERRNDEF
.ERRNZ

ENDM
EXITM
GOTO
LOCAL
MACRO

COMMENT
ECHO
ENDP
INVOKE
PROC
ENDM
FOR
FORC
GOTO
REPEAT
WHILE
END
ENDS
GROUP
SEGMENT

.CODE
.CONST
.DATA
.DATA?
.DOSSEG
.EXIT
.FARDATA
.FARDATA?
.MODEL
.STACK
.STARTUP

ENDS
RECORD
STRUCT
UNION

Metadata

Metadata

Assignees

No one assigned

    Labels

    scintilla dependentCan't be considered for N++ implementation unless/until Scintilla changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions