noseglid / atom-build

:hammer: Build your project directly from the Atom editor
https://atom.io/packages/build
MIT License
248 stars 97 forks source link

Selecting Text in Build Pane #529

Closed msp1kpj closed 6 years ago

msp1kpj commented 7 years ago

I am unable to highlight and select text from the Build pane. Every time I try it highlights all text on the file I am editing, the build pane and the linter pane. image

landonboyd commented 6 years ago

This worked for me (Mac OS 10.11.6, Atom 1.21.2):

--- build-view.js.orig  2017-11-03 16:53:53.000000000 -0700
+++ build-view.js   2017-11-03 17:20:34.000000000 -0700
@@ -134,7 +134,7 @@
   }

   resizeEnded() {
-    document.body.style['-webkit-user-select'] = 'all';
+    document.body.style['-webkit-user-select'] = 'text';
     document.removeEventListener('mousemove', this.resizeMoved);
     document.removeEventListener('mouseup', this.resizeEnded);
   }
noseglid commented 6 years ago

thanks @landonboyd . That was exactly the issue.