User:Guywan/Scripts/InsertShortcuts.js: Difference between revisions

Content deleted Content added
mNo edit summary
mNo edit summary
Line 63:
// Update txtarea.
txtarea.value = txtarea.value.substring(0, start) + result + txtarea.value.substr(end);
txtarea.selectionStart = end;
txtarea.selectionEnd = end;
if(this.DEBUG) console.log("Inserted.");