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 »

Support integration alt+F7 -- Syn:
Post
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

I put beta b810 to beta link. change in Replace dlg.
User avatar
Lesmo16
Senior Member
Senior Member
Posts: 380
Joined: 2005-02-07, 07:18 UTC
Location: Germany

Post by *Lesmo16 »

I like to use Syn.exe as my default (standalone) editor and need it as small as possible. It would be perfect with only the EXE and its INI file.

Actually the Syn.exe alone gives a "LexLib.LXL couldn't be found" message window at startup - although it seems to work properly after confirming that message.

Alex, would you please make some changes to let Syn work as such a minimalistic standalone editor?

Thanks in advance.
Everyone believing in telekinesis, raise my hand!
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

I can show msg "No lexlib" in statusbar. 'll try (still no minimalistic, since 2 Mb exe)
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

beta upd.
User avatar
Lesmo16
Senior Member
Senior Member
Posts: 380
Joined: 2005-02-07, 07:18 UTC
Location: Germany

Post by *Lesmo16 »

Alextp wrote:I can show msg "No lexlib" in statusbar.
Works fine - thanks, Alex! :D
Everyone believing in telekinesis, raise my hand!
User avatar
AlleyKat
Senior Member
Senior Member
Posts: 203
Joined: 2003-06-15, 10:51 UTC
Location: for personal info, see wiki
Contact:

Post by *AlleyKat »

Alextp > Are the language strings in a state where it is worth the effort to make a translation, or is this still too early? Given that it is still beta, I mean. I'd like to make the effort, but if changes are to be expected then it might as well wait for a more stable release version - it is quite a number of lines after all.
Translate your favorite Mozilla Extension ~ Your Language Is Important Too.
#tcmd on irc.freenode.net - the place to idle
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

You can translate release. In beta there'r 3 more lines, you can run DKlang later and add them (in a min.)
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

I found a way to make additional Pagecontrol. Cmd "Move to other page view" can be made like in Npad++. But who needs it? i don't need it by myself. Who uses it in N++?
User avatar
Dalai
Power Member
Power Member
Posts: 9964
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

First, thank you very much for your plugin! The feature list is amazing. The Lexer setup is really cool, especially the possibility to set pre-defined colors like "Window Background", "Button Face" and so on. I've never seen a plugin that had this feature, which makes TC (and its plugins) much more portable no matter what color scheme is used on other PCs.

I have a couple questions though:
  • Sadly, SynWrite starts a little slow compared to SynPlus when opening files. I even tested files of 0 bytes in size, so no lexer/parser would kick in. Is there any way and/or option to make SynWrite start up faster?
  • How can I set the file types that SynWrite should (not) open? I know I can try to set this in wincmd.ini but I'd like to exclude some file types...
  • Is there a way to customize the toolbar?
Furthermore there is a bug I noticed:
  • Translations of some elements are not shown when there is more than one Lister window opened (no matter if these two show the same file). The affected elements are: menu (if shown), toolbar, quick search, context menu of editor. The options dialog itself shows the translations correctly though.
Note: I'm always referring to the TC plugin, not the standalone EXE.

MfG Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

I found a way to make additional Pagecontrol. Cmd "Move to other page view" can be made like in Npad++. But who needs it? i don't need it by myself. Who uses it in N++?
Is this the "split screen" feature in N++? There is an option in "view" -> "move/clone current document". So 2 documents can be shown at the same time. 1 document on the left side and another document on the right side.

I'm not sure if I need it. Till now I have never used a feature like this. But maybe it is interesting to have it? What are thinking others?
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

I have a couple questions though:
1. Sadly, SynWrite starts a little slow compared to SynPlus when opening files. I even tested files of 0 bytes in size, so no lexer/parser would kick in. Is there any way and/or option to make SynWrite start up faster?

2. How can I set the file types that SynWrite should (not) open? I know I can try to set this in wincmd.ini but I'd like to exclude some file types...

3. Is there a way to customize the toolbar?
1. You can disable unneeded lexers to speed up program opening. In last beta it is also possible to use program without lexer support. You can rename subdir "HL" to anything else and test your program startup time. If program opens fast now, then the lexers slows down startup.

2. You can disable extensions in wincmd.ini. I think your string should look like this. But I'm not sure if it is 100% correct. So maybe try around a bit.

Code: Select all

[ListerPlugins]
13=%COMMANDER_PATH%\Extensions\Syn2\Syn2.wlx
13_detect="EXT!="RTF" | EXT!="DOC" | EXT!="DIZ""
3. Currently not
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Correction of Matthias:
1. you must *delete* (not disable) unneeded lexers. Delete not needed, save lexer library. Start will be faster
(yes, in last beta you can delete HL folder)

bug is known.
dkLang issue. Cannot fix.
User avatar
st
Junior Member
Junior Member
Posts: 85
Joined: 2005-05-30, 01:39 UTC
Location: Beijing
Contact:

font cannot be changed for bat files

Post by *st »

2.5.8
change a font for all files.
open a bat file. it seems to be still using Courier New.
change bat's style to use another font, or use no specific fonts.
it does not change anyway.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

almost fixed. To fix: open lexer config, Style tab, in 1st combo set not "Custom font".
there's issue: font saved somewhere, reset to some value then .
Post Reply