I think the name change is a good idea. Syn is also placed on some freeware download sites (Softpedia, Chip.eu, ..) to reach new users. So a good understandable name is helpful.Why do you want to change the name?
SynWrite (Syn2)
Moderators: Hacker, petermad, Stefan2, white
- Matthias030
- Senior Member
- Posts: 423
- Joined: 2007-03-04, 10:48 UTC
- Location: Berlin
trouble recognizing descript.ion files
I some cases when I press F3 to view a descript.ion file, I get the default built-in text viewer instead of Syn2. In other cases, F3 to view a descript.ion file gets me Syn2, as expected.
I noticed that the descript.ion file that triggers the built-in viewer contains character 0x04C2, while the other descript.ion file contains ASCII characters only.
For both files the status line shows: ANSI,Win,(None)
Is there a way to make TC/Syn2 recognize all descript.ion files the same?
Syn2 beta 4760, WinXP Pro SP3 English.
I noticed that the descript.ion file that triggers the built-in viewer contains character 0x04C2, while the other descript.ion file contains ASCII characters only.
For both files the status line shows: ANSI,Win,(None)
Is there a way to make TC/Syn2 recognize all descript.ion files the same?
Syn2 beta 4760, WinXP Pro SP3 English.
- Matthias030
- Senior Member
- Posts: 423
- Joined: 2007-03-04, 10:48 UTC
- Location: Berlin
Thanks.
BTW, what does the old (RTF...) detect string mean? Should I enable it back?
didn't workMatthias030 wrote:Options -> Misc -> Open in OEM encoding files: ion
didn't work either. I already had a detect string, so I changed toin wincmd.ini
10=%COMMANDER_PATH%\Extensions\Syn2\Syn2.wlx
10_detect="EXT="ION""
and restarted TC, but I still get the built-in viewer instead ofSyn2.7=%COMMANDER_PATH%\plugins\wlx\Syn2\Syn2.wlx
;7_detect="(EXT!="RTF") & (SIZE<20000000)"
7_detect="EXT="ION""
BTW, what does the old (RTF...) detect string mean? Should I enable it back?
- Matthias030
- Senior Member
- Posts: 423
- Joined: 2007-03-04, 10:48 UTC
- Location: Berlin
This string means that syn does never open RTF files and never opens files larger than 20000000 Bytes (around 19MB)what does it mean ;7_detect="(EXT!="RTF") & (SIZE<20000000)"
For your problem with *.ion files: Have you try to set Syn as first Lister plugin?
1=%COMMANDER_PATH%\plugins\wlx\Syn2\Syn2.wlx
1_detect="EXT="ION""
Please try also to disable this option in Syn:
Options -> Misc -> Non-text files: Open
Matthias030 wrote:didn't help. I used 0 instead of 1 because my wincmd.ini starts counting plugins at 0.Have you try to set Syn as first Lister plugin?
1=%COMMANDER_PATH%\plugins\wlx\Syn2\Syn2.wlx
1_detect="EXT="ION""It was set to "Don't open". If I set it to "Open" Syn2 opens both descript.ion files. So should we say that when character 0x04C2 is included in the file, Syn2 thinks that the file is non-text? Is that the correct behavior? I don't know.disable this option in Syn:
Options -> Misc -> Non-text files: Open
- Matthias030
- Senior Member
- Posts: 423
- Joined: 2007-03-04, 10:48 UTC
- Location: Berlin
Maybe it is a bug in detection routine for text files. Please can you upload both discript.ion files, so author can check the problem? Also you can send files to authors email address. It's shown in Help -> About dialog.It was set to "Don't open". If I set it to "Open" Syn2 opens both descript.ion files. So should we say that when character 0x04C2 is included in the file, Syn2 thinks that the file is non-text? Is that the correct behavior?
I see char codes in the status bar, after I open the file with File/Open because F3 doesn't open it.
I actually see two characters, the first one is 0x04 followed by 0xC2.
I don't know what those characters are or how they got into the descript.ion file.
But this is not the only descript.ion file that Syn2 doesn't open with F3.
It's just one file that I isolated.
I actually see two characters, the first one is 0x04 followed by 0xC2.
I don't know what those characters are or how they got into the descript.ion file.
But this is not the only descript.ion file that Syn2 doesn't open with F3.
It's just one file that I isolated.
- Matthias030
- Senior Member
- Posts: 423
- Joined: 2007-03-04, 10:48 UTC
- Location: Berlin