SOLVED: Turn on syntax highlighting- a "gotcha"
Posted: Wed Feb 27, 2019 9:27 am
(Snipped to reduce to stuff that mattered)
I want to use syntax highlighting on .pas files. Using Textpad 8.1.2 (64 bit)
Used "Configure/ New Document Class". Used the already-present "pascal.syn" syntax definition file.
Didn't seem there were many places to go wrong in the process!
(Another PC, across the room, running Textpad 6.1.3 (32 bit) highlights syntax in .pas files just fine! BOTH of them highlight .html fine!)
But I get no highlighting on a .pas file on the 8.1.2 machine. Sigh.
Yes, I closed file, closed Textpad after doing the set-up of the .pas syntax highlighting, then reopened.
So... some silly newbie "gotch", no doubt. ("Enable syntax highlighting" DOES have a tick, when I examine "Preferences/ Document Classes/ Pascal").
Love Textpad... main thing keeping me chained to Windows.
I want to use syntax highlighting on .pas files. Using Textpad 8.1.2 (64 bit)
Used "Configure/ New Document Class". Used the already-present "pascal.syn" syntax definition file.
Didn't seem there were many places to go wrong in the process!
(Another PC, across the room, running Textpad 6.1.3 (32 bit) highlights syntax in .pas files just fine! BOTH of them highlight .html fine!)
But I get no highlighting on a .pas file on the 8.1.2 machine. Sigh.
Yes, I closed file, closed Textpad after doing the set-up of the .pas syntax highlighting, then reopened.
So... some silly newbie "gotch", no doubt. ("Enable syntax highlighting" DOES have a tick, when I examine "Preferences/ Document Classes/ Pascal").
Love Textpad... main thing keeping me chained to Windows.