Home Forums XMetaL Tips and Tricks Tip: Getting between closing tags in Normal View Reply To: Tip: Getting between closing tags in Normal View

dcramer

Reply to: Tip: Getting between closing tags in Normal View

Hi Derek,
There are some other cases your macros won't cover. Say my cursor is where the | is below and I want to put some text outside the emphasis but inside the para:

Some text foo|

I'd need an “Insert text after” macro. But then, what if I have the following and want to put text (or an element for that matter) after the emphasis and before the para:

Some text foo bar|

Likewise, what if I have the following and want to add a listitem before or after the current listitem:

|foo

As you mention, your insert element after macro won't help, but you also need an “Insert element before” macro.

I'll give your macros a try, but I think you still need mine to handle all cases. Also, I'd argue that mine is a simpler approach. With my movement macros, the only thing I'd ask for is some improved visual cue (like some kind of transient boxes or labels that popup and go away) to show you where you've landed.

David

Reply

Products
Downloads
Support