General questions about using TextPad
Moderators: AmigoJack , bbadmin , helios , Bob Hansen , MudGuard
aimy
Posts: 53 Joined: Mon Nov 01, 2004 4:02 am
Post
by aimy » Thu Feb 17, 2022 2:43 pm
Hi.
Previously I have a Macro to convert list item to ' '.
The problem I'm having with the latest version is that, the list was not separated accordingly with the corresponding comma.
Sample List:
Code: Select all
badrul53@TEST
tanchouho@TESTbiz
davidooi88888@TEST
lingaisamudin@TEST
azeemrahman17056789@TEST
rakabuba909@TEST
lukman@TEST
wongshuwen@TEST
teohmeilan@TEST
star66732345@TEST
khairulanuarmatsuki@TEST
pkh22@TEST
najmi256@TEST
nsyuhada22@TEST
koohyokelan@TEST
nortasnim95@TEST
malineecea662@TEST
norlizacheendut@TEST
zalina0522@TEST
nyoklian66@TEST
iqbalxavier170@TEST
saravannan07@TEST
mohdfirdaus2022@TEST
kirihakino99@TEST
grace267@TEST
muhammadafi@TEST
hil2185@TEST
kartini88s@TEST
azikri855@TEST
yuzairiadam63@TEST
TextPad 8.10.0
TextPad 8.9.0
Take note on the yellow highlighted.
I've been using the same Macro for more than 5 years for sure without any issues.
Any workaround for this issue?
Thanks.
aimy
Posts: 53 Joined: Mon Nov 01, 2004 4:02 am
Post
by aimy » Thu Feb 17, 2022 2:49 pm
MudGuard
Posts: 1295 Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:
Post
by MudGuard » Thu Feb 17, 2022 5:00 pm
without knowing the macro it's hard to say what goes wrong.
Go to Configure -> Preferences, then Macros, select the macro for your list conversion, and press Edit.
Then copy the stuff from "commands" to here. Preferably in a code block.
AmigoJack
Posts: 533 Joined: Sun Oct 30, 2016 4:28 pm
Location: グリーン ヒル ゾーン
Contact:
Post
by AmigoJack » Thu Feb 17, 2022 5:57 pm
It's basically replace
by
and it neither makes sense nor am I able to reproduce it: the sample list has multiple lines, but the screenshots show one single line. The replacement operation nowhere eats linebreaks.
Are you sure "Sample List" is exactly what we should use? Multiple lines? And the outcome should really be ONE line?