Merge remote-tracking branch 'origin/master' into indent_guides

Conflicts:
	lib/ace/theme/textmate.css
This commit is contained in:
Lennart Kats 2012-08-10 09:51:03 +02:00
commit 768bfbb1f2
19 changed files with 155 additions and 153 deletions

View file

@ -694,6 +694,9 @@ var Editor = function(renderer, session) {
* called whenever a text "paste" happens.
**/
this.onPaste = function(text) {
// todo this should change when paste becomes a command
if (this.$readOnly)
return;
this._emit("paste", text);
this.insert(text);
};