gecko-dev/devtools/client/shared
Nicolas Chevobbe 9a848212a5 Bug 1644158 - Close autocomplete when typing a closing bracket. r=bomsy.
The console editor uses the codeMirror autoclose bracket addon,
which when the user types a closing bracket and the next char
in the input is the same char, won't insert a new char, but will
only move the cursor.
In such case, the JsTerm code wasn't capturing this key event, and
it could happen that the autocomplete would still be displayed,
which would then lead to some weirdness when the user hits Enter.
In order to fix that, we listen for the keyHandled event, which
is fired one a keypress was handled, and that appear that be fired
for the case I exposed, and isn't triggered when the character is
simply inserted.
A test case is added in one of our test to make sure this works as
expected.

Differential Revision: https://phabricator.services.mozilla.com/D78935
2020-06-11 15:30:16 +00:00
..
build Bug 1604539 - Rename shared/fronts to client/fronts in the devtools codebase r=nchevobbe 2020-03-20 13:58:56 +00:00
components Bug 1643697 - Add rel attribute to string rep links. r=bomsy,Gijs. 2020-06-08 11:37:26 +00:00
fluent-l10n
redux Bug 1605331 - Watch expressions should be evaluated in the right context. r=nchevobbe 2020-04-07 20:05:32 +00:00
remote-debugging Bug 1641496 - P6: Reenable some tests r=dragana,extension-reviewers,mixedpuppy 2020-06-04 22:56:38 +00:00
source-map Bug 1607639 - Part 4: Convert introductionUrl into sourceMapBaseURL to match actual usage. r=jlast 2020-04-27 02:17:02 +00:00
sourceeditor Bug 1644158 - Close autocomplete when typing a closing bracket. r=bomsy. 2020-06-11 15:30:16 +00:00
test Bug 1641468 - Add platform message stub test. r=ochameau. 2020-06-03 09:11:56 +00:00
vendor Bug 1628352 - Update wasmparser to version 0.14.0 r=yury 2020-05-18 15:01:58 +00:00
widgets Bug 1643180 - Part 1: Update EventTooltipHelper to use actor ID for sourcemaps. r=jlast 2020-06-04 23:49:06 +00:00
SplitView.jsm Bug 1608278 - Automated rewrite away from assigning properties to `this` in JSM files in devtools;r=jdescottes 2020-01-16 17:41:38 +00:00
WeakMapMap.js
async-store-helper.js
autocomplete-popup.js Bug 1609942 - Display autocomplete popup at the top of the input. r=jdescottes,Honza,perftest-reviewers,whimboo. 2020-03-06 13:18:34 +00:00
browser-loader-mocks.js Bug 1596686 - Use absolute paths for require calls r=gl 2019-12-27 12:23:47 +00:00
browser-loader.js Bug 1624507 - Part 5: Make AMD support an opt-in feature of the loader. r=ochameau 2020-03-30 08:24:05 +00:00
css-angle.js
curl.js Bug 1614468, r=bomsy 2020-04-16 18:00:49 +00:00
demangle.js
devices.js
enum.js
events.js
focus.js
getjson.js
inplace-editor.js Bug 1622996 - Refactor devtools codebase to use optional chaining (automated changes). r=jdescottes 2020-03-19 21:13:38 +00:00
key-shortcuts.js
keycodes.js
link.js Bug 1622996 - Refactor devtools codebase to use optional chaining (automated changes). r=jdescottes 2020-03-19 21:13:38 +00:00
moz.build Bug 1609716 - Unify xpcshell test folders in devtools. r=jdescottes 2020-01-20 13:56:04 +00:00
node-attribute-parser.js
options-view.js
output-parser.js Bug 1633696 - Rename isVariableInUse to getVariableValue. r=rcaliman 2020-05-04 11:06:42 +00:00
poller.js
prefs.js
react-utils.js
scroll.js
source-utils.js Bug 1554894 -Simplify devtools/client/shared/source-utils.js and remove eslint-disable complexity r=pbro 2020-02-11 08:15:05 +00:00
splitview.css
stylesheet-utils.js
suggestion-picker.js
telemetry.js Bug 1639454: Introduce OPENED_COUNT and TIME_ACTIVE_SECONDS telemetry for the compatibility panel. r=Honza 2020-05-27 07:09:22 +00:00
theme-switching.js
theme.js
thread-utils.js Bug 1616322 - Update Async Stack UI. 2020-02-26 06:24:04 +00:00
toolbarbutton.css Bug 1634380 - Part 2: Split devtools-button and legacy devtools-toolbarbutton styles; r=ladybenko 2020-05-12 13:22:28 +00:00
undo.js
unicode-url.js
view-source.js Bug 1643180 - Part 7: Separate url-only file handling from url/line/column handling. r=jlast 2020-06-05 22:20:57 +00:00
webgl-utils.js
workers-listener.js Bug 1621337 - Add an option to workers listener to only listen to sw registrations r=ochameau 2020-05-22 06:48:07 +00:00
zoom-keys.js Bug 1612068 - Move zoom from the content viewer to the browsing context. r=nika 2020-04-22 19:32:52 +00:00