toscript icon indicating copy to clipboard operation
toscript copied to clipboard

Fix indentation to cfset, add cfthread, cftimer, cftrace

Open jordanclark opened this issue 5 years ago • 0 comments

This pull will re-indent multiline cfset content. It was necessary to pass the toscript object to the converter and add a public method to get the current ident level.

For example the tags:

<cffunction>
	<cfset var foo = {
		success = false
	,	something = ""
	}>
</cffunction>

Would previously result in:

function {
	foo = {
	success = false
,	something = ""
};
}

After this pull it will be:

function {
	foo = {
		success = false
	,	something = ""
	};
}

jordanclark avatar Apr 24 '19 20:04 jordanclark