Skip to content
Browse files

add changelog, bump version number and update package

  • Loading branch information...
1 parent 0259c73 commit fcf0138f7e90b894f826f63ec0606f4eda3ef2ef @fjakobs fjakobs committed Feb 4, 2011
Showing with 18 additions and 6 deletions.
  1. +5 −0 ChangeLog.txt
  2. +11 −4 build/src/ace-uncompressed.js
  3. +1 −1 build/src/ace.js
  4. +1 −1 package.json
View
5 ChangeLog.txt
@@ -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
15 build/src/ace-uncompressed.js
@@ -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,15 +5558,19 @@ var TextInput = function(parentNode, host) {
} else
e.preventDefault();
text.select();
- setTimeout(sendText, 0);
+ setTimeout(function () {
+ sendText();
+ }, 0);
+
};
event.addCommandKeyListener(text, host.onCommandKey.bind(host));
event.addListener(text, "keypress", onTextInput);
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;
View
2 build/src/ace.js
1 addition, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 package.json
@@ -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>",

0 comments on commit fcf0138

Please sign in to comment.
Something went wrong with that request. Please try again.