You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, assembly language is not standardized like C++. Aside from that, folding is a Scintilla feature not a Notepad++ feature (any folding changes would have to come from that project).
Can't be considered for N++ implementation unless/until Scintilla changes
Enables the folding capabilities of Lexilla's Assembly lexer by:
- adding the currently [unused keyword groups], `Directives4Foldstart` and `Directives4Foldend`;
https://github.com/notepad-plus-plus/notepad-plus-plus/blob/b5e2e9d737c88bf13ddb956662476f7298d89ce9/lexilla/lexers/LexAsm.cxx#L101-L109
- adding some fold-trigger keywords to the new `Directives4Foldstart` and `Directives4Foldend` groups, and *duplicating* them in the existing `Directives` group, following [these instructions].
- activating a *selection* of the lexer's [optional folding properties]. Since `fold.asm.comment.explicit` is not likely to be popular, the default delimiters `;{` and `;}` are permanent, and `fold.asm.explicit.anywhere` is *not* turned on. Users who want different options can always use [Python Script] to set them dynamically.
There are plenty of *more* candidate keywords than what I've added, but I'm not very familiar with [Microsoft's macro assembler].
Fixnotepad-plus-plus#13758, fixnotepad-plus-plus#9888, closenotepad-plus-plus#13762
#9888
Can't be considered for N++ implementation unless/until Scintilla changes
folding is implemented for the asm lexer
ScintillaOrg/lexilla#123
This feature has been implemented, but is still not available in the editor.
The text was updated successfully, but these errors were encountered: