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
Matthias030
Senior Member
Senior Member
Posts: 419
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

Cannot confirm: Windows 7 german and Windowx XP Pro SP3 german. Both TC 7.55b2

Is there any other lister plugin loaded before Syn2? Maybe another plugin makes TC crash.
Another idea: Rename Syn2.ini and SynState.ini to *.bak. Then syn2 creates new ini-files with default settings.
sgp
Senior Member
Senior Member
Posts: 355
Joined: 2005-01-31, 16:04 UTC

Post by *sgp »

Matthias030 wrote:Cannot confirm: Windows 7 german and Windowx XP Pro SP3 german. Both TC 7.55b2

Is there any other lister plugin loaded before Syn2? Maybe another plugin makes TC crash.
Another idea: Rename Syn2.ini and SynState.ini to *.bak. Then syn2 creates new ini-files with default settings.
I removed all lister plugins but Syn2 from wincmd.ini. TC still crashed. The only difference I could see was that sometimes it took 2 or 3 Ctrl+Q key presses before TC crashed.

I also renamed the two ini files. TC still crashed. I doubt it's Syn2.ini creating problems, because TC crashed even when there was no Syn2.ini at all in the plugin folder (it got created the next time I restarted TC).
User avatar
Matthias030
Senior Member
Senior Member
Posts: 419
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

I tried again and presses Ctrl+Q several times. Syn2 is stable for me. Cannot reproduce the problem.

Does this happens on all files? Can you test Ctrl+Q with a blank (0 byte) textfile. Maybe Syn2 has problems to change document encoding (ansi, unicode,...).
sgp
Senior Member
Senior Member
Posts: 355
Joined: 2005-01-31, 16:04 UTC

Post by *sgp »

Matthias030 wrote:I tried again and presses Ctrl+Q several times. Syn2 is stable for me. Cannot reproduce the problem.

Does this happens on all files? Can you test Ctrl+Q with a blank (0 byte) textfile. Maybe Syn2 has problems to change document encoding (ansi, unicode,...).
I have tried .ini and .txt files. It happened with both.
I also tried a zero-byte file. It happened there too.
Could the tab pane/tab layout matter?
I keep horizontal panes, with several tabs. TC crashes with quick view housed in either the upper or the lower pane.
User avatar
Matthias030
Senior Member
Senior Member
Posts: 419
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

Tried again with horizontal panes and several tabs, but no crash for me. But if you say, b210 was ok for you, so maybe there's a bug in b220.

In History-File there are 3 relevant changes since b210:
- search, \t in regex
+ opt "RO at startup"
- issue with Wrap

So playing around with Word-Wrap mode and Read-Only mode could help you.
sgp
Senior Member
Senior Member
Posts: 355
Joined: 2005-01-31, 16:04 UTC

Post by *sgp »

I played around with RO and word-wrap in b220 but TC still crashed.
Unfortunately I didn't save a copy of version b210 so I can't go back.
However, I have an older b192, and it does NOT make TC crash, just tested.

Hist.txt
=====
b220
+ exe icon
- search, \t in regex
+ opt "RO at startup"
- issue with Wrap
b210
+ exe: start w/o filename!
- "Copy"/"Cut" btns not updated, DblClick
- "Clear sel" btn not updated
+ opt "Show 'char at cursor' info"
- "Ask to overwrite RO files" didn't work
b192
...
User avatar
Matthias030
Senior Member
Senior Member
Posts: 419
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

Luckily I just found a copy of b210 in my download directory. I have uploaded it to rapidshare. You can get it here:
http://rapidshare.com/files/378469828/syn2.rar.html

If this is really a bug so only plugin author can fix it.
sgp
Senior Member
Senior Member
Posts: 355
Joined: 2005-01-31, 16:04 UTC

Post by *sgp »

Thanks for the download link, I got it and tested b210 again. Much to my surprise it DOES make TC crash. So the hypothetical bug was introduced before b210 and after b192.
I noticed another oddity. The history file in b210 and b220 does not list a version b192. It goes directly from b186 to b210. Perphaps the author branched b210 off of b186?
Thanks again for your 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 have a vacation
>The history file in b210 and b220 does not list a version..
It doesnt list all bilds
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

The diff between versions can be seen by comparing Hist files: even wth the different bild numbers, lines can be found.
bsbq
Junior Member
Junior Member
Posts: 2
Joined: 2010-06-06, 17:43 UTC

Post by *bsbq »

I confirm bug. b220 make tc crash on Win7.x86 TC7.50a

I try to use bad english to describe this bug

1.first time to use Syn2 b220 (synstate.ini does not exist), ctrl+q work ok. then ctrl+q agin to quit lister mode.
2.Syn2 has created synstate.ini (but synstate.ini has error,unreadable char)
3.ctrl+q again,I get a crash.

if i delete synstate.ini each time,ctrl+q always work ok.
i guess that crash happen when read wrong synstate.ini.

can anyone upload b192? let me have a try.
thanks.
sgp
Senior Member
Senior Member
Posts: 355
Joined: 2005-01-31, 16:04 UTC

Post by *sgp »

bsbq wrote:can anyone upload b192? let me have a try.
http://www.mediafire.com/file/tmxzvmyimyx/Syn2.b192.rar
bsbq
Junior Member
Junior Member
Posts: 2
Joined: 2010-06-06, 17:43 UTC

Post by *bsbq »

b192 work fine.
SynState.ini still has unreadable char.
In my understanding, *.ini should be text file.
User avatar
TLis
Member
Member
Posts: 111
Joined: 2004-06-02, 16:48 UTC
Location: Szczecin, Poland

Post by *TLis »

When I am searching for files containing a specific string in TC, I often go through the files found as follows:
1. F3 - opens a Lister
2. F3 - search in Lister for the string searched in TC
3. Esc, go to the next file and repeat the steps 1-3

With the standard Lister, it took over the search string from TC, so I did not have to enter it again. With Syn2 as the Lister, it remembers the string it searched for last, while in Syn2, but know nothing about the string I searched for in TC.

Is it possible to pass the string searched for in TC to Syn2?
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2TLis
to search string entered in TC, you should: uncheck Syn's "Allow Lister to call custom search dlg", and call Lister's find dlg by calling Lister up menu (not by calling Syn search button)


All
I cannot repeat bug with Ctrl-Q..
Post Reply