pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel Grandin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-685) SHIFT+DOWN keystroke within TextArea do not expand the selection past an empty line
Date Fri, 03 Jun 2011 14:48:47 GMT

    [ https://issues.apache.org/jira/browse/PIVOT-685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043378#comment-13043378

Noel Grandin commented on PIVOT-685:

Greg, you are right. 

I'm not having much success tracking this one down, getting lost in the maze of when an index
value points to the boundary between 2 characters, and when it points to the character itself.

Makes me want to write some classes which wrap an int and explicitly specify which kind of
index they are :-)

Maybe next week my brain will be in better shape.

> SHIFT+DOWN keystroke within TextArea do not expand the selection past an empty line
> -----------------------------------------------------------------------------------
>                 Key: PIVOT-685
>                 URL: https://issues.apache.org/jira/browse/PIVOT-685
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk, wtk-terra
>         Environment: n/a
>            Reporter: Chris Bartlett
>            Priority: Trivial
>             Fix For: 2.0.1
> SHIFT+UP & SHIFT+DOWN keystrokes can be used to expand the selection to the previous
or next line respectively.
> However SHIFT+DOWN fails to extend the selection past an empty line.
> SHIFT+UP appears to work as expected
> Given the following text, and the caret positioned at the start of the TextArea, the
first press of SHIFT+DOWN will select 'abc', the second will also select 'def', but third
and subsequent presses will have no effect due to an empty 3rd line.
> 'abc <newline>
> def <newline>
> <empty line>
> ghi'
> Workaround by using the mouse, or SHIFT+LEFT & SHIFT+RIGHT

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message