question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bugs with accents on Mac and PC

See original GitHub issue

It seems I’m really taking the editor for a road test with my use cases! Anyway there are some issues I’ve experienced:

On a PC

Generally works well - ALTGR + e = é, ALTGR + o = ó, works as expected, however ALTGR + a selects all text rather than producing the expected á.

On a Mac

It seems that accents are generally broken in the editor on a mac. The reason appears to be the way you produce characters on a mac, using any kind of mac keyboard (UK or European).

FYI: I’m going to refer to the mac ‘alt’ key as option here, for your reference

To produce accents, there is an ‘accents key’ - on international keyboards this is a single key, on UK/US keyboards, you press option + e. After pressing the accents key (which shows up as ´, often highlighted) you press the key corresponding to the vowel you want. For example: á.

Try this in any standard editor and you see how it works. Example:

Standard editor: option + e, a produces á Carbon editor: option + e, a produces ´a

Solution

The PC solution should be fairly trivial - unassigning or being more specific for select all (which on a PC should be CTRL + a rather than ALT + a or ALTGR + a).

For Mac, I think the fix should also be fairly easy - it just involves some extra keyboard detection. See: http://stackoverflow.com/questions/25332625/detect-accented-chars-typed-on-mac

Again I will give you a hand when I get time. Thanks.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
assembledadamcommented, Oct 17, 2016

We’re using this in production now (over at https://www.videogamer.com - only staff are able to edit at the moment), and will be launching an international version of the site this month, so the accents issue will definitely become a bigger problem for us. Going to try to take a look at it ASAP, but any help would be great on this particular issue 😃

If you’d like, at some point I could show you a demo of how we’re using it (with a few mods!).

1reaction
assembledadamcommented, Jun 12, 2016

No problem, plenty where that came from 😉

I always feel guilty posting bugs on open source software - in most cases for other projects I don’t do this without providing a fix, so I appreciate you being so gracious! Like I said, my aim is to assist as soon as I am able - right now my hours are almost entirely dedicated to finishing the beta of my company’s platform (for the noble pursuit of survival…).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Accents stop working when moving from Windows to Mac, and ...
Accents stop working when moving from Windows to Mac, and then going ... Go back to the Windows computer; Bug occurs: accents stop...
Read more >
Key jumping when inserting accents Word for Mac
When I'm typing in languages that use accents, at the second accent in each line, the cursor goes back to the last word...
Read more >
Enter characters with accent marks on Mac - Apple Support
In apps on your Mac, type characters with accent marks by pressing a key on the keyboard to display an accent menu.
Read more >
3 easiest ways how to type accents on Mac - MacPaw
Method 1. Use the accent menu · Press and hold a letter on the keyboard until its alternative characters appear. The menu doesn't...
Read more >
How to type accented letters in macOS three different ways
You will notice that some keys will turn orange and show accents. These keys are designated for typing accented characters, and work by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found