Thanks to Carlo, Knud and zhong zhao. You've given me lots to learn
from. I agree that studying existing code is a great way to learn.
Kund's 'add .s extension' comes close to what I want and sure was
simple. A few strings did not get colored right, e.g. strings that are
both commands and categories like PROCESS.
I changed my categories from ending with a ":" to starting with "`"
so searching my 2c-cmd.txt file with Carlo's showcv2 for "`.* "
with options "gxv" gave a display very close to what I want.
It lacks lines that have no category and of course is only in a
compressed view result but still demonstartes that it is very doable.
Is there a wildcard that would find just "BLOCKS:" in the string:
SetBit BLOCKS: CopyBlock ?
It was easier to change the syntax...
I read the long help entry "Syntaxhilite Mode" -- very helpful.
Fred
--
You can fool all the people some of the time and some of the people
all the time, but you cannot fool all the people all the time.
Abraham Lincoln
Trump has proved he can fool enough of the people (aided by circumstances)
to get elected US president. But what happens when his plans and boasts
go awry. For example, mass deportations and huge tariffs will do a number
on the economy. Fred 11/11/24