AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Synplus (plugin for Total Commander) as AHK-editor

 
Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources
View previous topic :: View next topic  
Author Message
Boskoop



Joined: 01 Jan 2005
Posts: 75

PostPosted: Sun Jan 08, 2006 10:06 pm    Post subject: Synplus (plugin for Total Commander) as AHK-editor Reply with quote

I'm using the shareware file manager Total Commander (http://www.ghisler.com/), a two window Norton Commander clone (highly recommendable, by the way). It is able to show file contents in one of the windows. With (normally free) plug ins you can take quick looks at pictures, text-files, Microsoft Office files, PDFs an so on

Yesterday I found a useful free plug-in, Synplus (http://www.totalcmd.net/plugring/synplus.html). That's an editor that allows to view and edit highlighted sourcecode in the preview window. It comes in a stand alone version too. It can be startet from Total Commander using the F3-key.

I wrote a quick and dirty Syntax highlighting file:
http://www.autohotkey.net/~Boskoop/Synplus_Autohotkey_Syntax_File.zip
To install it copy the file Autohotkey.hgl into the directory "Highlighters". Add the line AHK=Autohotkey.hgl to the [EXTENSIONS] section of HGLs.ini

If you never used Total Commander before: Consult the help file on how to install plug-ins. It's rather easy.

Thats how it looks:



Enjoy
Boskoop
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10716

PostPosted: Mon Jan 09, 2006 1:17 pm    Post subject: Reply with quote

Boskoop wrote:
Does anybody know how I can add an image to a post? Using the [img]Picture[/img]-Tag doesn't work.
I think it didn't work merely because the link inside the tags was wrong. I've updated the top post with the corrected URLs provided by Serenity and another visitor.
Back to top
View user's profile Send private message Send e-mail
SanskritFritz



Joined: 17 Feb 2005
Posts: 280
Location: Hungary, Budapest

PostPosted: Mon Jan 09, 2006 6:31 pm    Post subject: Reply with quote

Yah, we actively promote AutoHotkey on the Total Commander forum!
Just search on the forum for AutoHotkey Smile
_________________
Is there another word for synonym?
Back to top
View user's profile Send private message
Stefan



Joined: 30 Jul 2004
Posts: 74
Location: Deutschland (sorry for my english)

PostPosted: Fri Jul 13, 2007 10:26 pm    Post subject: Reply with quote

Thank you for the highlighter, Boskoop!

I was afraid i must do it myself Very Happy
Have you updated the highlighter in the mean time please?


There is an second lister plugin called "syn" for Total Commander too.
http://sepa.spb.ru/?syn_eng



---------

And on this web side there is an tool to collect your code snippets in an portable database witch use the same highlighter.
Good search, stand alone with ini, freeware.
SynTree - Tree-like code snippets organizer
http://sepa.spb.ru/?syn_eng


_________________
Stefan

This post was created with the kindly help of http://dict.leo.org/ and remember: “Allways look on the bright side of Life”
Back to top
View user's profile Send private message
urlwolf



Joined: 16 Mar 2006
Posts: 148

PostPosted: Thu Dec 27, 2007 12:24 am    Post subject: Reply with quote

I'd love to use this highlighter, but I followed the instructions and all I got was an error:
"unknown file format" when using "highlights.exe" in the highlighter folder.

Maybe the plugin needs to be updated?

Thanks!
Back to top
View user's profile Send private message
Boskoop



Joined: 01 Jan 2005
Posts: 75

PostPosted: Thu Dec 27, 2007 4:54 pm    Post subject: Reply with quote

I found Synplus when looking for an editor two years ago. I must admit, I never used it (too slow on my old computer). I settled with Notepad++. I never updated the syntax file. But it was easy as far as I remembember, using the command lists provided with AHK (Autohotkey\Extras\Editors\Syntax\).

I tried the newest version of Synplus, 2-7-3. It comes without the HGLs.ini-File. I copied the autohotkey.hgl-file into the Highlighters directory. Then I ran the run_hlsett.bat and got a GUI which made it possible to include Autohotkey and exclude other highlighters- which made synplus much faster too. It works fine with Total Commander 7.02a- and I think I will keep it this time Smile

Thanks for reminding me of Synplus

Boskoop
Back to top
View user's profile Send private message
urlwolf



Joined: 16 Mar 2006
Posts: 148

PostPosted: Thu Dec 27, 2007 9:07 pm    Post subject: Reply with quote

I'd love to use:
SynTree - Tree-like code snippets organizer
http://sepa.spb.ru/?syn_eng

to collect bits of ahk, and have them done with syntax highlighting.

Probably the syntax highlighting will not happen anytime soon.

another option may be to create a project in PSpad and just add one file per 'code bit'. the problem is that you cannot keep then in a tree nor add icons like in SynTree.

Do you use any program to keep code bits?

Thanks
Back to top
View user's profile Send private message
urlwolf



Joined: 16 Mar 2006
Posts: 148

PostPosted: Fri Dec 28, 2007 12:43 am    Post subject: Reply with quote

by the way here's a fantastic program that I'm using to collect code snippets:

total text container
http://sourceforge.net/projects/totaltext/

It does many other things (calendars, todos, contacts, spreadsheets)...

But why I think it'd be useful for ahk people is because it does like syntree but using synPlus, not syn. That way, one could use the syntax file on this thread.

I tried and didn't get it to work.
Posted in their forum.

If anybody succeeds, please post the solution here.

Thanks
Back to top
View user's profile Send private message
urlwolf



Joined: 16 Mar 2006
Posts: 148

PostPosted: Fri Dec 28, 2007 3:03 pm    Post subject: Reply with quote

Ok, I'm trying to fix the synplus syntax file on my own. I noticed that all other syntax files use <W>command<\W> instead of <word value ="command">.

I did a global replace and the syntax file still doesn't work. It's a mystery to me...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group