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

Polish letters can not be inserted into editor #66

Closed
aartiPl opened this issue Apr 2, 2015 · 6 comments
Closed

Polish letters can not be inserted into editor #66

aartiPl opened this issue Apr 2, 2015 · 6 comments

Comments

@aartiPl
Copy link

aartiPl commented Apr 2, 2015

AsciiDoc editor probably captures some key strokes internally, so effectively some characters can not be inserted into editor (they don't appear on screen). In my case it applies to some specific Polish letters:
ą - RightAlt + a
ę - RightAlt + e
ś - RightAlt + s
ł - RightAlt + l

It's quite critical issue as it disallows to write comfortably common texts in Polish language.

@rahmanusta
Copy link
Member

Hi @aartiPl ;

Can you try to declare shortcuts for your need like Altgr + } in shortcuts.yml?

https://github.com/asciidocfx/AsciidocFX/blob/master/conf/shortcuts.yml

@aartiPl
Copy link
Author

aartiPl commented Apr 2, 2015

Unfortunately when I define shortcuts like below:
Ctrl-Alt-e: 'ę'
Ctrl-Alt-a: 'ą'

I get wrong input in editor:
Ä™
Ä…
respectively...

The case is that these shortcuts are standard shortcuts for Polish letters. While it might be ok for temporary solution, I think it is not acceptable as a long term solution. I don't have to do it for any other editor - they are defined by default Polish keyboard.

I have also noticed that sometimes arrow keys also are not working, while in the same time I am able to input some text.

BTW: I think that AsciiDocFx is already great editor with big potential. Thanks for your work!

@rahmanusta
Copy link
Member

I fixed wrong input problem, and it will available in new release.

Unfortunately JavaFx supports only qwerty layout for now. There can be possible keyboard issues. But shortcuts.yml may help us in generally. For example I solved "}" character in shortcuts.yml.

We saw arrow problem when typing [] and left arrow. That is weird, i will debug it.

Thanks for your good opinions.

@rahmanusta
Copy link
Member

Hey @aartiPl , Can you try latest version 1.3.6 ?

I updated ace editor version, and maybe it works without shortcut.yml changes. If it not works again, try shortcuts.yml. I fixxed the character issue. You can declare your shortcuts like below;

Ctrl-Alt-e: 'ę'
Ctrl-Alt-a: 'ą'

Note that, we were using keys: property in v1.3.5, and in v1.3.6 we dont use keys: propert. Only put shortcuts.yml above.

Let me inform, thanks

@rahmanusta
Copy link
Member

Hi @aartiPl . Did you try it=?

@aartiPl
Copy link
Author

aartiPl commented May 3, 2017

The problem disappeared last time, but now, in the latest version has reoccurred.
In the latest version there is also no shortcuts.yml file, so no way to fix it.

Can you please advice how to fix it?

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

2 participants