success in using multi-line text view and buffer
For text tool, use multiline text view.