Skip to content

Commit fcf0138

Browse files
committed
add changelog, bump version number and update package
1 parent 0259c73 commit fcf0138

4 files changed

Lines changed: 18 additions & 6 deletions

File tree

‎ChangeLog.txt‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2011.02.04, Version 0.1.4
2+
3+
* Add C/C++ mode contributed by Gastón Kleiman
4+
* Fix word wrap bug
5+
* fix exception in key input

‎build/src/ace-uncompressed.js‎

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5543,7 +5543,10 @@ var TextInput = function(parentNode, host) {
55435543
else
55445544
e.preventDefault();
55455545
text.select();
5546-
setTimeout(sendText, 0);
5546+
setTimeout(function () {
5547+
sendText();
5548+
}, 0);
5549+
55475550
};
55485551

55495552
var onCut = function(e) {
@@ -5555,15 +5558,19 @@ var TextInput = function(parentNode, host) {
55555558
} else
55565559
e.preventDefault();
55575560
text.select();
5558-
setTimeout(sendText, 0);
5561+
setTimeout(function () {
5562+
sendText();
5563+
}, 0);
5564+
55595565
};
55605566

55615567
event.addCommandKeyListener(text, host.onCommandKey.bind(host));
55625568
event.addListener(text, "keypress", onTextInput);
55635569
if (useragent.isIE) {
55645570
var keytable = { 13:1, 27:1 };
55655571
event.addListener(text, "keyup", function (e) {
5566-
if (inCompostion && (!text.value || keytable[e.keyCode])) setTimeout(onCompositionEnd, 0);
5572+
if (inCompostion && (!text.value || keytable[e.keyCode]))
5573+
setTimeout(onCompositionEnd, 0);
55675574
if ((text.value.charCodeAt(0)|0) < 129) {
55685575
return;
55695576
};
@@ -7333,7 +7340,7 @@ var EditSession = function(text, mode) {
73337340

73347341
this.getRowHeight = function(config, row) {
73357342
var rows;
7336-
if (!this.$useWrapMode) {
7343+
if (!this.$useWrapMode || !this.$wrapData[row]) {
73377344
rows = 1;
73387345
} else {
73397346
rows = this.$wrapData[row].length + 1;

‎build/src/ace.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ace",
33
"description": "Ajax.org Code Editor is a full featured source code highlighting editor that powers the Cloud9 IDE",
4-
"version": "0.1.3",
4+
"version": "0.1.4",
55
"homepage" : "http://github.com/ajaxorg/ace",
66
"engines": {"node": ">= 0.2.0"},
77
"author": "Fabian Jakobs <fabian@ajax.org>",

0 commit comments

Comments
 (0)