AkelPad 4.7.4 Released

English main discussion
Post Reply
  • Author
  • Message
Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

AkelPad 4.7.4 Released

Post by Instructor »

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.

Offline
Posts: 119
Joined: Sat Jan 12, 2008 10:16 am
Location: Shantou, China

ReplaceDialog bug

Post by cnnnc »

Hi, Instructor

AkelPad 4.7.4+ crash on my WinXP SP3 when ... for example, I try change

Code: Select all

0x123
0x124
0x125
...
into

Code: Select all

0x010203
0x010204
0x010205
...
so I turn on Option:RegExp, find

Code: Select all

(0x)(\d)(\d)(\d)
replace with

Code: Select all

$10$20$30$4
or

Code: Select all

$1\0$2\0$3\0$4
or

Code: Select all

$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 $.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

cnnnc
Try 4.7.5 development version.
viewtopic.php?p=17857#p17857

Offline
Posts: 119
Joined: Sat Jan 12, 2008 10:16 am
Location: Shantou, China

Post by cnnnc »

Instructor, still the problem there.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

cnnnc
What problem?

Offline
Posts: 119
Joined: Sat Jan 12, 2008 10:16 am
Location: Shantou, China

Post by cnnnc »

Edit.c 1.303 still crash when I click "Replace All"
Edit.c 1.304 not crash now, but find

Code: Select all

(0x)(\d)(\d)(\d)
replace with

Code: Select all

$10$20$30$4
or

Code: Select all

$1\0$2\0$3\0$4
or

Code: Select all

$1$\0$2$\0$3$\0$4
, I get

Code: Select all

3
4
5
...
or

Code: Select all

0x\01\02\03
0x\01\02\04
0x\01\02\05
...
or

Code: Select all

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: Select all

0x010203
0x010204
0x010205
...

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

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

JScript replace method description:
$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)

Offline
Posts: 119
Joined: Sat Jan 12, 2008 10:16 am
Location: Shantou, China

Post by cnnnc »

Instructor wrote:JScript replace method description:
$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!
Post Reply