Merge remote-tracking branch 'origin/master' into indent_guides
Conflicts: lib/ace/theme/textmate.css
This commit is contained in:
commit
768bfbb1f2
19 changed files with 155 additions and 153 deletions
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue