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

Syntax Highlighting • Reindent a selection is not working correct on indent/unindent string inside a string according to language definition

$
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 sonniaNov 19, 2024 — Replies 1 — Views 332712



Viewing all articles
Browse latest Browse all 306

Trending Articles