Surround with should remember previous selection

Are you missing a feature? Request its implementation here.
jelovirt
Posts: 84
Joined: Tue Oct 11, 2005 9:17 am
Location: Helsinki, Finland
Contact:

Surround with should remember previous selection

Post 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.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Surround with should remember previous selection

Post 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
Post Reply