You are here: PSPad forum > English discussion forum > Re: Another format of block comments

Re: Another format of block comments

#1 Another format of block comments

Posted by: LigH | Date: 2025-08-17 23:59 | IP: IP Logged

Hello there! winking smiley

I noticed that the syntax highlighter file for Avisynth is a little outdated now. Not only the set of core keywords, also the structure syntax got developed further in AviSynth+. So I tried to add some elements to the highlighter INI file.

One piece is that it supports block comments, not only EOL comments '#' like in PHP. One supported syntax is C-like '/* */' but there is also an alternative style to allow nesting which lacks support in PSPad because it would need the implementation of a new comment style class: Asterisks in brackets '[* *]'

The full AviSynth grammar / Comments

Options: Reply | Quote | Up ^


#2 Re: Another format of block comments

Posted by: pspad | Date: 2026-10-07 07:07 | IP: IP Logged

AviSynth highlighter doesn't exists in the user highlighter definitions.
I created definition, added (I hope) full set of keywords, added possibility to nested comments [* ... *]
So from next build, AviSynth should be fully supported

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2026 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR