atom-sublime-select icon indicating copy to clipboard operation
atom-sublime-select copied to clipboard

Can't edit what I have selected

Open senderic opened this issue 4 years ago • 5 comments

Although I can select the area of interest, when I start typing or deleting, nothing happens...

I checked the settings, I don't see anything like that enabled.

Atom 1.47.0 x64 windows 10 package 1.7.5

senderic avatar Jun 03 '20 17:06 senderic

I'm experiencing the same issue. Hold Alt - drag to select - hit the Backspace. Nothing happens.

Atom version 1.47.0

morpc-gohio avatar Jun 05 '20 11:06 morpc-gohio

I changed the select key to Ctrl and it's working again. Switched back to Alt and experienced the issue. It seems to be a problem with binding to the Alt key.

morpc-gohio avatar Jun 05 '20 11:06 morpc-gohio

I'm experiencing the same issue. (Atom 1.49.0, Sublime-Style-Column-Selection 1.75.5, using through remote desktop connexion)

It seems to be related to a loss of focus. When releasing the alt key, the focus indicator (vertical bar next to the filename in the tab, see images) turns grey. However, if I press/release alt again, the editor gains/loses focus again.

If I maintain alt while editing, it works and the editor does not lose focus once alt is released. Therefore an annoying workaround is to select with alt+mouse, hit a key e.g. backspace, release alt, then ctrl-z.

If I change the 'Select key' to ctrl for instance, it works normally.

When alt is pressed (cursor blinking) image When alt is released image

dprov avatar Jul 21 '20 13:07 dprov

Actually, pressing alt again after selecting with alt+mouse will toggle the focus on and off. The issue seems to be with the Alt key toggling menu bar selection. A fix is to add this in keymap.cson

'.platform-win32, .platform-linux': 'alt': 'abort!'

(Fix from : https://github.com/atom/atom/issues/6037#issuecomment-237102162 )

dprov avatar Jul 28 '20 14:07 dprov

This sent me on a search for a way to disable alt menu selection globally on Windows. If you use AutoHotkey, a simple Alt::return works to prevent it, while still allowing alt to be used as a modifier.

asbestosbill avatar Dec 10 '21 23:12 asbestosbill