SynWrite (Syn2)

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2AEN007
U can test command "Options- Restore lexer styles". Install beta .exe only(No LexLib.lxl update). Then open config of all your lexers, press OK. Styles backuped in SynStyles.ini. then u can install LexLib.lxl and call "Restore lexer styles".
www.uvviewsoft.com/bb/
xoxogen77
Junior Member
Junior Member
Posts: 9
Joined: 2011-10-30, 17:34 UTC
Location: korea

Post by *xoxogen77 »

Hi Alextp.

I want syn2.exe to keep all tabs I've been using when I close this program and then open it with another file.

But it shows only the new tab.

I have been looking for the option but no clue.

regards.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2xoxogen77
U can use "File -- Save session/ Add session".
User avatar
AEN007
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-10, 15:44 UTC

Post by *AEN007 »

25January2012

Greetings.

I am using SyW 2.9.462.
It seems the ALT-F combo has some bug(s)
if SyW has a file open that was opened via the XP contextmenu -
(even if SyW was subsequently closed & reopened).

With only 1 file open & opened via the XP contextmenu,
ALT-F causes SyW to give the error message»
List index out of bounds (-1)
With 2 or more files open & at least 1 opened via the XP contextmenu,
ALT-F causes SyW to switch to the tab of the file opened via the XP contextmenu.
With 2 or more files open & at least 1 opened via the XP contextmenu,
if/when SyW is focused on the tab of the file opened via the XP contextmenu,
ALT-F does nothing.
xoxogen77 wrote:I want syn2.exe to keep all tabs I've been using when I close this program and then open it with another file.
I find that SyW will reopen all tabs that were open when SyW was closed
unless SyW is launched to open a new file via the contextmenu ...

I'll take a look at the lexer update ASAP ...
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

What do u mean "ALT+F"? Alt + F key? it opens File menu. How it depends on tab count opened?
User avatar
AEN007
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-10, 15:44 UTC

Post by *AEN007 »

26January2012
Ja, ALT-F normally opens the &File dialog like ALT-E opens the &Edit dialog.
I have discovered that the problems I described in my previous post are ONLY happening
if/when I open files into SyW via the XP contextmenu
from xplorer² freeware file manager.
ALT-F works just fine when I open files into SyW
via the XP contextmenu from any other freeware file manager.
Unfortunately I use x² in combo with SyW all the time,
so I wonder what could be causing the problem?
All file managers execute the same XP contextmenu commandline.
User avatar
AEN007
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-10, 15:44 UTC

Post by *AEN007 »

3February2012

It seems what I wrote in my previous post was some bizarre anamoly ... never mind ...

The SyW download page says the current version is 3.0.560
but the current version About popup says 3.0.562.

The version info embedded in the SyW exe still says 2.7.0.0 ...
damjang
Senior Member
Senior Member
Posts: 215
Joined: 2003-10-09, 15:58 UTC
Contact:

Post by *damjang »

Also TC Plugin Manager is unable to show SyW version...
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Last is in About box. uploaded update after .560. I fix embedded ver info.
User avatar
AEN007
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-10, 15:44 UTC

Post by *AEN007 »

6February2012
Greetings.
Notepad2-mod 4.2.25.705 is now available and has the promised aviSynth syntax highlighting.
As far as I know, that is the only place to find aviSynth synhiliting.
Np2 (&Np2-mod) is(are) open source,
so SyW could probably use the Np2-mod avs lexer as a model for a SyW avs lexer ...
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Could u send me AVS lexer of NP2? Could u send 2-3 AVS files as well. Also give URLs to AVS format txt
User avatar
AEN007
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-10, 15:44 UTC

Post by *AEN007 »

7February2012

Greetings.

Notepad2 is the main/parent application.

Notepad2-mod is 1 of several customized "sub-versions" -
kind of like how Chromium is the main app and Google Chrome is a "sub-version" ...

The Np2 apps are install-free ("portable") even though not labeled "portable".
Upon 1st launch, Np2 apps create a Np2.ini file.
The Np2 apps allow the user to tweak the synhiliting (colors & etc.) but not the keywords.
(I have submitted to the Np2 author that I find that aspect of Np2 to be a shortcoming ...)

Anyway, you could/should download the Np2-mod app and source code from that link.
The only way to see the aviSynth lexer is to look at the source code.
I do not know how to work with the source code ...
(if I did, I would fully customize the AHK lexer to my liking ...)
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Hm, can u send me 2-3 AVS files? With most of features of AVS (int, str variables, functions, loops, ifs...).
Like what lexer AVS looks like? (like PHP, Perl?)
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

stuntstein
Junior Member
Junior Member
Posts: 14
Joined: 2006-12-01, 07:44 UTC
Contact:

search parameters from TC

Post by *stuntstein »

I really like SynWrite, it is fast! Thanks
But 2 things I miss. May be because I can't find the correct settings;

1) Inherit the search parameter from TC, also when using "Find Text" from "Find Files" dialog in TC.
When you search for a text string in files under "Find files" dialog SynWrite doens't use the same text string to search for! Is there a setting I'm missing?


2) Column selection.
Make copy, cut, paste operation with column mode. Cool feature to have.

SynPlus 2.7.3 can do both above, but has a horrible search dialog when using a standalone viewer/editor.
Post Reply