You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Rangi Keen (JIRA)" <ji...@apache.org> on 2018/12/26 21:51:00 UTC

[jira] [Updated] (NETBEANS-1833) Typeahead selection in comboboxes only works when using lower case

     [ https://issues.apache.org/jira/browse/NETBEANS-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rangi Keen updated NETBEANS-1833:
---------------------------------
    Attachment: Typeahead.patch

> Typeahead selection in comboboxes only works when using lower case
> ------------------------------------------------------------------
>
>                 Key: NETBEANS-1833
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1833
>             Project: NetBeans
>          Issue Type: Bug
>          Components: platform - Property Editors
>    Affects Versions: 8.2, 9.0
>            Reporter: Rangi Keen
>            Priority: Minor
>         Attachments: Typeahead.patch
>
>
> In any combobox edited property, if any of the items contain upper case letters, typing the value in the property sheet will not match them unless you use all lowercase letters.
> As a specific example:
>  # Create a new JFrame form in NetBeans
>  # Select the cursor property. Note that the options all start with an upper case letter.
>  # Start typing the text of an unselected value using an upper case letter (e.g. start typing "Wait Cursor").
> Note that the "Wait Cursor" item will not be selected. However, if you type "wait cursor" in lower case, the "Wait Cursor" item will be selected.
> Additionally, when an item is already selected in the middle of the list, typing a value should match items after that point. For example, in the cursor property example, if "Wait Cursor" is currently selected, typing "north" should match "Northwest Resize Cursor" because it follows "Wait Cursor" but it instead matches "North Resize Cursor" which comes before "Wait Cursor". This behavior would then match that implemented in standard combo box type-ahead matching (see {{javax.swing.JComboBox.DefaultKeySelectionManager.selectionForKey}}).
> See [^Typeahead.patch] for a possible update.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists