Bug 537565 - Templates: ${cursor} variable not working with "drag & drop" when no user input is required
Summary: Templates: ${cursor} variable not working with "drag & drop" when no user inp...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.7.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2018-08-01 06:18 EDT by Bogdan Oprea CLA
Modified: 2020-08-21 13:05 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bogdan Oprea CLA 2018-08-01 06:18:41 EDT
Create a template like: 

//${user}

for() {
	${cursor}
}

When the template is put in the code with drag & drop, the cursor is put at the end of the template. The template works OK with content assist.
Comment 1 Dani Megert CLA 2018-08-02 12:33:32 EDT
(In reply to Bogdan Oprea from comment #0)
> When the template is put in the code with drag & drop, the cursor is put at
> the end of the template.

How are you doing this? Templates view?
Comment 2 Eclipse Genie CLA 2020-08-21 13:05:36 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.