Skip to content

Commit

Permalink
package 20.09.14
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwing committed Sep 20, 2014
1 parent d6da1f2 commit 17c0271
Show file tree
Hide file tree
Showing 183 changed files with 102,968 additions and 100,307 deletions.
6 changes: 6 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2014.09.21 Version 1.1.7

* Bugfixes
- fix several bugs in autocompletion
- workaround for inaccurate getBoundingClientRect on chrome 37

2014.08.17 Version 1.1.6

* Bugfixes
Expand Down
21 changes: 13 additions & 8 deletions demo/kitchen-sink/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ var supportedModes = {
Dockerfile: ["^Dockerfile"],
Dot: ["dot"],
Eiffel: ["e"],
Erlang: ["erl|hrl"],
EJS: ["ejs"],
Erlang: ["erl|hrl"],
Forth: ["frt|fs|ldr"],
FTL: ["ftl"],
Gcode: ["gcode"],
Expand All @@ -248,6 +248,7 @@ var supportedModes = {
HTML: ["html|htm|xhtml"],
HTML_Ruby: ["erb|rhtml|html.erb"],
INI: ["ini|conf|cfg|prefs"],
Io: ["io"],
Jack: ["jack"],
Jade: ["jade"],
Java: ["java"],
Expand All @@ -268,11 +269,11 @@ var supportedModes = {
LuaPage: ["lp"],
Lucene: ["lucene"],
Makefile: ["^Makefile|^GNUmakefile|^makefile|^OCamlMakefile|make"],
MATLAB: ["matlab"],
Markdown: ["md|markdown"],
MATLAB: ["matlab"],
MEL: ["mel"],
MySQL: ["mysql"],
MUSHCode: ["mc|mush"],
MySQL: ["mysql"],
Nix: ["nix"],
ObjectiveC: ["m|mm"],
OCaml: ["ml|mli"],
Expand All @@ -294,14 +295,14 @@ var supportedModes = {
SASS: ["sass"],
SCAD: ["scad"],
Scala: ["scala"],
Smarty: ["smarty|tpl"],
Scheme: ["scm|rkt"],
SCSS: ["scss"],
SH: ["sh|bash|^.bashrc"],
SJS: ["sjs"],
Space: ["space"],
Smarty: ["smarty|tpl"],
snippets: ["snippets"],
Soy_Template:["soy"],
Space: ["space"],
SQL: ["sql"],
Stylus: ["styl|stylus"],
SVG: ["svg"],
Expand All @@ -316,6 +317,7 @@ var supportedModes = {
VBScript: ["vbs|vb"],
Velocity: ["vm"],
Verilog: ["v|vh|sv|svh"],
VHDL: ["vhd|vhdl"],
XML: ["xml|rdf|rss|wsdl|xslt|atom|mathml|mml|xul|xbl"],
XQuery: ["xq"],
YAML: ["yaml|yml"]
Expand Down Expand Up @@ -5815,6 +5817,8 @@ var Autocomplete = function() {
pos.left += renderer.$gutterLayer.gutterWidth;

this.popup.show(pos, lineHeight);
} else if (keepPopupPosition && !prefix) {
this.detach();
}
};

Expand Down Expand Up @@ -5930,7 +5934,8 @@ var Autocomplete = function() {
var prefix = util.retrievePrecedingIdentifier(line, pos.column);

this.base = session.doc.createAnchor(pos.row, pos.column - prefix.length);

this.base.$insertRight = true;

var matches = [];
var total = editor.completers.length;
editor.completers.forEach(function(completer, i) {
Expand Down Expand Up @@ -6009,7 +6014,7 @@ var Autocomplete = function() {
return detachIfFinished();
if (filtered.length == 1 && filtered[0].value == prefix && !filtered[0].snippet)
return detachIfFinished();
if (this.autoInsert && filtered.length == 1)
if (this.autoInsert && filtered.length == 1 && results.finished)
return this.insertMatch(filtered[0]);

this.openPopup(this.editor, prefix, keepPopupPosition);
Expand Down Expand Up @@ -6054,7 +6059,7 @@ var FilteredList = function(array, filterText, mutateData) {
});
var prev = null;
matches = matches.filter(function(item){
var caption = item.value || item.caption || item.snippet;
var caption = item.snippet || item.caption || item.value;
if (caption === prev) return false;
prev = caption;
return true;
Expand Down
8 changes: 7 additions & 1 deletion demo/kitchen-sink/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,10 @@ body {
position: absolute;
right: 0;
border-left: 1px solid;
}
}

/* .ace_text-input {
z-index: 10!important;
opacity: 1!important;
background: rgb(84, 0, 255)!important;
}*/
2 changes: 1 addition & 1 deletion src-min-noconflict/ace.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min-noconflict/ext-language_tools.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min-noconflict/ext-modelist.js

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

Loading

0 comments on commit 17c0271

Please sign in to comment.