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 ... 10, 11, 12, 13  Next
 
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English)
View previous topic :: View next topic  
Author Message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5381

PostPosted: Fri Mar 22, 2013 8:22 am    Post subject: Reply with quote

KDJ wrote:
Text (at the end is new line char)...
Test version

Quote:
It should be...
It should be:
Code:
xbb
bbbx
Probably you mixed "Find next" and "Replace all" behavour of "\a.". When you press "Find next" first time, first "b" is selected - search range was from first symbol to last. When you press "Find next" second time, second "b" is selected - search range was from second symbol to last.
Back to top
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1372
Location: Poland

PostPosted: Fri Mar 22, 2013 2:46 pm    Post subject: Reply with quote

Instructor
Test version is OK, thank you very much.

Quote:
Probably you mixed "Find next" and "Replace all" behavour of "\a.". When you press "Find next" first time, first "b" is selected - search range was from first symbol to last. When you press "Find next" second time, second "b" is selected - search range was from second symbol to last.

Yes, I compared "Replace" function with "Replace all".
In the case of "Replace", the search range is variable. If you press "Replace" button 8 times, the result is:
Code:
xxxxxxxx

In the case of "Replace all", the search range is constant (only one). And the result is (Count of changes = 2):
Code:
xbb
bbbx

I wonder what the value should return the function "Count all occurrences". 8 or 2?
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1372
Location: Poland

PostPosted: Sun Mar 24, 2013 2:33 pm    Post subject: Reply with quote

Instructor
In "Find/Replace" dialog with regular expressions the following expression generates "Syntax error":
ab+c+|d
In the previous version it works well.
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1372
Location: Poland

PostPosted: Mon Mar 25, 2013 6:56 pm    Post subject: Reply with quote

Still about regular expressions.

Find:

(^a$a*)+ - works, no syntax error
(^a*$a*)+ - AkelPad hung


Replace:

Text: any
What: .*
With: A\0Z

---
Direction: Begining

"Replace all" result:
AanyZAZ

"Replace" 1 result:
AZany
"Replace" 2 result:
AAZanyZ
Search finished.

---
Direction: In selection
Selected text: any

"Replace all" result:
AanyZAZ

"Replace" 1 result:
AanyZ
"Replace" 2 result:
AanAyZZ
"Replace" 3 result:
AanAyAZZZ
"Replace" 4 result:
AanAyAZAZZZ
"Replace" 5 result:
AanAyAZAZAZZZ
and so on ...

---
Direction: In selection
No selection.
Caret position - after "any".

"Replace all" result:
any
Count of chages: 0

"Replace" 1 result:
anyAZ
"Replace" 2 result:
anyAAZZ
"Replace" 3 result:
anyAAAZZZ
...
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1372
Location: Poland

PostPosted: Tue Mar 26, 2013 8:54 pm    Post subject: Reply with quote

Dialog "Settings", tab "Registry".
After pressing "Clear" button, does not work the keyboard (lost focus).
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5381

PostPosted: Fri Mar 29, 2013 2:05 pm    Post subject: Reply with quote

KDJ wrote:
ab+c+|d

KDJ wrote:
(^a*$a*)+ - AkelPad hung

KDJ wrote:
Text: any
What: .*
With: A\0Z

KDJ wrote:
Dialog "Settings", tab "Registry".
Test version
Back to top
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1372
Location: Poland

PostPosted: Fri Mar 29, 2013 6:39 pm    Post subject: Reply with quote

Instructor
Everything works fine except:
(^a*$a*)+

Text for test:
Code:
any

text

AkelPad will be hanged.
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5381

PostPosted: Sat Mar 30, 2013 3:45 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: 1372
Location: Poland

PostPosted: Sat Mar 30, 2013 1:31 pm    Post subject: Reply with quote

Thanks Instructor, now is OK.
Back to top
View user's profile Send private message
pureocean



Joined: 31 Mar 2013
Posts: 7

PostPosted: Sun Mar 31, 2013 4:52 am    Post subject: Reply with quote

Firstly, Thanks you so much for AkelPad's development. Simple but wonderful and useful features utility. I always use every day! Thank you all for your efforts

It's a bug? I don't sure. I just wanted to let you know:

In last SVN builds, MPC-HC's last version settings file (INI) text format is changed. AkelPad can't display properly. Example file: http://ge.tt/api/1/files/3ZQfhcc/0/blob?download

P.S.: I got used to see original Notepad's Blue Icon. I always change "Icon Group" of every AkelPad's new version with original Notepad.exe's "Icon Group". It's easily with ResourceHacker. Of course, it's personal preference. Smile
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1372
Location: Poland

PostPosted: Sun Mar 31, 2013 11:29 am    Post subject: Reply with quote

pureocean
It is no a bug.
Your file mpc-hc.ini is encoded in UTF-8.
Probably, the previous version of the file was encoded in UTF-16LE.
The code page used to decode the file is displayed in the status bar.
If you have selected the option "Options"->"Settings"->"Registry"->"Remember code page", AkelPad remember the code page for recently opened files.
Uncheck this option and then the file should be displayed correctly.
Another solution:
Open mpc-hc.ini in AkelPad, press F12 (or right click on code page section in status bar) and run from context menu "Redetect".
Back to top
View user's profile Send private message
pureocean



Joined: 31 Mar 2013
Posts: 7

PostPosted: Mon Apr 01, 2013 3:55 am    Post subject: Reply with quote

KDJ, Thank you for the reply and tips.

Before one minute, I've read your message. And clicked to AkelPad. Strange: AkelPad just now can open properly. I was very suprised. No need to apply your suggestions. Still thanks for tips because it will be taught a lesson. Wink
Best regards!
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1372
Location: Poland

PostPosted: Fri May 24, 2013 5:38 pm    Post subject: Reply with quote

Don't work single replace with regular expressions:
Text: abxaby
What: (?<=a)b
With: c
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5381

PostPosted: Sun Jun 09, 2013 3:59 am    Post subject: Reply with quote

KDJ
Regular expressions still seaching from begin to end, so (?<=a) must be in the search range.
Back to top
View user's profile Send private message Send e-mail
TheDutchJewel



Joined: 03 Jan 2011
Posts: 13

PostPosted: Tue Jun 11, 2013 3:00 pm    Post subject: Caret bug in v4.8.4 Reply with quote

After updating to v4.8.4 the caret does only appear in new created files, not is saved/reopened ones.

Tested with x86 & x64 version.
Back to top
View user's profile Send private message Visit poster's website
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 ... 10, 11, 12, 13  Next
Page 11 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