Chocolat API

insertTextAtLocation

.insertTextAtLocation(location, newText, recordUndo)

Insert text at specified location, optionally recording the operation for undo.