I have explicitly mentioned preventDefault: True but still when I install and use it while typing some code on pressing Ctrl + L rather than autocompletion it just selects the entire line.
Looks like some default keybinding for the code editor. How to disable it ?? Autocompletion works if i press ESC and go to command mode. How to make it work when in edit mode.
NOTE: Above syntax worked in version 3.x and gave desired results, the above is issue with version 4.x.
the keybinding may be defined by CodeMirror6 defaults rather by JupyterLab shortcuts system; in that case you should open a PR moving it to JupyterLab shortcut, or
if the keybinding is defined on JupyterLab level, your selector might be less specific than that of the keybinding meaning that the other keybinding takes precedence
I think I didn’t really understand that. I saw here that codemirror uses Ctrl+L for line selection which will be default action but given that I am using preventDefault=true shouldn’t it override that ?
Also I think Ctrl+L was also used in prior versions of Codemirror for selecting line but back then the preventDefault trick did worked well.
Is there any work around or a way to directly disable it ?