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 »

In new document type any word and enable word wrap. Set cursor to beginning of document. Now hold TAB or SPACE key until word is moved to line 2. Word is fixed at beginning of line 2. You can not move it again. But in status bar you see that position is still increased.

Unfortunately the same in ecdemo.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Yes, strange behaviour.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Btw issue with keys(Ctrl-shift-P) may resolve when i make Menu. Menu hotkeys will override current hotkeys.
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

sounds good. also Ctrl+P is still not working in read only mode.
Ctrl+1 - Ctrl+7 for jump to bookmarks could be fixed too in RO.
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

Here is only a small issue I just found out:
In an empty html or php file (0 bytes) open autocomplete by pressing ctrl+space. You got an exception. Css files are ok.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

fixed. Also fixed: on empty line (htm) call ACP: it adds tag without <. Now < added if previous char is not <.
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

I have just tested autocomplete in empty lines. I have never done that before.
There is another issue in autocomplete in empty lines: by selecting tag by mouse tag is entered twice. affected are html, php and css
If you enter autocomplete in html and click on first tag "<a>" then entered is "a a".
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

fixed (seems), see beta.
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

In beta I get exception at program startup if ruler bar is enabled
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

In empty file open autocomplete by pressing ctrl+space. You got an exception: FIXED
selecting tag by mouse, tag is entered twice: Fixed

A new issue: In htm press CTRL+Space. Now type "bo" to browse to body-tag. Autocomplete list is not changing tags. Old beta was ok.
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

A suggestion for toggle non-printable characters:

For all encodings except OEM these chars are used
Space: ansi char code 183 "· "
Tab: ansi char code 155 "›"

For OEM it is used:
Space: OEM char code 183 "À"
Tab: OEM char code 155 "ø"

Ansi code 183 "· " is equal to OEM char code 250 "· "
Ansi char "›" does not exists in oem table, so I suggest to use char "»" instead.

All except OEM:
Space: ansi code 183 "· "
Tab: ansi code 187 "»"

OEM:
Space: oem code 250 "· "
Tab: oem code 175 "»"
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Ok: just
oem code 175 "»"- not Ok for Russian table, it's "п" char. I use > instead..
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

Ah ok. I didn't tried russian table.
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

Here a few more things related to encoding and characters:

1. Not really important: When using for example Ansi<->OEM and select "changing encoding for the modified file" then char info in status bar for current char is not refreshed.

2. By clicking on char info in status bar, current char could be selected in char table if possible. Good for Ansi, OEM, KOI8. Not possible for Unicode, UTF-8 because char codes are not in table.

3. When you make main menu then option for "Convert encoding to..." would be useful. This is the same as making any change in file and select "changing encoding for the modified file".

Converting does this:
OEM char #169 "®" -> Ansi char #174 "®"

Only changing encoding does this:
OEM char #169 "®" -> Ansi char #169 "©"
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Agree. Making 1, 2- useful. 3- later(when menu will be).
Post Reply