add changelog, bump version number and update package

This commit is contained in:
Fabian Jakobs 2011-02-04 07:47:25 +01:00
commit fcf0138f7e
4 changed files with 18 additions and 6 deletions

5
ChangeLog.txt Normal file
View 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

View file

@ -5543,7 +5543,10 @@ var TextInput = function(parentNode, host) {
else
e.preventDefault();
text.select();
setTimeout(sendText, 0);
setTimeout(function () {
sendText();
}, 0);
};
var onCut = function(e) {
@ -5555,7 +5558,10 @@ var TextInput = function(parentNode, host) {
} else
e.preventDefault();
text.select();
setTimeout(sendText, 0);
setTimeout(function () {
sendText();
}, 0);
};
event.addCommandKeyListener(text, host.onCommandKey.bind(host));
@ -5563,7 +5569,8 @@ var TextInput = function(parentNode, host) {
if (useragent.isIE) {
var keytable = { 13:1, 27:1 };
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) {
return;
};
@ -7333,7 +7340,7 @@ var EditSession = function(text, mode) {
this.getRowHeight = function(config, row) {
var rows;
if (!this.$useWrapMode) {
if (!this.$useWrapMode || !this.$wrapData[row]) {
rows = 1;
} else {
rows = this.$wrapData[row].length + 1;

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
{
"name": "ace",
"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",
"engines": {"node": ">= 0.2.0"},
"author": "Fabian Jakobs <fabian@ajax.org>",