[
https://issues.apache.org/jira/browse/PIVOT-685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042176#comment-13042176
]
Greg Brown commented on PIVOT-685:
----------------------------------
> The problem here is that the way we have defined selection indexes, it is
> impossible
> to distinguish between the index that indicates before the first newline, and
> the index
> that indicates before the second newline.
That doesn't sound right. If I have a text area that contains "\n\n",
positioning the caret at 0 should insert before the first newline and
positioning it at 1 should insert before the second newline.
> 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