bigfive / atom-sublime-select

Enable 'sublime style' multiline selection boxes to Atom editor http://atom.io
MIT License
233 stars 49 forks source link

Does Not Work - WIndows 7 #31

Closed GGillan closed 9 years ago

GGillan commented 9 years ago

I have installed this on Atom in Windows 7, and it seems to not work at all. Using the Alt key while holding down left-button and dragging to select, selection occurs horizontally.

Edit to add: Atom version 0.168.0

jonnyhaynes commented 9 years ago

Same for OSX 10.10. Looks like the latest Atom version 0.168.0 has killed it.

@GGillan can you change the issue name to something more appropriate as it seems to be an Atom issue, not an OS issue. Thanks.

braver commented 9 years ago

Jup, seems the Shadow DOM has killed this one. @bigfive any idea how hard it would be to fix?

GGillan commented 9 years ago

@jonnyhaynes I meant the name to imply that didn't work on Windows 7, since I presumed it was working for everyone else (Linux, et al). Obviously not true. But yesterday, even before you telling me that, I noticed the typo in the title (WIndows instead of Windows) and edited the post to try and change the title - can't change the title.

I'll poke around and try again, but I think changing the title is not allowed.

bigfive commented 9 years ago

Wow. Yeah, just updated myself. Broken on Mac too. I'll have a look this afternoon.

bigfive commented 9 years ago

@GGillan Please update to 1.2.2 and see if it works for you. It looks like atom rewrote a lot of the api recently.

jonnyhaynes commented 9 years ago

@bigfive this is now fixed on OSX. Cheers.

GGillan commented 9 years ago

@bigfive: No - just updated and tested - still does not work on Windows 7. Tried quitting and restarting Atom after the update to be sure. Also verified also verified that 1.2.2 is the version now loaded.

GGillan commented 9 years ago

@bigfive Just an aside (there is no message or email feature in GitHub), I am unable to load the package at all on Windows 8.1. It seems that Atom has an old version of npm that GitHub no longer supports, and that version of npm barfs when trying to download an Atom package on Windows 8.1. I reported the issue to GitHub and was referred to report it to the Atom team (which I have).

So the point is that I cannot report to you if this package works on Win 8.1 because I can't get it loaded!

doobiwan commented 9 years ago

Unfortunately I can confirm 1.2.2 does not work on Windows 8.1, Atom version 0.174.0.

ipaq3115 commented 9 years ago

I think I fixed this problem. At least it worked on my machine. I put in a pull request but until then my fork is here

rbu commented 9 years ago

Also does not work for me on Linux x64. Atom 0.176.0 and Sublime-Style-Column-Selection 1.2.2

Duplicate of #28 ?

gregmac commented 9 years ago

I was also expecting alt+left on Windows, but this is not what this plugin does:

inputCfg = switch os.platform()
  when 'darwin'
    key: 'altKey'
    mouse: 1
    middleMouse: true
  when 'linux'
    key: 'shiftKey'
    mouse: 2
    middleMouse: false
  else
    key: 'shiftKey'
    mouse: 2
    middleMouse: true

For me on Win 8.1, plugin 1.2.2 works on Atom 0.176.0 if I use middle mouse to drag (regardless of shift).

GGillan commented 9 years ago

On your advice just checked middleMouse (a wheel/button on mine) on Windows 7 and it works fine.

gregmac commented 9 years ago

Also worth noting that PR #35 fixes this (alt+left works in Windows).

bigfive commented 9 years ago

Ah great, so this is definitely a mouse button issue. I'll add this in now

bigfive commented 9 years ago

Just released a patch including the new PR. Let me know if this helps guys as I don't have a windows machine to test on

GGillan commented 9 years ago

Just downloaded and tested on the Windows 7 machine. I had to stop and start Atom to get it to work, but it now does work! BTW the middle mouse button click and drag also continues to work.

Thank you!