HTML Table 2 Macro no longer works in TP 7

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
cslepage
Posts: 10
Joined: Wed Sep 03, 2003 1:43 am

HTML Table 2 Macro no longer works in TP 7

Post by cslepage »

Now that I upgraded to TextPad 7, the HTML Table 2 macro no longer works. Please help!
User avatar
bbadmin
Site Admin
Posts: 878
Joined: Mon Feb 17, 2003 8:54 pm
Contact:

Post by bbadmin »

This is due to a bug in version 7.0. As a workaround, until a fix is released, the macro simply consists of this find/replace:

Find: \&
Replace with: <table>$0</table>
Regular expression: checked

The expression "\&" matches the current selection, and "$0" substitutes whatever was matched. The effect is to put the table tags around the current selection.
cslepage
Posts: 10
Joined: Wed Sep 03, 2003 1:43 am

Post by cslepage »

Just a FYI, the macro doesn't work with the updated TP 7 (7.04).
User avatar
bbadmin
Site Admin
Posts: 878
Joined: Mon Feb 17, 2003 8:54 pm
Contact:

Post by bbadmin »

Thanks for reporting that. The macro currently only works when text has been selected, and this will be fixed in the next release.
Post Reply