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 »

I ll add default ext to filename on saving <name_only>.
User avatar
AEN007
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-10, 15:44 UTC

Post by *AEN007 »

28November2011

Greetings.
Alextp wrote:Note SynWr has lexer for LXL. (U can do replace in it)
I don't understand what you are telling me here.
There are three Customize lexer options.
I've looked at each of them.
How would I search/replace color codes?

I tweaked some XP system display color settings
to be what I want to use in synhiliting because
SyW gives those XP system colors as hilite options ... slick

The SyW 190ßeta has some default formatting of seach results set to active ...
At first I thought that the Smart highlighting option was "stuck" in the on setting ...

I have had some more SyW problems with XML files.
I noticed that SyW always needs a few seconds to become properly active
when I switch to large XML files.
SyW also gave me the following error message
Control " has no parent window
when I had some sizable XML files open.

Because I do not use TotalCommander
(except for the free TC plugin that runs under PE (Bart/UBCD4W) boots)
I do not need the Syn2.wlx file? I could delete that?
Alextp wrote:I'll make Ctrl-Rt/left work like NP++.
I have to mention another keyboard issue.
When I do CTRL-SHIFT + LEFT or RIGHT to make a selection,
sometimes I release CTRL before the final character that I want,
so I can hit L or R one more time and finish the selection.
This always works in all other apps I've used but does not work in SyW.
If i do CTRL-SHIFT + LEFT or RIGHT and then release CTRL before hitting L or R again,
SyW will lose the items already selected while CTRL-SHIFT were pressed ...
Matthias030 wrote:These hotkeys that you want to change are hardcoded in syn for english language.
This weekend I tweaked the NP++ exe with Resourse Hacker
to make some (what I consider) GUI improvements.
I don't know I never thought to do that before.
I suppose I could/might do that with SyW to tweak the hardcoded English menu entries ...
AEN007 wrote:I'm looking for the best synhiliting for rtf code.
LaTex is the best by default I guess but not good enough.
AEN007 wrote:
Matthias030 wrote:You can drag the tab line down to get a second "tiled" window.
Thanks. It seems to be only for a split view of the same file?
Is there some way to tile viewing different files?
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Note SynWr has lexer for LXL. (U can do replace in it)
I don't understand what you are telling me here.
SynWr has lexer for LexLib.LXL file. You can edit LexLib.LXL in SynWr and replace text codes.
I don't know LXL format good
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

>>SyW always needs a few seconds to become properly active
when I switch to large XML files.
yes.

>>SyW also gave me the following error message
Control " has no parent window
I ll try to fix.


>I do not need the Syn2.wlx file?
Yes

>SyW to tweak the hardcoded English menu entries
U can create new translation (Using DKLang tool- see FAQ in Help)- and translate only items
u need.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

- fix: Ctrl-Shift-Left/Right then Shift-Left/Right
Next upd.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Control " has no parent window
when I had some sizable XML files open
Can't reproduce. How to do it?
User avatar
AEN007
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-10, 15:44 UTC

Post by *AEN007 »

1December2011
Greetings.
Like I said before it is hard to say how to reproduce the error messages I have seen.
I have had sizeable xml files open.
It might be related to the way SyW needs a few seconds to become properly active with xml files.
SyW also changes focus back and forth when I close a file.
Sometimes I try to do things in SyW when SyW is "not ready"...

I have encounted another CTRL-SHIFT issue.
Below is from an avs file (with Perl hiliting).
If I put the cursor at the end of the 30707 - between the 7 and the ) and then hit CTRL-SHIFT-LEFT,
the cursor will move to between the , and the 3 in the 30707

Code: Select all

# LoadPlugin("C:\Program Files\AVapps\AviSynth\plugins\DGDecode.dll")
# LoadPlugin("DGDecode.dll")
# MPEG2Source("JGB-19941111a.d2v")
DirectShowSource("J:\Vid\pVin\GDpIn\iv910910abe\19910910a01».mp4", fps=29.917, ConvertFPS=True)
Crop(4,6,-4,-4).BilinearResize(320,240)
Trim(134,30707)
BUT will then hilite/select EVERYTHING from (and including) the comma to the beginning of the file!
The cursor movement is correct but the hiliting/selecting is NOT.
SyW should hilite/select the 30707!

Yes, I need the Syn2.wlx file or
Yes, I do NOT need the Syn2.wlx file?
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Yes, u do NOT need the Syn2.wlx file.
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't see Selectin issue. hm.
Maybe Matthias030 can see issue?
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

Hm. I don't understand your problem.

Step1:
I have encounted another CTRL-SHIFT issue.
Below is from an avs file (with Perl hiliting).
If I put the cursor at the end of the 30707 - between the 7 and the ) and then hit CTRL-SHIFT-LEFT,
the cursor will move to between the , and the 3 in the 30707
Ok. This is working properly and I understand this step.

Step2:
BUT will then hilite/select EVERYTHING from (and including) the comma to the beginning of the file!
Cursor now is between "," and "3". How do you select "Everything"? What keys do you press after Step1? Ctrl+A, Ctrl+Shift+Pos1? Or do you press Ctrl+Shift+Left again until you reach the beginning of file?
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Matthias: i can't send u mail. Probs with SMTP...
User avatar
AEN007
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-10, 15:44 UTC

Post by *AEN007 »

3December2011

Greetings.

I was using the SyW 190ßeta when I encountered the 2nd CTRL-SHIFT problem I submitted.
Immediately after that I downloaded/"installed" 2.7.216,
which has neither of the CTRL-SHIFT problems I submitted.
AEN007 wrote:NP++ can capture keystokes and save them a user macro.
Is there some way to automate certain keystrokes in SyW?
Is(Could) that (be) possible?
What about adding the option to move the cursor down to the beginning of the next line after commenting a single line?
I have a NP++ "macro" that does that ...
I also have other NP++ "macros" to automate reptitive tasks ...
... like insert a character and move down
... delete a character and move down
... delete 2 characters and move down
... delete 4 characters and move down ...
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Not possible(yet).

-down to the beginning of the next line after commenting a single line?
N lines may be commented. How to move.
User avatar
AEN007
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-10, 15:44 UTC

Post by *AEN007 »

3December2011

Greetings.
AEN007 wrote:and several times SyW gave me an error message / popup ... something like~
Cannot focus on hidden window
Right now I have 2 sizable reg files open in SyW.
I am "eyeballing" similarity/differences by rapidly doing CTRL-TAB.
When I have seen what I want to see, I do PageDown in each and
start "eyeballing" similarity/differences again by rapidly doing CTRL-TAB.
SyW is repeatedly giving me the message
Cannot focus a disabled or invisible window
This seems to be related to the issue I posted previously
about SyW needing a second or two to become properly focused/ready,
and I try to do things in SyW before SyW is ready ...
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2AEN007
Can u record Video? U can get free UVScreencamera (maybe only russian version). www.uvsoftium.com.

Rus ver
Post Reply