fixed a bug: document is used wrong

the parameter is wrong, right is document, but used wrong one:
docTextArea.