Changed: plugin architecture. Update plugins.
Changed: "Replace all" with regular expressions works line by line.
Changed: replace with regular expressions uses \n and \nn instead of $n and $nn for backreferences.
Changed: processing capture after double mouse click.
Changed: automatic check "In selection" option works when multiple lines selected.
Added: option for prompting in text cycle search.
Added: possibility during replace with regular expressions to use escape characters: \r, \n, \t, \u0000, \x00 etc.
Added: manual parameter "AkelUpdaterOptions" - defines command line options for the AkelUpdater.exe.
Fixed: regular expressions support.
Fixed: active line on alternating line painting.
<<Download>>
AkelPad 4.7.5 Released
- Author
- Message
-
Offline
- Site Admin
- Posts: 6318
- Joined: Thu Jul 06, 2006 7:20 am
AkelPad 4.7.5 Released
Last edited by Instructor on Sun Jun 03, 2012 12:39 pm, edited 1 time in total.
-
Offline
- Posts: 119
- Joined: Sat Jan 12, 2008 10:16 am
- Location: Shantou, China
[bug]-SearchReplace
Hi,
There is bug about Edit.c 1.322 can be reproduced below:
This FileList come from TotalCommander DiskDirExtended.wcx.
NOTE:the fields seperator is \t, NOT three space chars.
I like to delete the fields of size, date and time, only to keep file/folder name, so I call Replace Dialog:
I try find "\t.*$", [*]RegExp, [*]MultiLine and (*)Beginning, but "$" not match the EOL.
I find: "\t.*(\n)", replace: "\1"
Click "Find Next", it seem work fine.
Click "&Replace", it doesnt work, it's action just as "Find Next", only jump to next location, no any change to the document.
Click "Replace All", it seems work fine and return what I expected.
If I find: "\t.*(\n)", replace: "\n"
Click "Replace All", it return the wrong result - the first char of line disappeared.
There is bug about Edit.c 1.322 can be reproduced below:
This FileList come from TotalCommander DiskDirExtended.wcx.
NOTE:the fields seperator is \t, NOT three space chars.
Code: Select all
D:\Totalcmd\Tools\Akelpad\
AkelPad.exe 362496 2012.05.04 22:51.38
AkelFiles\ 0 2010.07.23 21:24.52
AkelUpdater.exe 138850 2011.12.17 22:38.14
AkelAdmin.exe 16896 2012.05.04 22:50.58
AkelFiles\Plugs\ 0 2010.09.14 15:25.56
Clipboard.dll 22016 2012.05.03 22:18.20
Coder.dll 208896 2012.05.03 22:18.12
ContextMenu.dll 152064 2012.05.03 22:18.02
Exit.dll 17408 2012.05.03 22:18.00
Explorer.dll 40448 2012.05.03 22:16.42
Fonts.dll 9728 2012.05.03 22:17.58
Format.dll 41472 2012.05.03 22:17.54
FullScreen.dll 10752 2012.05.03 22:17.52
HexSel.dll 25088 2012.05.03 22:17.48
Hotkeys.dll 39424 2012.05.03 22:17.46
LineBoard.dll 35328 2012.05.03 22:17.42
Log.dll 54784 2012.05.03 22:17.38
Macros.dll 53248 2012.05.03 22:17.34
MinimizeToTray.dll 13824 2012.05.03 22:17.32
QSearch.dll 46592 2012.04.30 22:39.16
RecentFiles.dll 38912 2012.05.03 22:17.30
SaveFile.dll 22528 2012.05.03 22:17.26
Scripts.dll 68096 2012.05.03 22:17.14
Scroll.dll 27136 2012.05.03 22:17.04
Sessions.dll 53760 2012.05.03 22:17.00
SmartSel.dll 7680 2012.05.03 22:16.58
Sounds.dll 36864 2012.05.03 22:16.54
SpecialChar.dll 19968 2012.05.03 22:16.52
Speech.dll 16384 2012.05.01 17:20.40
Stats.dll 7168 2012.05.03 22:16.50
Templates.dll 13312 2012.05.01 17:17.06
ToolBar.dll 201216 2012.05.03 22:16.46
XBrackets.dll 45056 2012.04.30 22:39.38
AkelFiles\Plugs\Scripts\ 0 2010.09.14 15:25.58
Calculator.js 6232 2011.06.06 02:37.24
ColumnCounter.js 3843 2011.06.06 02:37.32
EvalCmd.js 969 2012.01.04 15:11.16
InsertDate.js 2545 2011.02.11 18:13.42
InsertFile.js 2900 2011.03.27 23:43.40
Keyboard.js 8852 2011.07.17 04:10.24
LinesFilter.js 25846 2012.02.11 20:05.00
RenameFile.js 3704 2011.06.06 02:37.52
SearchReplace.js 85673 2012.04.09 00:04.40
SpellCheck.js 3086 2011.06.06 02:37.58
Test.js 1697 2011.11.03 18:08.54
Test.vbs 1598 2011.02.11 18:19.44
AkelFiles\Plugs\Coder\ 0 2010.09.14 15:25.58
asm.coder 34496 2011.10.31 13:17.16
au3.coder 47672 2011.10.31 13:17.16
bat.coder 23526 2011.10.31 13:17.16
coder.coder 42818 2011.10.31 17:43.38
cpp.coder 30622 2011.10.31 13:58.30
cs.coder 27500 2011.10.31 13:17.16
css.coder 73558 2011.10.31 13:17.16
html.coder 75856 2011.10.31 13:17.16
ini.coder 20548 2012.01.05 21:51.00
inno.coder 34158 2011.10.31 13:17.16
lua.coder 43250 2011.10.31 13:17.16
nsis.coder 40536 2011.10.31 13:17.16
pascal.coder 29382 2011.10.31 13:17.16
perl.coder 32534 2011.10.31 13:17.16
python.coder 29242 2012.01.05 21:57.56
rc.coder 43436 2011.10.31 13:17.16
vbs.coder 27362 2011.10.31 13:17.16
js.coder 39170 2012.02.12 01:00.40
xml.coder 22362 2012.03.22 20:42.34
php.coder 208294 2012.04.22 17:01.10
sql.coder 84106 2012.04.21 08:25.58
AkelFiles\Plugs\Sounds\ 0 2011.11.17 09:44.36
Char.wav 6838 2010.01.09 16:17.28
Delete.wav 1978 2002.06.04 23:30.34
Movement.wav 3474 2001.11.12 19:00.36
Return.wav 16512 2010.01.09 16:18.46
AkelFiles\Plugs\Templates\ 0 2011.11.17 09:44.36
AkelFiles\Plugs\Templates\AkelPad\ 0 2011.11.17 09:44.36
Template.coder 9964 2011.12.30 01:11.44
scripts.js 596 2011.11.13 19:27.58
AkelFiles\Plugs\Templates\ASP.NET\ 0 2011.11.17 09:44.36
ASP_Csharp.aspx 356 2010.08.20 22:57.38
ASP_VB.aspx 356 2010.08.20 22:57.46
AkelFiles\Plugs\Templates\ASP\ 0 2011.11.17 09:44.36
ASP_JS.asp 325 2010.08.20 22:57.16
ASP_VBS.asp 323 2010.08.20 22:57.24
AkelFiles\Plugs\Templates\Assemblers\ 0 2011.11.17 09:44.36
win32-flat.asm 639 2011.12.11 03:14.34
AkelFiles\Plugs\Templates\BATCH\ 0 2011.11.17 09:44.36
batch.bat 224 2010.08.20 22:58.34
batch.cmd 224 2010.08.20 22:58.44
AkelFiles\Plugs\Templates\C-Language\ 0 2011.11.17 09:44.36
hello.c 147 2010.08.20 22:59.08
winhello.c 336 2010.08.20 22:59.16
AkelFiles\Plugs\Templates\CSS\ 0 2011.11.17 09:44.36
style.css 345 2010.08.20 22:59.54
AkelFiles\Plugs\Templates\HTML\ 0 2011.11.17 09:44.36
html4fs.html 279 2010.08.20 23:00.24
html4s.html 268 2010.08.20 23:00.30
html4ts.html 280 2010.08.20 23:00.36
html5.html 191 2010.08.20 23:00.42
AkelFiles\Plugs\Templates\PASCAL\ 0 2011.11.17 09:44.36
program.pas 58 2010.08.23 15:18.22
unit.pas 82 2010.08.23 15:18.12
AkelFiles\Plugs\Templates\XML\ 0 2011.11.17 09:44.36
general.xml 88 2010.08.20 23:01.08
AkelFiles\Plugs\Templates\XML\XHTML\ 0 2011.11.17 09:44.36
xhtml11.xhtml 378 2010.08.20 23:01.56
xhtml1fs.xhtml 394 2010.08.20 23:01.22
xhtml1s.xhtml 390 2010.08.20 23:01.32
xhtml1ts.xhtml 402 2010.08.20 23:01.46
AkelFiles\Langs\ 0 2010.09.14 15:25.56
AkelFiles\Docs\ 0 2010.09.14 15:25.56
I try find "\t.*$", [*]RegExp, [*]MultiLine and (*)Beginning, but "$" not match the EOL.
I find: "\t.*(\n)", replace: "\1"
Click "Find Next", it seem work fine.
Click "&Replace", it doesnt work, it's action just as "Find Next", only jump to next location, no any change to the document.
Click "Replace All", it seems work fine and return what I expected.
If I find: "\t.*(\n)", replace: "\n"
Click "Replace All", it return the wrong result - the first char of line disappeared.
Code: Select all
D:\Totalcmd\Tools\Akelpad\
AkelPad.exe
kelFiles\
kelUpdater.exe
kelAdmin.exe
kelFiles\Plugs\
lipboard.dll
oder.dll
ontextMenu.dll
xit.dll
xplorer.dll
onts.dll
ormat.dll
ullScreen.dll
exSel.dll
otkeys.dll
ineBoard.dll
og.dll
acros.dll
inimizeToTray.dll
Search.dll
ecentFiles.dll
aveFile.dll
cripts.dll
croll.dll
essions.dll
martSel.dll
ounds.dll
pecialChar.dll
peech.dll
tats.dll
emplates.dll
oolBar.dll
Brackets.dll
kelFiles\Plugs\Scripts\
alculator.js
olumnCounter.js
valCmd.js
nsertDate.js
nsertFile.js
eyboard.js
inesFilter.js
enameFile.js
earchReplace.js
pellCheck.js
est.js
est.vbs
kelFiles\Plugs\Coder\
sm.coder
u3.coder
at.coder
oder.coder
pp.coder
s.coder
ss.coder
tml.coder
ni.coder
nno.coder
ua.coder
sis.coder
ascal.coder
erl.coder
ython.coder
c.coder
bs.coder
s.coder
ml.coder
hp.coder
ql.coder
kelFiles\Plugs\Sounds\
har.wav
elete.wav
ovement.wav
eturn.wav
kelFiles\Plugs\Templates\
kelFiles\Plugs\Templates\AkelPad\
emplate.coder
cripts.js
kelFiles\Plugs\Templates\ASP.NET\
SP_Csharp.aspx
SP_VB.aspx
kelFiles\Plugs\Templates\ASP\
SP_JS.asp
SP_VBS.asp
kelFiles\Plugs\Templates\Assemblers\
in32-flat.asm
kelFiles\Plugs\Templates\BATCH\
atch.bat
atch.cmd
kelFiles\Plugs\Templates\C-Language\
ello.c
inhello.c
kelFiles\Plugs\Templates\CSS\
tyle.css
kelFiles\Plugs\Templates\HTML\
tml4fs.html
tml4s.html
tml4ts.html
tml5.html
kelFiles\Plugs\Templates\PASCAL\
rogram.pas
nit.pas
kelFiles\Plugs\Templates\XML\
eneral.xml
kelFiles\Plugs\Templates\XML\XHTML\
html11.xhtml
html1fs.xhtml
html1s.xhtml
html1ts.xhtml
kelFiles\Langs\
kelFiles\Docs\