Changes

Jump to navigation Jump to search

D2Editor:newRichText

6 bytes added, 17:27, 18 June 2012
m
Line 19: Line 19:     
function on.charIn(char)
 
function on.charIn(char)
currentText = editor:getText()
+
currentText = editor:getText() or ""
 
editor:setText(currentText .. char)
 
editor:setText(currentText .. char)
 
--Add char to the editor
 
--Add char to the editor

Navigation menu