gecko-dev/devtools
Kyle Knaggs 967178f81b Bug 1645887 - Fix text copied by 'Copy to clipboard' and 'Copy source text' context menu items r=davidwalsh
This patch addresses the issue reported by [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1645887 | Bug 1645887 ]] where the context menu items in the `Editor` were not copying the expected text to the clipboard.

Regarding the context menu in the `Editor` this patch modifies the menu items so that:

1. 'Copy to clipboard' => Copies the text that has been selected by a user to the clipboard.
2. 'Copy source text' => Copies all of the text from a source to the clipboard.

In addition to the above fix, this patch also modifies a related item in the `Tab` context menu so that:

1. The text for the ‘Copy to clipboard’ menu item is now replaced with ‘Copy source text’.

As with the context menu in the `Editor`, the pre-existing ‘Copy to clipboard’ menu item in the `Tab` copied all of the text from a source to the clipboard. However, instead of modifying the functionality of this menu item, the decision was made to replace the ‘Copy to clipboard’ text with ‘Copy source text’. This was done as the `Tab` and its context menu typically provides the user with general information about the file being displayed instead of being concerned with details such as the state of the editor.

{F2332380}

Differential Revision: https://phabricator.services.mozilla.com/D81887
2020-07-08 14:40:29 +00:00
..
client Bug 1645887 - Fix text copied by 'Copy to clipboard' and 'Copy source text' context menu items r=davidwalsh 2020-07-08 14:40:29 +00:00
docs Bug 1650347 - Update gecko-profile argument names in DAMP documentation r=Honza 2020-07-03 11:42:39 +00:00
platform Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
server Bug 1625930: Implement ResourceWatcher for stylesheet. r=ochameau 2020-07-08 14:05:29 +00:00
shared Bug 1625930: Add test getAllResources of ResourceWatcher API. r=ochameau 2020-07-03 11:35:53 +00:00
startup Bug 1648639, remove containers, help view, and developer panels from main view and place in template r=Gijs 2020-06-30 22:40:15 +00:00
.eslintrc.js Bug 1650690, remove frame scripts from devtools animation tests, and use SpecialPowers.spawn instead, r=jdescottes 2020-07-07 11:35:15 +00:00
.eslintrc.mochitests.js Bug 1622328 - add license info to all eslintrc files r=Standard8,webcompat-reviewers,miketaylr 2020-03-19 13:47:51 +00:00
.eslintrc.xpcshell.js Bug 1622328 - add license info to all eslintrc files r=Standard8,webcompat-reviewers,miketaylr 2020-03-19 13:47:51 +00:00
CODE_OF_CONDUCT.md
moz.build Bug 1645398 - [ci] Add a SCHEDULES rule to prevent 'android' builds and tests on pushes that exclusively modify files under /devtools, r=gbrown,jlast 2020-06-15 13:38:46 +00:00
templates.mozbuild
tsconfig.json Bug 1603351 - Add a tsconfig.json file in devtools root folder. r=gregtatum. 2019-12-16 15:21:03 +00:00