##// END OF EJS Templates
Fix Qt loader commit_api() for 'pyqtv1' or 'pyqtdefault'...
Fix Qt loader commit_api() for 'pyqtv1' or 'pyqtdefault' Our Qt loaders have three options representing PyQt - pyqt (with v2 strings API), pyqtv1 (v1 ditto), and pyqtdefault, which is v2 on Python 3 only. When loading pyqtv1 or pyqtdefault, the code to deny imports of other bindings would assume that api != pyqt meant we were using pyqt5, and forbid future imports of PyQt4. This changes the logic around so PyQt4 is the else: case, catching all three possible names for it. PyQt5 and PySide have, so far, only one name each.

File last commit:

r16912:30744239
r18405:5f275fe1
Show More
completer.less
25 lines | 501 B | text/x-less | LessCssLexer
.completions {
position: absolute;
z-index: 10;
overflow: hidden;
border: 1px solid @border_color;
.corner-all;
.box-shadow(0px 6px 10px -1px #adadad);
}
.completions select {
background: white;
outline: none;
border: none;
padding: 0px;
margin: 0px;
overflow: auto;
font-family: @font-family-monospace;
font-size: 110%;
color: @text-color;
width: auto;
}
.completions select option.context {
color: darken(@brand-primary, 10%);
}