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

Bernard updated NETBEANS-1220:
------------------------------
    Description: 
Problem Description

I use the following out of two options:

In Tools|Options|Editor|Search|Editor Search Behavor|Enter find next

With this option enabled, I need to press [Esc] to locate the cursor at the 
first instance, meaning that I do NOT use the [Enter] key. Unfortunately this 
use results in the search string not being pushed into the search history list 
where I type the search string. Therefore, in future searches, the search 
string cannot be looked up from the search string combo box.

How to reproduce:
 - In Tools|Options|Editor|Search|Editor Search Behavor|Enter find next
 - locate the cursor at the top of a Java file
 - [Ctrl+F]java[Esc] locates the cursor at the first instance of "java", 
typically in the import section
 - [Ctrl+F]util[Esc] locates the cursor at the first instance of "util", 
typically in the import section

Expected behavior:
 - [Ctrl+F][Down] should find the string "java" in the list

Actual behavior:
 - [Ctrl+F][Down] shows a list with the string "java" missing from the list

This means that the Editor Search Behavior option "Enter find next" is 
crippled, and it is difficult to create a harmonious work flow while 
refactoring code. In simple terms, it is frustrating.

  was:
Problem Description

I use the following out of two options:

In Tools|Options|Editor|Search|Editor Search Behavor|Enter find next

With this option enabled, I need to press [Esc] to locate the cursor at the 
first instance, meaning that I do NOT use the [Enter] key. Unfortunately this 
use results in the search string not being pushed into the search history list 
where I type the search string. Therefore, the search string cannot be looked 
in future searches up from the search string combo box.

How to reproduce:

- In Tools|Options|Editor|Search|Editor Search Behavor|Enter find next
- locate the cursor at the top of a Java file
- [Ctrl+F]java[Esc] locates the cursor at the first instance of "java", 
typically in the import section
- [Ctrl+F]util[Esc] locates the cursor at the first instance of "util", 
typically in the import section

Expected behavior:
- [Ctrl+F][Down] should find the string "java" in the list 

Actual behavior:
- [Ctrl+F][Down] shows a list with the string "java" missing from the list 

This means that the Editor Search Behavior option "Enter find next" is 
crippled, and it is difficult to create a harmonious work flow while 
refactoring code. In simple terms, it is frustrating.


> Editor Search String lost
> -------------------------
>
>                 Key: NETBEANS-1220
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1220
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Search
>    Affects Versions: 9.0
>            Reporter: Bernard
>            Priority: Minor
>
> Problem Description
> I use the following out of two options:
> In Tools|Options|Editor|Search|Editor Search Behavor|Enter find next
> With this option enabled, I need to press [Esc] to locate the cursor at the 
> first instance, meaning that I do NOT use the [Enter] key. Unfortunately this 
> use results in the search string not being pushed into the search history 
> list where I type the search string. Therefore, in future searches, the 
> search string cannot be looked up from the search string combo box.
> How to reproduce:
>  - In Tools|Options|Editor|Search|Editor Search Behavor|Enter find next
>  - locate the cursor at the top of a Java file
>  - [Ctrl+F]java[Esc] locates the cursor at the first instance of "java", 
> typically in the import section
>  - [Ctrl+F]util[Esc] locates the cursor at the first instance of "util", 
> typically in the import section
> Expected behavior:
>  - [Ctrl+F][Down] should find the string "java" in the list
> Actual behavior:
>  - [Ctrl+F][Down] shows a list with the string "java" missing from the list
> This means that the Editor Search Behavior option "Enter find next" is 
> crippled, and it is difficult to create a harmonious work flow while 
> refactoring code. In simple terms, it is frustrating.



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

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

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

Reply via email to