Add #PB_XML_UseTabs flag to FormatXML()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Quin
Addict
Addict
Posts: 1131
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Add #PB_XML_UseTabs flag to FormatXML()

Post by Quin »

It would be nice if we could tell FormatXML() to use tabs when reindenting our XML instead of just spaces, probably with a flag like suggested in the title.

Code: Select all

FormatXML(0, #PB_XML_ReIndent | #PB_XML_UseTabs, 1)
Any thoughts?