Skip to content

Commit

Permalink
Removed commented out irrelevant code
Browse files Browse the repository at this point in the history
Commented this out when fixing block comment issues
  • Loading branch information
isc-egabhart committed Feb 1, 2023
1 parent d7553b9 commit 5e0dc73
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions cls/pkg/isc/codetidy/Assistant.cls
Original file line number Diff line number Diff line change
Expand Up @@ -807,20 +807,7 @@ ClassMethod IndentCodeLine(ByRef Handle As %Library.Binary, Language As %String,

// Preserve indentation of /**/ comments
if (Language = $$$langObjectScript) || (Language = "") {
// Preserve user indentation of comment blocks
if $get(Handle("/*")) || ($extract(LineText, $length(LineText) - 1, *) = "*/") {
/*
set numTabs = 0
while $extract(originalText, numTabs*indentLength + 1, numTabs*indentLength + indentLength) = indentChar {
set numTabs = $increment(numTabs)
}
if '$data(Handle("IndentComment")) {
set Handle("IndentComment") = Indent - numTabs
} else {
set Indent = numTabs + +$get(Handle("IndentComment"))
}
*/
}

// Forget indentation offset for multiline comments
if $get(Handle("IndentComment")) && '$get(Handle("/*")) {
kill Handle("IndentComment")
Expand Down

0 comments on commit 5e0dc73

Please sign in to comment.