Page MenuHomeSoftware Heritage

[swh-web] Enable whole code/pre text content selection using Ctrl+A
ClosedPublic

Authored by anlambert on Mar 14 2019, 8:44 PM.

Details

Summary

To ease copy/paste of source code or web api response for instance,
add the possibility to select the whole content of a code/pre element
using the following procedure:

  1. click inside the code/pre element to make it the focus
  2. hit Ctrl+A to select all its textual content

Diff Detail

Repository
rDWAPPS Web applications
Branch
diff-code-ctrl-a
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 4869
Build 6497: tox-on-jenkinsJenkins
Build 6496: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Mar 26 2019, 4:57 PM

Update: Rebase and also add whole code block selection using double click

This revision was automatically updated to reflect the committed changes.