tracker issue : CFB-4060885

select a category, or use search below
(searches all categories and all time range)
Title:

Add macro for "selected text" on key bindings

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/

Reporter/Name(from Bugbase): Bradley Wood / Bradley Wood (Bradley Wood)

Created: 09/21/2015

Components: Editor Features

Versions: 3.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: 3.0 Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Windows 7

Vote Count: 0

When creating a key binding with "inserting text" I can use the macro "$${cp}" to control the "caret position" in the inserted text.  Please add an additional macro for keeping selected text.  This is already possible with built-in key bindings such as cfdump where I can have text selected when I press the keys and the selected portion is wrapped.  Right now, any selected text is simply erased.

Here's an example I'd use right now if it worked (using "st" for selected text):

<cfqueryparam value="$${st}">

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4060885

External Customer Info:
External Company:  
External Customer Name: Bradley Wood
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

We can evaluate this for the next release
Comment by Vamseekrishna N.
26678 | November 04, 2015 10:07:20 AM GMT