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 »

Matthias030 wrote:When any file is open and there are unsaved changes, click open new file. New file is loaded and old unsaved file is lost
fixed.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

After select an autocomplete entry window is closed immediately after one mouse click. No second mouse click is possible
I tried to change it, no effect..
Also cannot fix issue with Bookmark keys and RO.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

who would like to test 'UTF w/o BOM' encoding? I have a beta
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

After select an autocomplete entry window is closed immediately after one mouse click. No second mouse click is possible

I tried to change it, no effect..
Also cannot fix issue with Bookmark keys and RO.
Both things are only "nice to have" but not essential. So anyway thanks for trying to fix!
who would like to test 'UTF w/o BOM' encoding? I have a beta
I don't have any test files for this encodings. So it's hard to test it for me.
User avatar
ND
Member
Member
Posts: 150
Joined: 2006-04-10, 16:24 UTC
Location: Sibiu, RO

Post by *ND »

Alextp wrote:who would like to test 'UTF w/o BOM' encoding? I have a beta
I work mostly with UTF8 text files, so I'd like to test the beta.
aNDreas Bolotă
The truth always carries the ambiguity of the words used to express it. (Frank Herbert, God Emperor of Dune)
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

atorg.net.ru/temp/beta/b.rar
User avatar
ND
Member
Member
Posts: 150
Joined: 2006-04-10, 16:24 UTC
Location: Sibiu, RO

Post by *ND »

Alextp wrote:atorg.net.ru/temp/beta/b.rar
I've used the LS-plugin (Syn2.wlx, not Syn2.exe) in read-only mode, on Win7 Ultimate (ro-RO timezone, but otherwise en-US locale) with TC 7.55.
I did not see any problems, but I do have some remarks:
- the string "UTF8, no BOM" doesn't fit in the status-bar (first & last letter not visible)
- the selection should be "UTF8" and "UTF8 with BOM", i.e. the correct UTF8 encoding does not contain the pseudo-BOM, which can only cause problems (see Wikipedia), for me in particular 1) when merging multiple files, and 2) when compiling ANSI-C files with UTF8 comments.

I'll get back to you after I test later today the edit-mode on WinXP Pro SP3 and Win7 Ultimate (both en-US locale, both with TC 7.55).

P.S. The reason I started using UTF8 a few years back is because I didn't find any correct codepage for ro-RO (all of them contain incorrect letters s-cedilla/t-cedilla instead of the proper ș/ț = s-comma/t-comma). But the way Windows Notepad.exe handles UTF8 is wrong (it was adding the pseudo-BOM, corrupting my files), which is why I always make it a point to tell people that "UTF8 without BOM" is a truism, because UTF8 is without BOM, therefore saying "UTF8" is enough for that.
aNDreas Bolotă
The truth always carries the ambiguity of the words used to express it. (Frank Herbert, God Emperor of Dune)
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

For any files encoded in "UTF-8 with BOM" I can only change encodings between "UTF-8" and "UTF-8 no BOM". It is not possible to select ANSI, KOI, OEM and so on.
the selection should be "UTF8" and "UTF8 with BOM"
I have looked into other editors. In UltraEdit and Notepad++ you can choose between "UTF-8" and "UTF-8 without BOM". This seems to be more common.
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

I have played around with autocomplete. For HTML and PHP autocomplete is ok, but not for CSS. I can see the autocomplete window in the following ways:

HTML: begin any html tag (press "<") or use CTRL+SPACE
PHP: only use CTRL+SPACE
CSS: not possible to get into autocomplete windows. For CTRL+SPACE nothing happens.
sgp
Senior Member
Senior Member
Posts: 355
Joined: 2005-01-31, 16:04 UTC

Post by *sgp »

:) good, something you did in the 6/28 beta has fixed a scrolling issue for me! In version 260 whenever I use the mouse wheel or PG UP/DN to scroll the LS plugin window, I can't go past the first page.
But the 6/28 beta scrolls just fine. Thanks.
User avatar
ND
Member
Member
Posts: 150
Joined: 2006-04-10, 16:24 UTC
Location: Sibiu, RO

Post by *ND »

Alextp wrote:atorg.net.ru/temp/beta/b.rar
I've played a little on WinXP Pro SP3 with edit-mode:

§1.
Problem with how history stores the last used encoding for a file: when using "UTF8, no BOM", the next time the file is opened as "UTF8" (any subsequent save changes the encoding by adding pseudo-BOM). I guess a separate marker is needed in history for "UTF8, no BOM".

§2.
This problem is common to both UTF8 and UTF8-with-BOM: Copy+Paste from outside works, but some chars cannot be entered directly in Syn2, e.g. arrows Alt+272 should become ►, and Alt+282 should become →, but Syn2 types ? for them. Also, ăĂ (a-breve) becomes aA (plain-a) -- this may be due to the input method ("Send, {U+0103}" via AHK_L), but that same method works for other chars (șȘțȚîÎâÂ…).
aNDreas Bolotă
The truth always carries the ambiguity of the words used to express it. (Frank Herbert, God Emperor of Dune)
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

@sqp: are you sure that there are scrolling related changes in new beta? In history file there is nothing documented. I have still trouble with scrolling in some files. Read-only and word wrap must be enabled.

You can try file "RegEx.html" in Readme-Subfolder of Syn2 directory. If I press ARROW DOWN it goes down some lines and then stops scrolling. If I disable word wrap or go into edit mode (F4) scrolling works perfect.
sgp
Senior Member
Senior Member
Posts: 355
Joined: 2005-01-31, 16:04 UTC

Post by *sgp »

Matthias030 wrote:@sqp: are you sure that there are scrolling related changes in new beta? In history file there is nothing documented. I have still trouble with scrolling in some files. Read-only and word wrap must be enabled.

You can try file "RegEx.html" in Readme-Subfolder of Syn2 directory. If I press ARROW DOWN it goes down some lines and then stops scrolling. If I disable word wrap or go into edit mode (F4) scrolling works perfect.
You're right, even the new beta doesn't scroll RegEx.html when RO is enabled.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

ND
- the string "UTF8, no BOM" doesn't fit in the status-bar (first & last letter not visible)
- the selection should be "UTF8" and "UTF8 with BOM"
-Fixed
-I looked in NotepadPP, it shows "UTF8 w/o BOM", so I 've chosen this.

2Matthias030
I know about cannot changing encoding if file's with BOM.
..
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2Matthias030
-CSS: not possible to get into autocomplete windows
fixed. I missed that lexer is "Style sheets " with " "
Post Reply