Skip to content
Snippets Groups Projects
Commit b1df2f02 authored by Matt Gaide's avatar Matt Gaide Committed by Marijn Haverbeke
Browse files

Adding a CodeMirror option for controlling how long the ternTooltip should be...

Adding a CodeMirror option for controlling how long the ternTooltip should be visible before closing
parent 36868164
No related branches found
No related tags found
No related merge requests found
......@@ -616,7 +616,7 @@
else mouseOnTip = false;
}
});
setTimeout(maybeClear, 1700);
setTimeout(maybeClear, cm.options.ternHintDelay ? cm.options.ternHintDelay : 1700);
cm.on("cursorActivity", clear);
cm.on('blur', clear);
cm.on('scroll', clear);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment