$ = AltGr + É
Monday, 6 October 2014 · 3 messages
DK
Dániel Kiss-Kálmán6 Oct 2014 17:20 #
Hello Basex-Talkers,
when I try to enter a variable I need the $ char. I use hungarian keyboard, and $ is AltGr + É keyboard combination. The only annoying thing is when I press AltGr + É, $ appears, but just before that cursor jumps to the first row first char position. So $ is smiling as the first char in the first row. No other keboard combination does that, only AltGr + É. So every time I need a variable I use clipboard instead of pressing $ char.
Can onyone make my life a little easier to correct it if it is possible at all?
Or help me how to try to remove that cursor jump?
Thanks in advance, Daniel
DK
Dániel Kiss-Kálmán6 Oct 2014 20:30 #
I think I found somehing but need help to correct it.
CTRL Home is the jump to top shortkey.
I went to http://www.w3.org/2002/09/tests/keys.html to check
CTRL Home = keycode 36, but no charcode
AltGR É = keycode 0, charcode 36 (and CTRL and ALT is pressed because of AltGR. so AltGr is nothong more than CTRL + ALT).
basex / basex-core / src / main / java / org / basex / gui / layout / BaseXKeys.java line 31:
/** Beginning of text. */ TEXTSTART(META, MAC ? VK_UP : VK_HOME),
Can oneone please tell me how to correct it if I'm on the right way? maybe check the ALT or any other way?
Daniel
DK
Dirk Kirsten6 Oct 2014 22:05 #
Hallo Daniel,
Yes, basically you are on the correct path. However, LINESTART was affected in this case instead of TEXTSTART.
I just sent a minor pull request (https://github.com/BaseXdb/basex/pull/1003), which should fix the issue.
Cheers,
Dirk
Quoted text · Dániel Kiss-Kálmán · 23 lines
On Mon, Oct 6, 2014 at 8:30 PM, Dániel Kiss-Kálmán < kisskalmandaniel at gmail.com> wrote: > I think I found somehing but need help to correct it. > > CTRL Home is the jump to top shortkey. > I went to http://www.w3.org/2002/09/tests/keys.html to check > > CTRL Home = keycode 36, but no charcode > AltGR É = keycode 0, charcode 36 (and CTRL and ALT is pressed because of > AltGR. so AltGr is nothong more than CTRL + ALT). > > basex / basex-core / src / main / java / org / basex / gui / layout / > BaseXKeys.java line 31: > /** Beginning of text. */ TEXTSTART(META, MAC ? VK_UP : VK_HOME), > > Can oneone please tell me how to correct it if I'm on the right way? maybe > check the ALT or any other way? > > Daniel > > > >
--
Dirk Kirsten, BaseX GmbH, http://basex.org
|-- Firmensitz: Blarerstrasse 56, 78462 Konstanz
|-- Registergericht Freiburg, HRB: 708285, Geschäftsführer:
| Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 28 28 676, Fax: 0049 7531 20 05 22
Written for BaseX 7.9. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery