add test for getLineLength()
JBIDE-16916: Invalid thread access when running clear command
add test for moveCursorTo()
JBIDE-16916: change out-of-date test
add test for getLength()
add test for setCurrentStyle()