| View previous topic :: View next topic |
| Author |
Message |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4649
|
Posted: Mon Feb 04, 2013 4:58 am Post subject: |
|
|
cnnnc
I test it at the next way:
- Save result of UnicodeCharGen.js to "1.txt" file in UTF-16LE codepage.
- Reopen "1.txt".
- Save "1.txt" as "2.txt" in 54936 codepage.
- Reopen "2.txt".
- Save "2.txt" as "3.txt" in UTF-16LE codepage.
- Compare "1.txt" with "3.txt".
In the latest version files are identical. Can you describe more details on the problem? |
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4649
|
Posted: Mon Feb 04, 2013 2:32 pm Post subject: |
|
|
| cnnnc wrote: | | I have reproduced the bug... | Test version |
|
| Back to top |
|
 |
cnnnc
Joined: 12 Jan 2008 Posts: 115 Location: Shantou, China
|
Posted: Tue Feb 05, 2013 1:29 am Post subject: |
|
|
| Instructor wrote: | | cnnnc wrote: | | I have reproduced the bug... | Test version | Wonderful! It's OK now! Thank you, Instructor! |
|
| Back to top |
|
 |
cnnnc
Joined: 12 Jan 2008 Posts: 115 Location: Shantou, China
|
Posted: Wed Feb 06, 2013 6:03 am Post subject: |
|
|
A bug about %cl of StatusUserFormat, it show surrogate pair chars incorrect, for example a char \u020021 now be displayed same as \u0021's.
Another bug, but I don't know how to reproduce it, it's only happen when I switch destops via virtuaWin sometime. When it happen, then AkelPad toolbar and tab bar will be "disapear"! The Editing area will occupy the original position of the toolbar and tab bar. I have to change the AkelPad window state to "call back" toolbar and tab bar.
I have AkelPad in MDI mode, Maximized, and tab bar visuable.
_______________
AkelPad 4.8.1+
WinXP SP3 ChineseSimplified |
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4649
|
Posted: Wed Feb 06, 2013 6:34 am Post subject: |
|
|
| cnnnc wrote: | | A bug about %cl of StatusUserFormat, it show surrogate pair chars incorrect, for example a char \u020021 now be displayed same as \u0021's. | Test version
Some similar situation was reported recently. Seems like problem of this desktop soft. |
|
| Back to top |
|
 |
cnnnc
Joined: 12 Jan 2008 Posts: 115 Location: Shantou, China
|
Posted: Wed Feb 06, 2013 10:01 am Post subject: |
|
|
| Instructor wrote: | | cnnnc wrote: | | A bug about %cl of StatusUserFormat, it show surrogate pair chars incorrect, for example a char \u020021 now be displayed same as \u0021's. | Test version |
haha~ OK now! |
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4649
|
Posted: Wed Feb 06, 2013 3:41 pm Post subject: |
|
|
cnnnc
For the best surrogates tester
| Quote: | | Added: \x{n} metacharacter in regular expressions for surrogate pairs search/replace. | Test version |
|
| Back to top |
|
 |
cnnnc
Joined: 12 Jan 2008 Posts: 115 Location: Shantou, China
|
Posted: Thu Feb 07, 2013 2:28 am Post subject: |
|
|
| Instructor wrote: |
| Quote: | | Added: \x{n} metacharacter in regular expressions for surrogate pairs search/replace. | Test version |
Great! Thanks!  |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1068 Location: Poland
|
Posted: Sat Feb 16, 2013 10:12 pm Post subject: |
|
|
Find with RegExp.
#1
Doesn't find new line character:
\D
\W
#2
Doesn't work (last character in text):
.(?!.) |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1068 Location: Poland
|
Posted: Tue Feb 19, 2013 5:41 pm Post subject: |
|
|
Regular expressions in Find dialog:
\b+ - syntax error, is OK,
\B+ - AkelPad crashes,
\0 - I don't understand what is the effect of this expression. |
|
| Back to top |
|
 |
Infocatcher
Joined: 06 Aug 2007 Posts: 1433
|
Posted: Tue Feb 19, 2013 6:34 pm Post subject: |
|
|
\x00 works, so looks not implemented. |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1068 Location: Poland
|
Posted: Tue Feb 19, 2013 7:28 pm Post subject: |
|
|
| \0 also works, but in incomprehensible way and doesn't generate a syntax error. |
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4649
|
Posted: Wed Mar 06, 2013 3:08 pm Post subject: |
|
|
| KDJ wrote: | Doesn't find new line character:
\D
\W |
| Quote: | | \B+ - AkelPad crashes |
Test version
| KDJ wrote: | Doesn't work (last character in text):
.(?!.) | Such expression logic not supported.
| Quote: | | \0 - I don't understand what is the effect of this expression. | \0 - is entire matched pattern. Same as "$&" in JScript replace method. |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1068 Location: Poland
|
Posted: Wed Mar 06, 2013 7:36 pm Post subject: |
|
|
| Instructor wrote: | | KDJ wrote: | Doesn't find new line character:
\D
\W |
| Quote: | | \B+ - AkelPad crashes |
Test version |
Now is OK.
| Instructor wrote: | | Quote: | | \0 - I don't understand what is the effect of this expression. | \0 - is entire matched pattern. Same as "$&" in JScript replace method. |
I had in mind, the regular expression "\0" used in the field "Find, What" no in "Replace, With".
It looks as this matches to the border between any characters, and:
\0{2,5} - works,
\0? - works,
\0{2,} - crashes,
\0+ - crashes,
\0* - crashes. |
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4649
|
Posted: Thu Mar 07, 2013 6:28 am Post subject: |
|
|
| KDJ wrote: | | I had in mind, the regular expression "\0" used in the field "Find, What" no in "Replace, With". | Test version |
|
| Back to top |
|
 |
|