Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to clear the contents of the query #45211

Closed
shizengzhou opened this issue Mar 7, 2018 · 3 comments
Closed

Unable to clear the contents of the query #45211

shizengzhou opened this issue Mar 7, 2018 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-find Editor find operations under-discussion Issue is under discussion for relevance, priority, approach ux User experience issues

Comments

@shizengzhou
Copy link
Contributor

Issue Type

Bug

Description

  • Ctrl+F, search 'error'
  • Delete error, quit the search
  • Highlight all 'e' in the current file
  • Press 'Esc', the cursor jumps to the position of the first 'e'
    search

VS Code Info

VS Code version: Code 1.20.1 (f88bbf9, 2018-02-13T15:34:36.336Z)
OS version: Windows_NT x64 6.3.9600

System Info
Item Value
CPUs Intel(R) Core(TM) i5-4210H CPU @ 2.90GHz (4 x 2893)
Memory (System) 7.89GB (1.33GB free)
Process Argv C:\Program Files\Microsoft VS Code\Code.exe .
Screen Reader no
VM 0%
Extensions: none Reproduces without extensions
@vscodebot vscodebot bot added the search Search widget and operation issues label Mar 7, 2018
@roblourens roblourens assigned rebornix and unassigned roblourens Mar 7, 2018
@roblourens roblourens added editor-find Editor find operations and removed search Search widget and operation issues labels Mar 7, 2018
@rebornix rebornix added the bug Issue identified by VS Code Team member as probable bug label Sep 6, 2018
@rebornix rebornix added this to the September 2018 milestone Sep 6, 2018
@rebornix rebornix added ux User experience issues under-discussion Issue is under discussion for relevance, priority, approach and removed bug Issue identified by VS Code Team member as probable bug labels Sep 7, 2018
@rebornix
Copy link
Member

rebornix commented Sep 7, 2018

Re #17563 (comment) . The find widget is incremental, which means it will try to search for the keyword in the find widget once it's changed and move the selection to the nearest match, that's why when we delete characters from the find input box, the selection will finally shrink to one character. However once the find widget is empty, we don't try to set the selection to an empty one. This behaves the same as Visual Studio's find widget.

@rebornix
Copy link
Member

/duplicate of #17563 (comment)

@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Oct 23, 2019
@vscodebot
Copy link

vscodebot bot commented Oct 23, 2019

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Oct 23, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-find Editor find operations under-discussion Issue is under discussion for relevance, priority, approach ux User experience issues
Projects
None yet
Development

No branches or pull requests

3 participants