AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bug reports
Goto page Previous  1, 2, 3, 4, 5, 6 ... 11, 12, 13  Next
 
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English)
View previous topic :: View next topic  
Author Message
AEN007



Joined: 14 Sep 2012
Posts: 7

PostPosted: Sat Sep 15, 2012 6:48 am    Post subject: Reply with quote

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:
"Disable Esc" Command(0) Hotkey(27)
be Command(-1)? -
which would/should ignore the accelerators table
whereas Command(0) would/should totally disable Esc ...
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1437
Location: Poland

PostPosted: Sun Sep 16, 2012 4:17 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5507

PostPosted: Sun Sep 16, 2012 7:10 pm    Post subject: Reply with quote

KDJ
Test version
Back to top
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1437
Location: Poland

PostPosted: Sun Sep 16, 2012 8:48 pm    Post subject: Reply with quote

Instructor
Not have improved. Compare with SearchReplace.js.
Regular expressions:
Code:
.\b
.\B

Text for test:
Code:
[]()ABC{}<>DEF    KLM-XYZ
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5507

PostPosted: Mon Sep 17, 2012 3:35 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1437
Location: Poland

PostPosted: Mon Sep 17, 2012 7:31 pm    Post subject: Reply with quote

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:
Code:
)C>F M-Z

".\B" - means any character after which there is no word boundary. Should be match following characters:
Code:
[](AB{}<DE   KLXY

Please check how it works in Notepad++ and PSPad or here: http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_regexp_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.
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5507

PostPosted: Tue Sep 18, 2012 5:55 pm    Post subject: Reply with quote

KDJ
#1 Changed description of the \b \B metacharacters.
#2 Fixed.
Back to top
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1437
Location: Poland

PostPosted: Tue Sep 18, 2012 8:36 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5507

PostPosted: Wed Sep 19, 2012 4:03 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
ohehpa



Joined: 19 Sep 2012
Posts: 4

PostPosted: Wed Sep 19, 2012 4:39 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5507

PostPosted: Wed Sep 19, 2012 4:45 pm    Post subject: Reply with quote

ohehpa
See email in program "About".
Back to top
View user's profile Send private message Send e-mail
ohehpa



Joined: 19 Sep 2012
Posts: 4

PostPosted: Wed Sep 19, 2012 4:52 pm    Post subject: Reply with quote

Instructor wrote:
ohehpa
See email in program "About".


Thanks. I'll send it later.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1437
Location: Poland

PostPosted: Wed Sep 19, 2012 7:10 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5507

PostPosted: Thu Sep 20, 2012 4:35 am    Post subject: Reply with quote

KDJ
Test version
Back to top
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1437
Location: Poland

PostPosted: Thu Sep 20, 2012 6:49 am    Post subject: Reply with quote

Instructor
This test version is dated 17-09-2012. Nothing has changed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English) All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6 ... 11, 12, 13  Next
Page 5 of 13

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group