Surround with should remember previous selection
Posted: Fri May 08, 2009 5:35 pm
Say I have DITA source
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.
Code: Select all
<p>Press numbers 2 and 6 to continue.</p>
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.