badvision / jace

Java Apple Computer Emulator
Apache License 2.0
66 stars 19 forks source link

First-line of copy/paste causes syntax error on OSX with Ctrl-Shift-V #4

Closed Michaelangel007 closed 8 years ago

Michaelangel007 commented 8 years ago

With text in the system clipboard, pressing Ctrl-Shif-V to paste text in causes a syntax error on OSX.

Repro.:

  1. Start up Jace
  2. Press Ctrl-Delete
  3. Select this text:

    HGR CALL-151

  4. Copy it
  5. Switch to Jace
  6. Ctrl-Shift-V
  7. Emulator mangles the input so the first line causes a ?SYNTAX ERROR :-1:
badvision commented 8 years ago

Ah, yeah it's a random issue where the ctrl-v is also passed in to the emulator. I thought I had patched that but there is the possibility my fix wasn't 100%. In the meantime you might see if it works more reliably if you hold the shift key before pressing ctrl+v just to be on the safe side.

Michaelangel007 commented 8 years ago

Tried Shift + Ctrl-V ... no dice :-1:

badvision commented 8 years ago

Hmm.. try again. I fixed the ctrl issue in the ctrl-c bugfix and I think it fixed this too.

Michaelangel007 commented 8 years ago

Yup, verified fixed. :+1: