gecko-dev/devtools
Nicolas Chevobbe ddc7aad4e0 Bug 1480709 - Fix autocomplete popup misplacement; r=Honza.
The JsTerm relies on the codeMirror "change" event to
display the autocomplete popup, and then queries the
DOM to get the cursor element which will serve as an
anchor to the autocomplete popup.
Unfortunately, the "change" event is fired by the editor
__before__ the end of an operation (i.e. the actual DOM
update). Which means that if we are fast enough to get
the autocomplete items from the server, the cursor element
was not changed in the dom, and the computation of the anchor
is erroneous.
We fix this by listening to the "changes" event, which
is fired after the actual DOM changes.
In order to do that, we pipe down the event from the code
mirror instance to the source editor.

Differential Revision: https://phabricator.services.mozilla.com/D2710

--HG--
extra : moz-landing-system : lando
2018-08-07 14:01:55 +00:00
..
client Bug 1480709 - Fix autocomplete popup misplacement; r=Honza. 2018-08-07 14:01:55 +00:00
docs Bug 1475474 - Fix broken link to Firefox Build page in devtools-docs;r=sole 2018-07-13 09:02:27 +02:00
platform Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian 2018-02-06 09:36:57 -08:00
server Bug 1479058 Part 11 - Server/client web console changes for replaying and time warp support, r=nchevobbe. 2018-08-02 23:33:24 +00:00
shared Bug 1479058 Part 6 - ReplayDebugger and server/client changes to support time warps, r=jimb. 2018-08-02 23:30:19 +00:00
startup Bug 1479050: Migrate a number of call-sites to use document.createXULElement. r=bgrins 2018-07-31 19:13:38 +00:00
.eslintrc.js Bug 1471540 - Make DevTools code compatible with new eslint-plugin-react;r=standard8 2018-07-20 14:26:45 +02:00
.eslintrc.mochitests.js Bug 1443661 - Enable ESLint rule no-undef for test files in devtools/client/webconsole/new-console-output/. r=nchevobbe 2018-03-06 22:50:58 +00:00
.eslintrc.xpcshell.js Bug 1443661 - Enable ESLint rule no-undef for test files in devtools/client/webconsole/new-console-output/. r=nchevobbe 2018-03-06 22:50:58 +00:00
CODE_OF_CONDUCT.md
moz.build Bug 1469872 - update bugzilla products and components in moz.build files: devtools. r=nalexander 2018-06-20 21:34:40 +03:00
templates.mozbuild