Colorer — syntax highlighting and text parsing

Here you can discuss about your favorite plug-in.
alskor
Posts: 18
Joined: Fri 05 Jun, 2009 22:59
Location: Santa Clara, CA. USA

Colorer — syntax highlighting and text parsing

Post by alskor » Tue 21 Jul, 2009 23:36

when I start the FAR internal editor using F4 key on a file, the editor is sometimes blocked until the colorer plugin is loaded. which can take up to 5 seconds on my laptop, which sucks.
is it possible to show the editor right away when I use F4 and let the colorer load its stuff and do the highlighting later, when it has time?
this would be really great.
Last edited by HaRT on Mon 03 Aug, 2009 19:12, edited 1 time in total.
Reason: Renamed the topic

User avatar
techie
Posts: 733
Joined: Mon 03 Oct, 2005 22:42
Has thanked: 23 times
Been thanked: 2 times

Re: Colorer — syntax highlighting and text parsing

Post by techie » Sun 09 Jan, 2011 23:11

If you still experience this issues, please fill a bug with sample files to Colorer project at http://colorer.sf.net

User avatar
senpost
Posts: 53
Joined: Fri 27 Mar, 2009 03:54

How to enable colorer for Viewer?

Post by senpost » Mon 04 Apr, 2011 18:23

I could see files syntax highlighted in Editor using Colorer. How do I enable Colorer for Viewer?

Thanks
"To us all towns are one, all men our kin"
Kanniyan Poongundran, Tamil Poet, 500 BC

Kildor
Posts: 1515
Joined: Wed 16 Mar, 2005 06:26
Location: Новосибирск
Contact:

Re: How to enable colorer for Viewer?

Post by Kildor » Mon 04 Apr, 2011 18:30

that`s impossible. Viewer doesn`t have support for coloring, also there are some more problems to prevent this feature.
Ты мне не выкай!
«ФарФорум не для пользователей!»
Upd:
P.S. Я просто поддерживаю беседу.» © Народ.

xmpp:kildor@jabber.ru

User avatar
senpost
Posts: 53
Joined: Fri 27 Mar, 2009 03:54

Re: How to enable colorer for Viewer?

Post by senpost » Mon 04 Apr, 2011 18:36

Mhmm :( Anyway thanks for the reply.
"To us all towns are one, all men our kin"
Kanniyan Poongundran, Tamil Poet, 500 BC

User avatar
Centaur
Posts: 1083
Joined: Tue 05 Apr, 2005 20:09
Location: Novosibirsk, Russia

Re: How to enable colorer for Viewer?

Post by Centaur » Mon 04 Apr, 2011 18:50

You can try the standalone viewer that comes with colorer. It’s called colorer.exe. However, you lose screen switching, unless you run it in some special way (conemu comes to mind).

KlepetoX
Posts: 101
Joined: Sun 08 Jan, 2012 08:23
Location: Czech Republic

Re: Colorer — syntax highlighting and text parsing

Post by KlepetoX » Tue 10 Apr, 2012 09:18

Is there any possibility to prevent Colorer highlighting on some file types? I.e. - I don't want to highlight plain .txt or binary .dll and .exe files...

peotta
Posts: 1
Joined: Tue 15 Nov, 2011 19:04

Colorer error

Post by peotta » Wed 19 Sep, 2012 17:22

I'm using far 3.0.2806. When I try to open a file an error occurs.

Function: ProcessEditorEventW
Module: colorer.dll

I've tried to use far3wrap. no sucess.

tks

Laerte Peotta

User avatar
HaRT
Moderator
Posts: 7985
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 66 times
Been thanked: 98 times

Re: Colorer — syntax highlighting and text parsing

Post by HaRT » Wed 19 Sep, 2012 17:29

All FAR3 plugins have been broken by the changes to the plugins API on Sep 16. Please use an earlier FAR3 version.
Фар есть инструмент, а не нянька. © 2009 DrKnS

cyberwolf
Posts: 109
Joined: Tue 24 Mar, 2009 14:39

Re: Colorer — syntax highlighting and text parsing

Post by cyberwolf » Wed 19 Sep, 2012 23:29

I've asked the Colorer team and they said they should have a working update in 1-2 weeks, so all we need to do is wait until they update the FarColorer plugin.
Also, you could downgrade your FAR installation to an older version (i believe 3.0.2798 still had the older API so Colorer works with it).
Sorry for writing in English in the Russian forums, but i don't speak Russian and don't trust online translators. :D

"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA

pnecas
Posts: 11
Joined: Fri 27 Jul, 2012 16:39

Re: Colorer — syntax highlighting and text parsing

Post by pnecas » Thu 20 Sep, 2012 10:05

I'm using several plugins including Colorer and all are crashing with the recent Far builds (last one that works fine is 2798). So because of the change in the plugins API we will have to wait until all the plugin authors updates the plugins with the new API? Why the API was changed? I was checking few plugin pages and nobody did any update to support the new plugin API since the last week. Maybe I need to be more patient. Thanks

cyberwolf
Posts: 109
Joined: Tue 24 Mar, 2009 14:39

Re: Colorer — syntax highlighting and text parsing

Post by cyberwolf » Thu 20 Sep, 2012 14:58

I don't know the reason for the API changes but from what i could understand FAR3 is still in development so they didn't "freeze" the API and changes might still occur.
Regarding the plugins, since all developers do the development in their spare time it will take time for them to react. Besides, many might wait a few more FAR builds to make sure that the API won't change anymore before upgrading their own plugins.

For now, the only solution we as users have is to use the 2798 version (you can get it from the nightly page) and wait for the plugin developers to upgrade their plugins, or we can go with the newest FAR and don't use plugins that were not updated.
For me it's the first since i use many plugins and it will take time for all of them to be updated.
Sorry for writing in English in the Russian forums, but i don't speak Russian and don't trust online translators. :D

"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA

User avatar
ctapmex
Posts: 990
Joined: Fri 11 Apr, 2008 07:53
Been thanked: 2 times
Contact:

Re: Colorer — syntax highlighting and text parsing

Post by ctapmex » Wed 26 Sep, 2012 12:25

fix in colorer 1.0.3.11

kamil
Posts: 20
Joined: Fri 13 Apr, 2012 19:19

Re: Colorer — syntax highlighting and text parsing

Post by kamil » Mon 24 Dec, 2012 11:44

Can someone please advise how to configure FarColorer, so it wold show tabs as different color than spaces?

User avatar
HaRT
Moderator
Posts: 7985
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 66 times
Been thanked: 98 times

Re: Colorer — syntax highlighting and text parsing

Post by HaRT » Mon 24 Dec, 2012 12:34

kamil
In Colorer, you'd need to edit the schemes for those file kinds you want the TABs highlighted in.
If you need to see TABs regardless of the file syntax, I'd recommend you the Visualizer plugin.
Фар есть инструмент, а не нянька. © 2009 DrKnS

kamil
Posts: 20
Joined: Fri 13 Apr, 2012 19:19

Re: Colorer — syntax highlighting and text parsing

Post by kamil » Mon 24 Dec, 2012 13:37

Thanks for you answer HaRT.

In fact I did use Visualizer for that and it was great, but it does not seem to even load anymore, with the latest Far.
http://code.google.com/p/evil-programme ... ualizer.7z

So maybe any ideas how to fix it?

Post Reply

Return to “General Plug-In Discussions”

Who is online

Users browsing this forum: No registered users and 1 guest