Bug 427542 - single click / double click in outline view
Summary: single click / double click in outline view
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 1.1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.1.0 M4   Edit
Assignee: Carsten Hiesserich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-06 03:33 EST by Frank Bruss CLA
Modified: 2014-02-23 05:08 EST (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 Frank Bruss CLA 2014-02-06 03:33:33 EST
One click in the VEX outline view places the cursor at the start of the selected tag, without selecting the tag. It might be hard to find the cursor in a larger document. Double-click isn’t supported at all in the outline view. 
One possible solution might be to adopt the Java outline view behavior: single click selects the element, double click selects the element and gives the editor window focus.
Comment 1 Carsten Hiesserich CLA 2014-02-06 13:14:53 EST
I like that idea, especially as it is very easy to implement. Just pushed a proposed solution to gerrit (https://git.eclipse.org/r/#/c/21645/)
Comment 2 Carsten Hiesserich CLA 2014-02-08 04:15:27 EST
This functionality has been implemented with commit http://git.eclipse.org/c/mylyn/org.eclipse.mylyn.docs.vex.git/commit/?id=2ff5f5d5dd77f1061bbfe65950b956fc1a5228bd

Single click now selects the node in the widget, a double click sets the caret to the start of the node and gives focus to the widget.