WARNING: 4.4.1 breaks selection-wrapping macros

General questions about using TextPad

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

Post Reply
Ray Davis

WARNING: 4.4.1 breaks selection-wrapping macros

Post by Ray Davis »

For years now, I've been adding HTML tags with macros assigned to Ctrl-B (bold), Ctrl-Alt-I (italics), and Ctrl-Alt-L (link), all of which depend on wrapping a current selection, and use various combinations of cut/paste and Find up.

Now that I've installed 4.4.1, Ctrl-B and Ctrl-Alt-I are selecting to the end of the line, and Ctrl-Alt-L is moving the cursor forward ten spaces. I've tried reassigning the keyboard mappings and looked for unreported conflicts: nothing is showing up.

I tried downloading the latest version of Jeff Epstein's HTML macros, and they're having similar problems.

Looks like I'll have to drop back to 4.4.0 until I have time to redo them all.

Ray
Ray Davis

Re: WARNING: 4.4.1 breaks selection-wrapping macros

Post by Ray Davis »

Correction: The bug is that the recommended approach to selection wrapping as documented in TextPad's help library for macros (regular expression replace of "\&" by, for example, "StartTag&EndTag") is broken.

Ray
Jeff Epstein

Re: WARNING: 4.4.1 breaks selection-wrapping macros

Post by Jeff Epstein »

I'll verify my HTML macros. Thanks for letting me know.

Jeff
http://www.jeffyjeffy.com/textpad
Jeff Epstein

Re: WARNING: 4.4.1 breaks selection-wrapping macros

Post by Jeff Epstein »

Ray,

I've been testing/verifying/using all my macros with TextPad 4.4.1 over the past few days, on two separate machines. The first is Windows 98, and the second is Windows 2000.

I'm not seeing any problems. Could you be more explicit about which macro, and what the problem is? Perhaps I've missed something tricky...or obvious :'P

Thanks a lot.

Jeff
http://www.jeffyjeffy.com/textpad
Andreas

Re: WARNING: 4.4.1 breaks selection-wrapping macros

Post by Andreas »

There is a new "version" (14. February 2001) which corrects the behaviour of \&.
See http://www.textpad.com/about/changes.html#441 (scroll down a bit from there).

Andreas
Post Reply