Fixed WhitespaceNode::getNewlineCount() to update with setText