({{, "ExpandSelection"
is a front end token that selects the next smallest subexpression containing a selection.}})

OpenersNotesSection(Spacer1)Details

"ExpandSelection" is equivalent to (MenuGrayLink[Edit, paclet:guide/EditMenu]) ▶ (MenuGrayLink[Extend Selection, paclet:ref/menuitem/ExtendSelection]).

A typical use is (RefLink[FrontEndExecute, paclet:ref/FrontEndExecute])[(RefLink[FrontEndToken, paclet:ref/FrontEndToken])["ExpandSelection"]].

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {Related Front End Tokens:  (RefLink[Balance, paclet:ref/frontendobject/Balance])  ▪  (RefLink[CompleteSelection, paclet:ref/frontendobject/CompleteSelection])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Tokens Related to the Edit Menu, paclet:guide/EditTokens])}})}})