Skip to content

Add HLASMLexer - Column-aware HLASM syntax highlighting#1057

Merged
chcg merged 4 commits intonotepad-plus-plus:masterfrom
Zaneham:add-hlasm-lexer
Apr 5, 2026
Merged

Add HLASMLexer - Column-aware HLASM syntax highlighting#1057
chcg merged 4 commits intonotepad-plus-plus:masterfrom
Zaneham:add-hlasm-lexer

Conversation

@Zaneham
Copy link
Copy Markdown
Contributor

@Zaneham Zaneham commented Mar 24, 2026

Plugin: hlasm-npp

Column-aware syntax highlighting for IBM High Level Assembler, for us lovely mainframe folk. Highlights labels, operations, operands, continuation markers and sequence numbers by their column position (the 80-column punch card layout), not just by keywords.

@chcg
Copy link
Copy Markdown
Contributor

chcg commented Mar 26, 2026

@Zaneham Failure is:


HLASM Lexer - Column-Aware Syntax Highlighting
{'category': 'error',
 'details': '',
 'message': 'HLASM Lexer - Column-Aware Syntax Highlighting: Invalid hash. Got '
            'e153d5e04ed2875357d22e277160c635b7dabcc3c0f09ae8225635de2360f114 '
            'but expected '
            '72901da59c5f1b7f53d56b84d75cdde8d4618a99397d66429e8ba838105a1c67.'}

sha256 of the complete zip file is needed here (see also https://github.com/Zaneham/hlasm-npp/releases/tag/v1.0.0)
Likely the next problem is that there is no version info in the dll. Needs something like https://github.com/npp-plugins/plugintemplate/blob/master/src/NppPluginDemo.rc .

@chcg chcg added delayed correction to the plugin needed from plugin author labels Mar 26, 2026
@chcg chcg modified the milestone: 1.9.4 Mar 26, 2026
DLL now includes Windows VERSIONINFO resource as required.
Hash matches the v1.0.1 release zip.
@Zaneham
Copy link
Copy Markdown
Contributor Author

Zaneham commented Mar 26, 2026

Hey @chcg apologies. First time doing this. I have fixed it now and it should be fine let me know if theres any issues.

@chcg
Copy link
Copy Markdown
Contributor

chcg commented Apr 1, 2026

@Zaneham See https://github.com/notepad-plus-plus/nppPluginList/actions/runs/23709260461/job/69477809317

HLASM Lexer - Column-Aware Syntax Highlighting
{'category': 'error',
'details': '',
'message': 'HLASM Lexer - Column-Aware Syntax Highlighting: Unexpected DLL '
'version. The DLL version detected is 1.0.0.0, but the expected '
'version is 1.0.1.0.'}

So there is still a deviation from your zip package version to the one of the contained dll. For the version check the dll is the relevant, but would be nice if package and dll match each other.

@chcg chcg removed the delayed correction to the plugin needed from plugin author label Apr 5, 2026
@chcg chcg merged commit dde7653 into notepad-plus-plus:master Apr 5, 2026
5 of 6 checks passed
@chcg
Copy link
Copy Markdown
Contributor

chcg commented Apr 5, 2026

@Zaneham As workaround I changed the version for the 1.0. 1 zip to 1.0.0 . Please consider also a 32bit release as quiet some users of N++ are still using that architecture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants