This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(.*?)$ | |
//Note the space at the beginning | |
^[A-Za-z]+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($){ | |
var insertAtCaret = function(value) { | |
if (document.selection) { // IE | |
this.focus(); | |
sel = document.selection.createRange(); | |
sel.text = value; | |
this.focus(); | |
} | |
else if (this.selectionStart || this.selectionStart == '0') { | |
var startPos = this.selectionStart; |