Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alt+Shift+{I,A,F} doesn't insert characters in mac #465

Closed
kritixilithos opened this issue Jun 26, 2018 · 3 comments
Closed

Alt+Shift+{I,A,F} doesn't insert characters in mac #465

kritixilithos opened this issue Jun 26, 2018 · 3 comments

Comments

@kritixilithos
Copy link

Describe the issue you are having

In attempting to type , I press Alt+Shift+I (using the Dyalog keyboard layout) in the repl but no character is typed. I have found out that Alt+Shift+A and Alt+Shift+F also don't work (supposed to type Å and Ï respectively). This also happens with other keyboard layouts to some extent (for example in the Russian keyboard layout I can type Alt+Shift+A (types d) fine, but the others still don't work).

Did you connect to an already running interpreter or start the interpreter from RIDE?

Start an interpreter

How do you reproduce the issue?

Open Ride, and in the repl I press Alt+Shift+I

Paste the contents of Help → About (Shift+F1)

IDE:
  Version: 4.2.451
  Platform: MacIntel
  Date: 2018-06-22 11:54:16 +0100
  Git commit: 7a9d5d6a31fead8a4b6ac302dd0759ec8b1f5b64
  Preferences:{
    "colourScheme":"Francisco Goya",
    "editWins":"{\"width\":800,\"height\":600,\"x\":479,\"y\":266,\"ox\":0,\"oy\":0}",
    "editWinsRememberPos":"1",
    "kbdLocale":"en_US_Mac",
    "keys":"{\"FX\":[\"Ctrl-S\"],\"JSC\":[\"F12\",\"Shift-Cmd-I\"],\"SI\":[\"Ctrl-D\"],\"WI\":[\"Ctrl-C\"]}",
    "selectionHighlight":"1",
    "squiggleTips":"1"
  }

Interpreter:
  Version: 16.0.31812
  Platform: Mac-64
  Edition: Unicode/64
  Date: Dec 20 2017 at 02:58:16
@JohnScholes
Copy link
Contributor

Same here. I have the Mac Dyalog Alt UK keylayout installed. Alt+Shift+I gives me ⍸ in other apps (such as this) but no longer in Ride. It used to work.

@e9gille
Copy link
Contributor

e9gille commented Jun 27, 2018

I've looked into this and found that it is caused by the default key bindings of the editor.
⇧⌥I Insert cursor at end of each line selected
⇧⌥A Toggle block comment
⇧⌥F Format document

See complete list of mac keyboard shortcuts in Monaco/VS Code.

All these default shortcuts are undocumented. We should either add them to the documentation (@FionaDyalog) or disable them (@jayfoad). Maybe we only need to disable the ones that may conflict with the Dyalog keyboard layout?

@jayfoad
Copy link
Contributor

jayfoad commented Jun 27, 2018

Maybe we only need to disable the ones that may conflict with the Dyalog keyboard layout?

That gets my vote.

e9gille added a commit that referenced this issue Jun 28, 2018
e9gille added a commit that referenced this issue Jun 28, 2018
(cherry picked from commit 5d48d06)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants