Merge pull request #17985 from atom/ak-no-selection-in-the-text-editing-room

Disallow OS text selection in atom buffers.
This commit is contained in:
Ashi Krishnan
2018-09-06 16:58:31 -07:00
committed by GitHub
3 changed files with 1072 additions and 1078 deletions

2142
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -116,7 +116,7 @@
"line-ending-selector": "https://www.atom.io/api/packages/line-ending-selector/versions/0.7.7/tarball",
"line-top-index": "0.3.1",
"link": "https://www.atom.io/api/packages/link/versions/0.31.6/tarball",
"markdown-preview": "https://www.atom.io/api/packages/markdown-preview/versions/0.159.24/tarball",
"markdown-preview": "https://www.atom.io/api/packages/markdown-preview/versions/0.159.25/tarball",
"marked": "^0.3.12",
"metrics": "https://www.atom.io/api/packages/metrics/versions/1.6.2/tarball",
"minimatch": "^3.0.3",
@@ -212,7 +212,7 @@
"keybinding-resolver": "0.38.3",
"line-ending-selector": "0.7.7",
"link": "0.31.6",
"markdown-preview": "0.159.24",
"markdown-preview": "0.159.25",
"metrics": "1.6.2",
"notifications": "0.70.5",
"open-on-github": "1.3.1",

View File

@@ -138,6 +138,10 @@ atom-text-editor {
.cursors.blink-off .cursor {
opacity: 0;
}
// Atom manages the selection independent of Blink / the OS. We never want a
// native selection.
user-select: none;
}
atom-text-editor[mini] {