I just recently found this plug-in and I think it is great. I tried several plug-ins for syntax highlightng of the text and found that this one is most suitable for my needs.
Currently, I need this plug-in mostly because of VB Script highlighting. Unfortunately, its VBS highlighter is incomplete. I tried to improve it adding some elements, but I stuck in Syntax Designer.
Could author or someone another take a time to answer to some of my questions about this, please? Most important question is about its RegEx option in CodeFolding which is not working for me.
Questions about Syn 1.5 and its syntax highlighting
Moderators: Hacker, petermad, Stefan2, white
Re: Questions about Syn 1.5 and its syntax highlighting
Try SynMinus (great!), SynPlus or some highlighting editor like PSPad (recommended).Z wrote:I just recently found this plug-in and I think it is great. I tried several plug-ins for syntax highlightng of the text and found that this one is most suitable for my needs.
Currently, I need this plug-in mostly because of VB Script highlighting. Unfortunately, its VBS highlighter is incomplete. I tried to improve it adding some elements, but I stuck in Syntax Designer.
Could author or someone another take a time to answer to some of my questions about this, please? Most important question is about its RegEx option in CodeFolding which is not working for me.
My Best Wishes,
Eugen
Eugen
eugensyl, thanks for your answer. I much appreciate this.
Actually, I tried many text editors with syntax highlighting and all TC plug-ins with same feature, but I found Syn as most suitable for some light work. I don't want to start some flame about which is the best - this is only my opinion.
Most interesting feature for me is its Code Browser. I defined regular expressions for function/variable detection for Visual Basic/VB Script files and now it shows me all of them in a file. Not to mention that it has a possibility for almost unlimited number of different type of user-defined keywords/identifiers, each with different colors.
Unfortunately, during past few days I found that it is very, very buggy. It crashes TC without any reason. Code folding also has a problem with a text inside of comments and because of that I turned it off. I looked at its source code and if I could find some spare time I would try to improve it. But I don't believe it will be in the near future.
Regarding of editors for some more heavy work, most needed option for me is "Go To Definition". Almost any editor which I tried don't have that, except PrimalScript, but I need a freeware one. I could use VB5 CCE instead, it had such thing almost 20 years ago, and it is free. Also, I like its automatic capitalization of keywords - very few number of editors have that (UltraEdit, ???), none freeware.
Thanks again.
Actually, I tried many text editors with syntax highlighting and all TC plug-ins with same feature, but I found Syn as most suitable for some light work. I don't want to start some flame about which is the best - this is only my opinion.
Most interesting feature for me is its Code Browser. I defined regular expressions for function/variable detection for Visual Basic/VB Script files and now it shows me all of them in a file. Not to mention that it has a possibility for almost unlimited number of different type of user-defined keywords/identifiers, each with different colors.
Unfortunately, during past few days I found that it is very, very buggy. It crashes TC without any reason. Code folding also has a problem with a text inside of comments and because of that I turned it off. I looked at its source code and if I could find some spare time I would try to improve it. But I don't believe it will be in the near future.
Regarding of editors for some more heavy work, most needed option for me is "Go To Definition". Almost any editor which I tried don't have that, except PrimalScript, but I need a freeware one. I could use VB5 CCE instead, it had such thing almost 20 years ago, and it is free. Also, I like its automatic capitalization of keywords - very few number of editors have that (UltraEdit, ???), none freeware.
Thanks again.
Z
There is a freeware editor I use for basically anything, it is called jEdit. As the name says, it is a Java written editor. This is for me no problem. It can do all kinds of highlighting and though it does not have the "Go To Definition" standard, this can be achieved with a ctags file and a ctags plugin.
I have defined a hotkey that when I am on a function name and press this hotkey it takes me to the function or shows me a list of files where the function appears in which file then I can make my choice.
Just my personal preference
There is a freeware editor I use for basically anything, it is called jEdit. As the name says, it is a Java written editor. This is for me no problem. It can do all kinds of highlighting and though it does not have the "Go To Definition" standard, this can be achieved with a ctags file and a ctags plugin.
I have defined a hotkey that when I am on a function name and press this hotkey it takes me to the function or shows me a list of files where the function appears in which file then I can make my choice.
Just my personal preference

Registered user #92105
rolandd, thank you very much for your recommendation. From your description and screenshots from its web site I come to conclusion that it is a nice editor. But currently, I mostly need some lightweight software which can be used inside of TC as viewer. Eventually, it would be nice if I could edit some file with it, but this is not primary requirement.
If I want to do some more work on VB source code, I prefer MS VB editor. It has almost all what I need, but it could not be used as a (relatively fast-loading) lister.
This is too pity that sepa is discontinued his work on Syn.
If I want to do some more work on VB source code, I prefer MS VB editor. It has almost all what I need, but it could not be used as a (relatively fast-loading) lister.
This is too pity that sepa is discontinued his work on Syn.

I find JEdit somewhat bulky, but it's a long time since I last used it. Personally I like SciTE very much, and it has the advantage there is a lister plugin that uses it. Currently you can't switch to an edit mode, but other than that it has most of the features the editor has, like syntax highlighting and code folding