-
Notifications
You must be signed in to change notification settings - Fork 25
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
AQL-editor and bidirectional text #540
Comments
Whow, the direction changes as soon as I type the first digit in My current guess is that the syntax highlighting javascript library we use does something terrible wrong. |
It's not the syntax highlighting library but the browsers itself. Any |
@TFeige I'm still working my way through the W3C documentation about the intended behaviour of the textarea but there is a workaround that could help you:
would become
or
|
Thank you! That makes searching indeed a bit easier. |
We implemented a fix for this behaviour that works without the newline workaround. You can test it in our Experimental ANNIS-instance: https://korpling.org/annis3-snapshot/?id=fe834c32-5085-4e65-bf82-b9805e626453 It should work in the latest versions of Firefox and Chrome, the latter one needs at least version 59 to work correctly. Also it works better if the opening and closing quotes ( |
What is the used ANNIS version?
3.4.4 (rev. b53ef2e
What browser and operating system did you use?
Xubuntu 16.04 ; Firefox 49; Chromium 53
What steps will reproduce the problem?
What is the expected result?
Expected result would be the correct handling of mixed characters.
What happens instead?
The positioning of characters is not correct. Editing queries or entering new ones is really painful.
Please provide any additional information below. Also please add a screenshot if possible.
As a workaround, we enter the query in an editor and copy-paste it into the AQL-editor.
The text was updated successfully, but these errors were encountered: