Page 5 of 13
Posted: Sat Sep 15, 2012 6:48 am
by AEN007
15September2012
Greetings.
I did not understand what "and tuned with Exit plugin" meant ...
then I (accidentally) found the Exit plugin ... then I saw the KDJ posts ...
so I am slowly "getting up to speed" ... thanks for the help ...
I used ResourceHacker to also change the AkP.exe icon.
The AkP forum AP gif image should be the AkP.exe icon ... not that dull olive folder!
I have not had time yet to check out the PluginText.js script ... should
Code: Select all
"Disable Esc" Command(0) Hotkey(27)
be Command(-1)? -
which would/should ignore the accelerators table
whereas Command(0) would/should totally disable Esc ...
Posted: Sun Sep 16, 2012 4:17 pm
by KDJ
Find/Replace with regular expressions in AkelPad ver. 4.7.9.
"\b" and "\B" do not work.
"\b" for anything not matches.
"\B" matches any symbol boundary.
PS: Settings -> Editor 2 -> Word delimiters is turned off.
Posted: Sun Sep 16, 2012 7:10 pm
by Instructor
Posted: Sun Sep 16, 2012 8:48 pm
by KDJ
Instructor
Not have improved. Compare with SearchReplace.js.
Regular expressions:
Text for test:
Posted: Mon Sep 17, 2012 3:35 pm
by Instructor
KDJ
And what is wrong? "." is any symbol. It can be "["? Yes, it can. After "[" follow "]". It is delimiter? Yes, it is.
Probably JScript RegExp implementation authors have different logic.
Posted: Mon Sep 17, 2012 7:31 pm
by KDJ
Instructor
#1
It seems to me that it should be as follows:
"\b" - it is word boundary, not delimiter. Occurs between delimiter character and non delimiter character. In the sample text, word boundaries are between the following pairs of characters:
")A"
"C{"
">D"
"F "
" K"
"M-"
"-X"
"\B" - is non word boundary, exist between other pairs of characters ("Delimiter|Delimiter", "WordChar|WordChar"), e.g.:
"[]"
"AB"
".\b" - means any character on the left side of word boundary. Should be match following characters:
".\B" - means any character after which there is no word boundary. Should be match following characters:
Please check how it works in Notepad++ and PSPad or here:
http://www.w3schools.com/jsref/tryit.as ... xp_charset
#2
Action ".\b" and ".\B" depends on whether it is turned "Word delimiters".
We perform the following steps:
1. run AkelPad,
2. turn off Settings->Editor 2->Word delimiters,
3. close AkelPad,
4. run AkelPad again.
Now:
".\b" - for anything not matches.
".\B" - matches any symbol.
Posted: Tue Sep 18, 2012 5:55 pm
by Instructor
KDJ
#1 Changed description of the \b \B metacharacters.
#2 Fixed.
Posted: Tue Sep 18, 2012 8:36 pm
by KDJ
Instructor wrote:#1 Changed description of the \b \B metacharacters.
Sorry, but I do not understand the action of "\b" in Find/Replace.
RegExp: "\(\b"
Text: "
( )
(ABC)"
Matches the bracket two times. Why?
Posted: Wed Sep 19, 2012 4:03 pm
by Instructor
ak0 wrote:Hello, it is not possible to insert a backslash (\) into the editor through using the normal key combination with Ctrl + Alt.
Test version.
KDJ
Yeah, something strange with current \b behavior. Trying to make it more standard:
Test version.
Posted: Wed Sep 19, 2012 4:39 pm
by ohehpa
Hi, I think I've found a bug which could truncate a double-byte character per 2,048 bytes while AkelPad is doing code page conversion.
Where can I send a patch to?
Posted: Wed Sep 19, 2012 4:45 pm
by Instructor
ohehpa
See email in program "About".
Posted: Wed Sep 19, 2012 4:52 pm
by ohehpa
Instructor wrote:ohehpa
See email in program "About".
Thanks. I'll send it later.
Posted: Wed Sep 19, 2012 7:10 pm
by KDJ
Instructor wrote:Yeah, something strange with current \b behavior. Trying to make it more standard:
Test version.
Now is better. I think you need to restore the previous description.
I noticed still the following bugs:
.\b
.\B
- Find next up (Shift+F3) works incorrectly.
\b.+\b
\B.+\B
\B[a-z]+\B
[\]]
- works incorrectly or don't works.
Posted: Thu Sep 20, 2012 4:35 am
by Instructor
Posted: Thu Sep 20, 2012 6:49 am
by KDJ
Instructor
This test version is dated 17-09-2012. Nothing has changed.