I do not have Ultraedit to test against, but maybe a simple
=for Ultraedit '
before the =cut can help?
| [reply] [d/l] [select] |
Having a deeper look at the code I'm hacking on, it didn't start the main POD block with =pod. My uew file only had this defined for block comments:
Block Comment On = =pod Block Comment Off = =cut
Adding in =item to the uew file, and adding =pod to the perl file (it was missing) fixed a lot of problems.
Block Comment On Alt = =item Block Comment Off Alt = =cut
Still, UE should allow multiple pairs of these (and a few other things).
-QM
--
Quantum Mechanics: The dreams stuff is made of
| [reply] [d/l] [select] |
Switch to SciTE/Padre/Kephra... very close to UltraEdit, better highlighting support | [reply] |
Yes, UE's syntax highlighing has several problems. It was designed too simple, based simply on pattern matching and not on understanding the language, and so some extensions were added. They fixed some problems, but not all. Multi-line strings still confuse the highlighter, and embedded languages (Javascript and CSS in HTML, SQL and POD in Perl) are simply impossible. It's a mess, and no extension will be able to fix it.
Live with it, add a # ' here and a # " there, or use a different editor. I'm still searching for one. Some came close, but I've not yet found a single editor having all the features that I want to have. Emacs seems to have pretty good syntax highlighting, and it has tons of other features, but I simply don't like it. Too many features, too much wannabe operating system, too much desktop environment, and somewhere burried below all features lives a tiny editor.
Alexander
--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
| [reply] [d/l] [select] |