-
Notifications
You must be signed in to change notification settings - Fork 56
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
The LaTeX source editing form captures the TAB key #197
Comments
Hmm yes, you can tab through the various controls until you get to the editor then it adds tab and you seem to be stuck https://stackoverflow.com/questions/35520120/ace-editor-change-field-focus-on-tab-key suggests I could turn that off so tab stayed as the browser focus key but then you can't enter a tab. For TeX that's probably not a big loss but it would be nice to have both. In an editor I think I'd expect tab to add tab (or spaces to indent or whatever the tab setting is) but there ought to be a keyboard ctrl-tab or something to move focus off the editor. I'll see what I can do.... |
Incidentally there is a request at to use codemirror instead of ace as the editor (and a link to a test of that in that issue) but that has exactly the same behaviour as far as I can see. |
codemirror 6 (next version) seems to have this feature. the test here https://codemirror.net/6/examples/tab/ works for me with tab and escape tab being the two behaviours. The codemirror test I gave above is the current version 5 (which has methods to do this as well, but not enabled by default) so probably I should look to switching to codemirror 6 then this will fix itself. |
@jfine2358 I decided to fix this as shown in stackexchange for ACE (the tab indent/unindent facility is also bound to ctrl-] and ctrl-[ so still available) it works for me in firefox and chrome, can you check it works in your setting (there are lots of browser dependencies here) if so I'll close this although it'll need checking again if we switch to codemirror. |
The LaTeX source editing form captures the TAB key. There's no obvious way to use that form if you don't have or can't use a mouse. This makes editing of LaTeX source harder and perhaps impossible for those with dexterity or visual impairments.
For example try editing the sample code in https://www.learnlatex.org/en/lesson-03 without use the mouse (or trackpad).
The text was updated successfully, but these errors were encountered: