How to add new XmlTextImpl

I want to add a new line in xml. Now I know com.intellij.psi.PsiElement#add can do this, but how to create a new line XmlTag?

1 comment
Comment actions Permalink

You can create XML psi element with com.intellij.psi.XmlElementFactory. Also you can use Document instead in order to manipulate with text.


Please sign in to leave a comment.