Skip to content

Commit

Permalink
fix styling of autocompletion popup
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwing committed Apr 6, 2018
1 parent 1510c85 commit 3311361
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
6 changes: 1 addition & 5 deletions plugins/c9.ide.language.core/complete.css
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,7 @@
}

.code_complete_text .ace_text-layer{
left : 1px;
right : 1px;
width : auto;
top : 1px;
bottom : 1px;
margin: 1px!important;
}

.code_complete_text .ace_line{
Expand Down
4 changes: 2 additions & 2 deletions plugins/c9.ide.language.core/completedp.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ define(function(require, exports, module) {
if (!this.ignoreGenericMatches || !match.isGeneric) {
var simpleName = match.replaceText.replace("^^", "").replace(/\(\)$/, "");
if (name.indexOf(simpleName) === 0) {
this.dom.buildDom(["span", { class: "main" + trim },
["u", prefix], simpleName.substring(prefix.length),
this.dom.buildDom([["span", { class: "main" + trim },
["u", prefix], simpleName.substring(prefix.length)],
["span", { class: "deferred" }, name.substring(Math.max(simpleName.length, prefix.length))]
], lineEl);
}
Expand Down
2 changes: 0 additions & 2 deletions plugins/node_modules/ace/lib/ace/autocomplete/popup.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3311361

Please sign in to comment.