Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Replace 'smart autocomplete' with a purpose-built QuickSearchField module #7227

Merged
merged 8 commits into from
Apr 7, 2015

Commits on Dec 18, 2013

  1. Replace 'smart autocomplete' with a purpose-built QuickSearchField mo…

    …dule.
    
    Simplifies QuickOpen code, removing workarounds and allowing it to use the
    ModalBar autoClose option. Fixes bugs with arrow key handling, cleans up
    APIs, and more consistently highlights the item that pressing Enter will
    select.
    peterflynn committed Dec 18, 2013
    Configuration menu
    Copy the full SHA
    9e74dde View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2014

  1. Merge remote-tracking branch 'origin/master' into pflynn/better-quick…

    …search-field
    
    Conflicts:
    	src/search/QuickOpen.js
    	src/styles/brackets.less
    	src/widgets/ModalBar.js
    peterflynn committed Mar 23, 2014
    Configuration menu
    Copy the full SHA
    3c1a8f2 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2014

  1. - Fix bug: pressing Enter to close Quick Open or Goto Line inserted n…

    …ewline
    
    in editor (new, cmv4-only issue)
    - Fix bug: clicking Ctrl+T item without typing any text didn't work
    - Fix bug: pressing Enter to finish Goto Line didn't set cursor pos
    - Clean up docs, remove some TODOs
    - Remove unused keyup listener code (jQuery was silently no-oping when
    asked to attach a null event handler)
    - Simplify "@" detection in the three core Ctrl+T providers
    peterflynn committed Mar 24, 2014
    Configuration menu
    Copy the full SHA
    61b0edf View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2014

  1. Remove smart-auto-complete from codebase. Add unit tests for QuickSea…

    …rchField.
    
    Remove logging code and old TODOs. Round out documentation.
    
    Fix bug where pressing enter in Goto Line mode did nothing if a previous
    search mode had been used earlier (currentPlugin was stale).
    peterflynn committed Apr 1, 2014
    Configuration menu
    Copy the full SHA
    210a282 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    72aa412 View commit details
    Browse the repository at this point in the history
  3. Size width of Quick Open dropdown more crisply.

    Revert PR #7316 - no longer needed to fix #7307.
    Tweak the PR #7358 fix to cut down the delay before the dropdown appears to
    the bare minimum.
    peterflynn committed Apr 1, 2014
    Configuration menu
    Copy the full SHA
    7b7670f View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2015

  1. Merge remote-tracking branch 'origin/master' into pflynn/better-quick…

    …search-field
    
    Reimplements the fixes from PR #9624 & #9153 in a simpler way: instead of
    trying to selectively suppress ModalBar's scroll pos adjustments, in cases
    where we need to revert scroll pos in one file, just wait until ModalBar is
    done adjusting scroll pos and *then* reset the one we care about. Made
    possible by the fact that we now listen for ModalBar's "close" event and
    the event passes info on the reason for closing.
    
    Removes delay before results list opens: in CEF 2171 it seems both unneeded
    (animation is smooth without it) and it triggers an apparent Chrome bug where
    the post-animation state is displayed during the delay period even though
    the computed style reflects the pre-animation state.
    
    Conflicts:
        src/search/QuickOpen.js
        src/styles/brackets.less
        src/styles/brackets_colors.less
        src/widgets/ModalBar.js
    peterflynn committed Mar 24, 2015
    Configuration menu
    Copy the full SHA
    f341ff5 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2015

  1. QuickSearchField / Quick Open tweaks

    - Fix bug where arrow keys with bare "@" didn't scroll to item in editor
    (with unit test)
    - Fix code style nits & update docs. Reponding to code review only one
    year late :-)
    - Fix JSHint nits about unused vars
    - CSS tweak when last item in list highlighted
    peterflynn committed Mar 25, 2015
    Configuration menu
    Copy the full SHA
    767a1da View commit details
    Browse the repository at this point in the history