This repository was archived by the owner on Sep 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Issue #11261: keep the search bar open #11996
Closed
Closed
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
8c668bc
It fixes issue #11261 by preventing the search bar from closing as a…
a120c12
Commented out unnecessary code around line 256
53f0427
[issue#11261] * Added in a menu option to allow find bar to stay open…
pldilley c2cdc65
[issue#11261] Code clean up of initial mistakes of the previous commit
pldilley ea69c5a
[issue#11261] Strange issue with spacing in src/nls/fr/strings.js...
pldilley a57debb
[issue#11261] Strange issue with spacing in src/nls/fr/strings.js...
pldilley e44b07e
Merge remote-tracking branch 'upstream/master' into issue#11261
pldilley 20ad291
[issue#11261] Further merge conflict resolution and clean up
pldilley 4637646
[issue#11261] Fix to branch and to testing
pldilley 283ceb8
Merge branch 'master' of https://github.com/adobe/brackets into issue…
pldilley 923240b
[issue#11261] Fixes for incorrect regexp processing
pldilley 9651160
[issue#11261] Why does JSLint keep changing its own file
pldilley 2b57f0b
[issue#11261] Not sure about the french one, let's exclude it for now…
pldilley 949bd10
[issue#11261] Test left test file with change...
pldilley ab1a454
Merge branch 'master' of https://github.com/adobe/brackets into issue…
8981389
[issue #11261] Minor fixes as per conversation of pull request
1fa7c2e
Merge branch 'master' of https://github.com/adobe/brackets into issue…
pldilley 277d241
[Issue #11261] Fixes mainly to the regular expression side of things
pldilley a9c8296
[Issue #11261] Revert accidental change in JSLint
pldilley dee88bf
[issue #11261] Remove loosy TODO and wording consistency change
pldilley 33fbd59
[Issue #11261] Remove Find Next on 'Find' option (we already have Fin…
pldilley 76c822d
[Issue #11261] (Retry the Travis CI build)
pldilley d85e888
Merge branch 'master' of https://github.com/adobe/brackets into issue…
pldilley 26ba957
Totally forgot to actually save the merge conflict resolution. Here i…
pldilley dc8890f
Merge branch 'master' into issue#11261
pldilley 4df9aab
Merged master incorrectly - fix bad merge
pldilley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -833,13 +833,18 @@ define(function (require, exports, module) { | |
| twCommandManager.execute(Commands.CMD_FIND); | ||
|
|
||
| expectSearchBarOpen(); | ||
|
|
||
| expect(getSearchField().val()).toEqual("Foo"); | ||
| expectHighlightedMatches(capitalFooSelections); | ||
| expectSelection(capitalFooSelections[0]); | ||
| expectMatchIndex(0, 3); | ||
| expect(myEditor.centerOnCursor.calls.length).toEqual(3); | ||
|
|
||
| expect(myEditor).toHaveCursorPosition(8, 8, true); | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This tests fails for me with |
||
|
|
||
| twCommandManager.execute(Commands.CMD_FIND_NEXT); | ||
|
|
||
| expect(myEditor).toHaveCursorPosition(8, 8, true); | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar error with this one: |
||
| expectSelection(capitalFooSelections[1]); | ||
| expectMatchIndex(1, 3); | ||
| }); | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should most likely be consistent with #L763 (
DESCRIPTION_SEARCH_AUTOHIDE) (Hide/close, search / search bar)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I opted to change the description, since the action appears as a 'close' to the user (the search has an 'x' on it)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍