eflyjason added a comment. |
On the time when _keyboardShortcut is called, the CodeMirror-hints is already closed and removed, so we cannot use that way to check if a code hint is displayed.
I think some of the API here might be helpful: https://codemirror.net/doc/manual.html#api
TASK DETAIL
EMAIL PREFERENCES
To: eflyjason
Cc: Aklapper, Jonas, Graham87, Smalyshev, Florian, gerritbot, Lucas_Werkmeister_WMDE, Jan_Dittrich, eflyjason, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
Cc: Aklapper, Jonas, Graham87, Smalyshev, Florian, gerritbot, Lucas_Werkmeister_WMDE, Jan_Dittrich, eflyjason, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs