Indention: treat ( and ) as < and >
Posted: Tue May 22, 2007 1:26 pm
Hello!
I have very large SQL command. There are many ( and ) characters. I want to "format" this command similar to < and > characters in XML. So each ( starts on new line and with ++tab and each ) starts on new line and with --tab. Moreover inner text - text within ( and ) - can be also on separate line and indented.
I guess, that it should not ne too hard, because the very same logic is for XML already implemented in oXygen.
Thank You. Stepan
I have very large SQL command. There are many ( and ) characters. I want to "format" this command similar to < and > characters in XML. So each ( starts on new line and with ++tab and each ) starts on new line and with --tab. Moreover inner text - text within ( and ) - can be also on separate line and indented.
I guess, that it should not ne too hard, because the very same logic is for XML already implemented in oXygen.
Thank You. Stepan