Page 1 of 1
Macro Syntax Coloring macro(s)
Posted: 2021-02-17 20:27:05
by phspaelti
Since I was asked about this, I'm posting here the macros that I use for syntax coloring in my macros. They require the use of appropriately named styles in the document.
Re: Macro Syntax Coloring macro(s)
Posted: 2021-02-17 22:04:19
by B.Otter
phspaelti wrote: ↑2021-02-17 20:27:05
Since I was asked about this, I'm posting here the macros that I use for syntax coloring in my macros. They require the use of appropriately named styles in the document.
Nice.
Re: Macro Syntax Coloring macro(s)
Posted: 2021-02-18 00:05:54
by phspaelti
Actually, I should put an
important warning here.
This macro somewhat crudely obliterates prior formatting in the file. This will be a serious problem if your macro uses formatted text strings or attribute sensitive Find and Replace. So please use it responsibly
