Multi line in _-TextObject

how to write multi lines with -TextObject in python.
i made plugin for text writing in right to left language. but i can write just in one line. please guide me find a solution for this problem.

Hi @valibeigi.akbar,

Just use a newline character, or \n.

_-TextObject "Valibeigi\nAkbar" _Pause _Enter

ā€“ Dale

thanks. the problem solved with your code.