Quantcast
Channel: UltraEdit, UltraCompare, UEStudio forums
Viewing all articles
Browse latest Browse all 307

Syntax Highlighting • "Format/Reindent"

$
0
0
Expected indentation:

if
  something
  if
    something
    if
      something
    elseif
      ; in("Case Times","Case Canceled","Case Cancelled"))
      something
    endif;R0
  endif;R0
endif;R0

Unexpected Indentation:
if
  something
  if
    something
    if
      something
    elseif
      in("Case Times","Case Canceled","Case Cancelled")) <-why does this line cause the indentation of subsequent line below to go off/wonky? This seems to also change the way code folder works.
            something
          endif;R0
        endif;R0
      endif;R0

test2.uew setup:

Code:

/L14"TEST2" Line Comment = ; Line Comment Alt = # Block Comment On = /* Block Comment Off = */ Nocase File Extensions = PRG CCL oenexp_script modobj_translate tst/Indent Strings = "if" "else" "elseif" "for" "while" "case" "of:" "subroutine"/Unindent Strings = "endif" "else" "elseif" "endfor" "endwhile" "endcase" "of:" "end"/Open Fold Strings =  "if" "subroutine" "for" "while" "case"/Close Fold Strings =  "endif" "end" "endfor" "endwhile" "endcase"/Open Brace Strings =  "{" "(" "[" /Close Brace Strings = "}" ")" "]"

statistics: Posted by sonnia3:48 - 1 day ago — Replies 1 — Views 5736



Viewing all articles
Browse latest Browse all 307

Trending Articles