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 

AkelPad 4.7.4 Released

 
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: 5419

PostPosted: Sun Apr 08, 2012 7:04 pm    Post subject: AkelPad 4.7.4 Released Reply with quote

Changed: Unicode files without BOM now displayed as "without BOM" instead of "*BOM".

Added: support for regular expressions in find/replace dialog.
Added: possibility to add status bar delimiter with "StatusUserFormat".
Added: variables for "StatusUserFormat":
"%lb" - number of the first selected line;
"%le" - number of the last selected line;
"%ls" - count of lines in selection.
Added: AkelUpdater in installer.
Added: menu item to open AkelUpdater.

Fixed: split window in SDI mode.


<<Download>>


Last edited by Instructor on Fri May 04, 2012 3:10 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
cnnnc



Joined: 12 Jan 2008
Posts: 116
Location: Shantou, China

PostPosted: Thu May 03, 2012 1:59 am    Post subject: ReplaceDialog bug Reply with quote

Hi, Instructor

AkelPad 4.7.4+ crash on my WinXP SP3 when ... for example, I try change
Code:
0x123
0x124
0x125
...

into
Code:
0x010203
0x010204
0x010205
...

so I turn on Option:RegExp, find
Code:
(0x)(\d)(\d)(\d)

replace with
Code:
$10$20$30$4
or
Code:
$1\0$2\0$3\0$4
or
Code:
$1$\0$2$\0$3$\0$4

then I click "Replace All"
Soon a MessageBox (Message translated by Google):
=============
"0x0042e437" instruction "0x00725f64" referenced memory. The memory could not be "written".

To terminate the program, click "OK."
To debug the program, click "Cancel."
-----------------------
...OK......Cancel...
=============
If I click "Replace" button, AkelPad still alive, but she could not take me what I want.

Most text editor have only $0-$9 for group replacement. Maybe current AkelPad haven't limit the number of group.

BTW, I prefer use \n to $\n. I think you can change $0-$9 to \0-\9, then all in \, give up $.
Back to top
View user's profile Send private message Send e-mail
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5419

PostPosted: Thu May 03, 2012 6:26 pm    Post subject: Reply with quote

cnnnc
Try 4.7.5 development version.
http://akelpad.sourceforge.net/forum/viewtopic.php?p=17857#17857
Back to top
View user's profile Send private message Send e-mail
cnnnc



Joined: 12 Jan 2008
Posts: 116
Location: Shantou, China

PostPosted: Fri May 04, 2012 12:50 am    Post subject: Reply with quote

Instructor, still the problem there.
Back to top
View user's profile Send private message Send e-mail
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5419

PostPosted: Fri May 04, 2012 4:08 am    Post subject: Reply with quote

cnnnc
What problem?
Back to top
View user's profile Send private message Send e-mail
cnnnc



Joined: 12 Jan 2008
Posts: 116
Location: Shantou, China

PostPosted: Fri May 04, 2012 9:49 am    Post subject: Reply with quote

Edit.c 1.303 still crash when I click "Replace All"
Edit.c 1.304 not crash now, but find
Code:
(0x)(\d)(\d)(\d)

replace with
Code:
$10$20$30$4
or
Code:
$1\0$2\0$3\0$4
or
Code:
$1$\0$2$\0$3$\0$4
, I get
Code:
3
4
5
...
or
Code:
0x\01\02\03
0x\01\02\04
0x\01\02\05
...
or
Code:
0x\[0012]1\[0012]2\[0012]3
0x\[0012]1\[0012]2\[0012]4
0x\[0012]1\[0012]2\[0012]5
...
. How can I get the result below?
Code:
0x010203
0x010204
0x010205
...
Back to top
View user's profile Send private message Send e-mail
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5419

PostPosted: Fri May 04, 2012 10:44 am    Post subject: Reply with quote

cnnnc
What: (0x)(\d)(\d)(\d)
With: $010$020$030$4

JScript replace method description:
Quote:
$n The nth captured submatch, where n is a single decimal digit from 1 through 9. (JScript 5.5 or later)
$nn The nnth captured submatch, where nn is a two-digit decimal number from 01 through 99. (JScript 5.5 or later)
Back to top
View user's profile Send private message Send e-mail
cnnnc



Joined: 12 Jan 2008
Posts: 116
Location: Shantou, China

PostPosted: Sat May 05, 2012 12:18 am    Post subject: Reply with quote

Instructor wrote:
JScript replace method description:
Quote:
$n The nth captured submatch, where n is a single decimal digit from 1 through 9. (JScript 5.5 or later)
$nn The nnth captured submatch, where nn is a two-digit decimal number from 01 through 99. (JScript 5.5 or later)

Oh... I thought there only $n, not $nn. Thanks!
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English) All times are GMT
Page 1 of 1

 
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