pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Whitcomb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-891) Fixes to selection logic in TextArea and TextPane
Date Thu, 08 Feb 2018 23:43:00 GMT

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

Roger Whitcomb commented on PIVOT-891:

The logic in TextInput's "selectSpan" (for mouse double click to select a "word") and the
Ctrl-Left/Ctrl-Right to skip "words" were not consistent, and probably weren't right anyway,
since the former was using "Java identifier part" as the "word" character.  So, unify the
two and switch to "Unicode identifier part" as the metric.

Sending wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraTextInputSkin.java
Transmitting file data .done
Committing transaction...
Committed revision 1823611.

> Fixes to selection logic in TextArea and TextPane
> -------------------------------------------------
>                 Key: PIVOT-891
>                 URL: https://issues.apache.org/jira/browse/PIVOT-891
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk-terra
>    Affects Versions: 2.0.2, 2.0.4
>         Environment: All
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>              Labels: text-selection
>             Fix For: 2.0.3, 2.1
> Currently (in TextArea at least) if you type Shift-Down and select a line or two, then
do Shift-Up it will extend the beginning of the area, instead of reducing the end that you
just extended.  This is not how any other editor works.  
> Also would like to have double-click select the "word" the mouse is pointing to, as other
editors do.
> We'd like TextArea and TextPane (at least, maybe TextInput also) do the same things.

This message was sent by Atlassian JIRA

View raw message