ZTree.com  | ZEN  | About...  

 Index   Back

[ZEP] Syntax highlighting in the viewer?   [ZEP]

By: Martijn Coppoolse   Homepage   Voorburg, NL  
Date: Mar 06,2020 at 03:06
In Response to: [ZEP] Syntax highlighting in the viewer? (Bernhard Steffen)

> Thanks for your reply.
> > Maybe use the CO-1D Alt-Viewer configuration option to point to a app
> > (console or GUI) that does the highlighting you need.

I've got UniversalViewer configured as my alternative viewer, which supports all the TotalCommander lister plugins.

> I could do that (or even use o or Alt-E to open an external editor),
> but that way I couldn't use F7 and shift-cursor keys, which is faster
> for comparing a couple of files. That's why I'm looking for an
> integrated solution.
> > GUI solution
> > Find or write a ZAAP
> > I tried https://fossil.2of4.net/zaap/doc/trunk/ZPreview/readme.md,
> > which used to work for me to view files but not today, I cannot
> remember
> > if it does syntax highlighting.

It can do syntax highlighting if you've got a ‘preview handler’ installed which does that; you could check out https://github.com/RRUZ/delphi-preview-handler#important-note-about-installing-a-new-version. The ‘Delphi’ in the name refers to the fact that it was written in that language; it does highlighting for a lot of other languages as well.

> I've used that many years ago for viewing graphic files. Just
> reinstalled it - for some file formats the file contents are being
> displayed, for others you'll just get a generic icon.
> Seeing that you can use Total Commander lister plugins I installed a
> plugin called "Cudalister" - it sort of works, but also does not have
> Shift-cursor keys functionality.

The Lister plugins functionality was never tested very thoroughly, and the entire ZAAP was never really properly completed.

Unfortunately, I just haven't got any time to spend on it (drat those lovely kids :-P) — and we've moved away from Delphi at work, so I'm finding it takes more time to 'get into it' even if I want to do some quick changes.


Thread locked

Messages in this Thread

95,097 Postings in 11,989 Threads, 350 registered users, 76 users online (0 registered, 76 guests)
Index | Admin contact |   Forum Time: Sep 20, 2020 - 4:37 am EDT  |  Hits:34,149,263  (5,819 Today )
RSS Feed