Page 1 of 1

Surround with should remember previous selection

Posted: Fri May 08, 2009 5:35 pm
by jelovirt
Say I have DITA source

Code: Select all

<p>Press numbers 2 and 6 to continue.</p>
and I want to make the numbers in the paragraph uicontrol elements.

When I highlight "2" and press cmd+E to Surround with, the list of elements defaults to the first possible element in this context. For repeated task, it would help if Surround with would remember the previous selection and if it was available in this context, it would default to that. That is, if I surround "2" with a uicontrol, then select "6", Surround with would default to uicontrol, not apiname as it currently does in this context.

Re: Surround with should remember previous selection

Posted: Mon May 11, 2009 9:56 am
by sorin_ristache
Hello,

We will consider remember the previous selection in the Surround with action. If you want to repeat the last Surround with action you should press cmd-/ (Surround with <last-used-tag>).


Regards,
Sorin