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

Post by *Matthias030 »

I see a new option "open text files only". It is a good idea. However there is a little issue: Run "syn2.exe newfile.txt" to create a new file. You see message "newfile.txt content is not text. Open anyway?"
For wlx it is not possible at all to open non-text files. Also if "open text files only" is disabled, wlx can't open non-text files. 0-byte files are not opened in wlx.
'<' now deleted, if added on ACP call and Esc pressed.
I have tested latest beta, but it is not yet included.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

For wlx it is not possible at all to open non-text files
is it needed? Thought not.0-byte: fixed.
'<' now deleted, if added on ACP call
If added *by Ctrl-Space*. Not by '<" typin..
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

If added *by Ctrl-Space*. Not by '<" typin..
It was my mistake. For "Ctrl+Space" all is fine. So it is not needed to remove "<" also for typing "<".
For wlx it is not possible at all to open non-text files
Maybe some users want to view also small binary files in Syn Wlx instead of builtin TC-Lister. So if it is easy to make an option it would be good.
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

"Line changed" color indicator on gutter doesn't work in newest beta.
After CTRL+S color is not changed.
yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Post by *yeskky »

Where to download the latest beta version,please?
#222405 Single user licence
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

So if it is easy to make an option it would be good
ok- Option


-"Line changed" color indicator on gutter
I see same in EC. Need to know: what is different with EC, with previous beta?
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

because of-

Code: Select all

      if not Value and (soUndoAfterSave in FOptions) then
        Lines.SaveUndoState
      else
        Lines.Modified := Value; //here blue color appears
    end
i can fix only in UndoAfterSave=off
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Can call Lines.saveLineStates. Fixd
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

thanks for new beta.
open non-text files in wlx - So if it is easy to make an option it would be good
ok- Option
Can't get it work. No non-text files are shown in wlx. Is it fixed in beta?
+ actions "Menu - encodings", "Menu - lexers", "Lister find prev".
These new items are placed at the end of key config dialog now. New items are seperated into new sections. Can you put "lister find prev" to "search & replace" section? "Zoom original" can go into section "Miscellaneous" to the other Zoom keys in the beginning in key config dialog.

I translate lexer dialog in the next days. I did not know that there are so many strings in lexer dialog :)
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

-Can you put "lister find prev" to "search & replace" section?

The key list is [1], [2], [3]... no names. If I put it into S&R section all translated strings(key list) move.
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

Ah, ok. Then it is ok that these new items are at the end of key config dialog.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Open text files only:
app: option on: prompt, option off: non-text opened
Plugin: option on: non-text not opened, option off: prompt
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

I had problems to force wlx to open non-text files. Everytime it was not loaded for non-text files. I have reinstalled plugin and created new ini. Now it works, but I doesn't know reason. Maybe it has to do with detect-string in wincmd.ini? Now it works as you said:
Plugin: option on: non-text not opened, option off: prompt
Better for me is: Plugin: option on: non-text not opened, option off: non-text opened (without prompt)
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

maybe to make "Open/don't open/prompt" for plugin?
I'll add
Last edited by Alextp on 2010-09-24, 09:49 UTC, edited 2 times in total.
Post Reply