SynWrite (Syn2)

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

Moderators: white, Hacker, petermad, Stefan2

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 »

I think yep, u can't do it via "External viewer" option.
User avatar
Nigurrath
Senior Member
Senior Member
Posts: 225
Joined: 2003-02-05, 12:41 UTC

Post by *Nigurrath »

is there a way to import a notepad++ coloring syntax schema into synwrite?
always latest 32b TC on a WIN10 64b
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Nope.
rbon
Junior Member
Junior Member
Posts: 7
Joined: 2011-10-16, 09:01 UTC
Location: Italy

Post by *rbon »

Hi,
there are some plugin for add FTP feature for edit files on remore server?
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

No FTP plug yet.
rbon
Junior Member
Junior Member
Posts: 7
Joined: 2011-10-16, 09:01 UTC
Location: Italy

Post by *rbon »

About FTP feature,
if You are interested, there are sources on "Syn Text Editor" on Sourceforge:
- Syn Text Editor project: http://sourceforge.net/projects/syn/#item3rd-5
- sources page: http://sourceforge.net/projects/syn/files/syn/2.1.0.46/
btw
source code is written in "Delphi 5".
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Nice, but: no FTP in that editor... so no help.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

I see FTP commd, it's in File. Ok, tks, Ill see this editor.
User avatar
AEN007
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-10, 15:44 UTC

Post by *AEN007 »

26July2012

Greetings.

1) There seems to be some "issue" with the file named MSC#.tool;
- I first noticed this when a recent BartPE build I was doing failed because it could not copy that file;
- when I look at that file in 2xExplorer, the file name is MS?#.tool;
- I changed the name to msc#.tool;
when I copied the msc#.tool file into existing directories on other laptops,
it did not overwrite the file named MSC#.tool;

Is there some issue with the character masquerading as "C"?

2) The following item might relate to other issues I previously posted.
I now "mention"/post it in case SyW might consider it an issue to address.

SyW sometimes requires excessive CPU usage.
This seems to be because SyW makes ALL text in an open/focused file readable/accessible to the "system".

One could use the AutoHotkey (AHK) "WindowSpy" utility to see this.
The WSpy says what text is "Visible"; what text is "Hidden"; and
what text is "MatchModeSlowVisible" & "MatchModeSlowHidden".
Some other syntax editors like NP++, Np2(mod), SciTE& Programmer's Notepad
have very little text - neither visible nor hidden.
SyW, however, makes the ENTIRE file's text visible as TitleMatchMode=slow Visible Text -
which can be A LOT of text ...

Seems to me it would make SyW function better/faster
if SyW did NOT make the ENTIRE file's text visible ...
I have no idea how to go about that having never scripted a syntax editor.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

"issue" with the file named MSC#.tool;
I see, reason is non-english "C". Fixed-renamed.

About "text visible" don't know: do u see same with EC demo app: http://econtrol.ru/download/ec_editu.zip
? Pls write to support of econtrol.ru, don't know how to write such issue from me.
User avatar
AEN007
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-10, 15:44 UTC

Post by *AEN007 »

27July2012

Greetings.

I have no idea why you are telling me to write to econtrol.ru.
Anyway, I am sure you are more than clever/resourceful enough
to do something about this CPU usage / visible text issue ...
It seems (to me) that you should do something about this SyW CPU usage issue
because it seems (to me) to be the biggest SyW problem ...
and a big problem as well ...
User avatar
AEN007
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-10, 15:44 UTC

Post by *AEN007 »

27July2012

Greetings.
AEN007 wrote:NP++ can capture keystokes and save them as a user macro.
Is there some way to automate certain keystrokes in SW?
Today I noticed the SyW "Macros" menu item ...
I am looking forward to enhancing SyW with (much needed) macros!

Today I also noticed the /Run/Open file menu item.
That is great ... but it seems not (yet) possible to give this menu item a hotkey ...
Is or will there be that option?

Before this /Run/Openfile menu item came into being,
I created an "External tool" to run the open file
and gave it a hotkey - which now seems to no longer work ...
seems (to me) that I should be able to still use this external tool (with a hotkey)
while there is no hotkey option for /Run/Openfile
... what might be the problem?
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

--I have no idea why you are telling me to write to econtrol.ru.

Because i don't understand the issue. I don't use AHK Spy and can't test it. If you won't write to EControl, i may try to get AHK Spy.

--Anyway, I am sure you are more than clever/resourceful enough to do something about this CPU usage

Maybe. with AHK Spy


--it seems not possible to give this menu item a hotkey

It possible. Use hotkey named "Open file in default application" (U can enter "OPEN" in keys filter)

If have prob with hotkey, send me your Syn.ini and tell hotkey name.
User avatar
AEN007
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-10, 15:44 UTC

Post by *AEN007 »

27July2012

Thanks ...
I did not know that "Open file in default application" was for /Run/Openfile ...
I guess I no longer need my external tool + hotkey ...

The WSpy (which is really an AutoIT utility) is a simple/stand-alone exe in the AHK zip» AU3_Spy
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

I deleted WSpy text showin (beta not ready). But: it doesn't affect CPU usage. WordWrap calculation does it.
Post Reply