Community
Participate
Working Groups
In the ASM editor, the symbol || is been treated as a comment. For our compiler, this symbol is a valid instruction. There needs to be a way to override this behavior.
One way to go is to define a new assembly content type (overriding the default one) and register your own document setup participant via extension point "org.eclipse.core.filebuffers.documentSetup" for this content type. This gives you a chance to customize the document partitioning (AsmDocumentSetupParticipant).
To reuse the AsmPartitionScanner class, is it possible to change the two static final String, NON_LINE_COMMENT_CHARS and KNOWN_LINE_END_COMMENT_CHARS to non-final? Or have a way to override the nextToken() method?