add changelog, bump version number and update package
This commit is contained in:
parent
0259c731f8
commit
fcf0138f7e
4 changed files with 18 additions and 6 deletions
5
ChangeLog.txt
Normal file
5
ChangeLog.txt
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
2011.02.04, Version 0.1.4
|
||||||
|
|
||||||
|
* Add C/C++ mode contributed by Gastón Kleiman
|
||||||
|
* Fix word wrap bug
|
||||||
|
* fix exception in key input
|
||||||
|
|
@ -5543,7 +5543,10 @@ var TextInput = function(parentNode, host) {
|
||||||
else
|
else
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
text.select();
|
text.select();
|
||||||
setTimeout(sendText, 0);
|
setTimeout(function () {
|
||||||
|
sendText();
|
||||||
|
}, 0);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
var onCut = function(e) {
|
var onCut = function(e) {
|
||||||
|
|
@ -5555,7 +5558,10 @@ var TextInput = function(parentNode, host) {
|
||||||
} else
|
} else
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
text.select();
|
text.select();
|
||||||
setTimeout(sendText, 0);
|
setTimeout(function () {
|
||||||
|
sendText();
|
||||||
|
}, 0);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
event.addCommandKeyListener(text, host.onCommandKey.bind(host));
|
event.addCommandKeyListener(text, host.onCommandKey.bind(host));
|
||||||
|
|
@ -5563,7 +5569,8 @@ var TextInput = function(parentNode, host) {
|
||||||
if (useragent.isIE) {
|
if (useragent.isIE) {
|
||||||
var keytable = { 13:1, 27:1 };
|
var keytable = { 13:1, 27:1 };
|
||||||
event.addListener(text, "keyup", function (e) {
|
event.addListener(text, "keyup", function (e) {
|
||||||
if (inCompostion && (!text.value || keytable[e.keyCode])) setTimeout(onCompositionEnd, 0);
|
if (inCompostion && (!text.value || keytable[e.keyCode]))
|
||||||
|
setTimeout(onCompositionEnd, 0);
|
||||||
if ((text.value.charCodeAt(0)|0) < 129) {
|
if ((text.value.charCodeAt(0)|0) < 129) {
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
@ -7333,7 +7340,7 @@ var EditSession = function(text, mode) {
|
||||||
|
|
||||||
this.getRowHeight = function(config, row) {
|
this.getRowHeight = function(config, row) {
|
||||||
var rows;
|
var rows;
|
||||||
if (!this.$useWrapMode) {
|
if (!this.$useWrapMode || !this.$wrapData[row]) {
|
||||||
rows = 1;
|
rows = 1;
|
||||||
} else {
|
} else {
|
||||||
rows = this.$wrapData[row].length + 1;
|
rows = this.$wrapData[row].length + 1;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "ace",
|
"name": "ace",
|
||||||
"description": "Ajax.org Code Editor is a full featured source code highlighting editor that powers the Cloud9 IDE",
|
"description": "Ajax.org Code Editor is a full featured source code highlighting editor that powers the Cloud9 IDE",
|
||||||
"version": "0.1.3",
|
"version": "0.1.4",
|
||||||
"homepage" : "http://github.com/ajaxorg/ace",
|
"homepage" : "http://github.com/ajaxorg/ace",
|
||||||
"engines": {"node": ">= 0.2.0"},
|
"engines": {"node": ">= 0.2.0"},
|
||||||
"author": "Fabian Jakobs <fabian@ajax.org>",
|
"author": "Fabian Jakobs <fabian@ajax.org>",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue