How to select whole line by mouse left button triple click without end of line?

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
tatra603
Posts: 72
Joined: Fri Sep 17, 2004 10:53 am
Location: Prague, the Czech Republic, Europe

How to select whole line by mouse left button triple click without end of line?

Post by tatra603 » Thu Jun 07, 2012 11:11 am

Good morning, I am using latest oXygen 13.2. Can I ask You, how to select whole line in text editor mode by mouse left button triple click without end of line? Common triple click select whole line including eol, but I do not want it. Is it possible for example Ctrl (or Alt) + triple click to select whole line excluding eol? Thank You, Stepan

adrian
Posts: 2602
Joined: Tue May 17, 2005 4:01 pm

Re: How to select whole line by mouse left button triple click without end of line?

Post by adrian » Thu Jun 07, 2012 12:54 pm

Hi,

Would you like so submit this as a feature request?

Currently triple click in mid-text selects the entire line (including the line separator). Note that if you triple click at the beginning or end of a text node it selects the entire text even if it spans across multiple lines. Similarly, for elements triple click on an element tag selects the entire element (start tag + content + end tag).

A simple workaround after triple click on text, if you don't want the end of line, is to press Shift+LeftArrow. This will preserve the selection, but shrink its domain and the last character (new line) will no longer be selected.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

tatra603
Posts: 72
Joined: Fri Sep 17, 2004 10:53 am
Location: Prague, the Czech Republic, Europe

Re: How to select whole line by mouse left button triple click without end of line?

Post by tatra603 » Thu Jun 07, 2012 4:40 pm

> Would you like so submit this as a feature request?

...Yes, please. It would be nice to have such possibility like Alt + triple click to select whole line but eol. This my feature request is primary targeted to editing (Drag&Drop) non xml (SQL an Java) file types.

Thank You, Stepan

adrian
Posts: 2602
Joined: Tue May 17, 2005 4:01 pm

Re: How to select whole line by mouse left button triple click without end of line?

Post by adrian » Fri Jun 08, 2012 4:18 pm

I've logged your request.

The current implementation (which selects the EOL) was meant o ease the re-ordering of lines by triple click followed by drag and drop. That is the main use case it was intended for.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

tatra603
Posts: 72
Joined: Fri Sep 17, 2004 10:53 am
Location: Prague, the Czech Republic, Europe

Re: How to select whole line by mouse left button triple click without end of line?

Post by tatra603 » Fri Jun 08, 2012 5:44 pm

Of course I do not want to change current behaviour of triple click (including EOL), which is much more often used, I guess. I just want to add Alt + triple click functionality. Stepan

Post Reply