Bug? Alt-F formatting failing when try:catch:end try on single line

Discussion in 'Bugs & wishlist' started by JohnK, Oct 26, 2018.

  1. JohnK

    JohnK Active Member Licensed User

    I had a personal project, and simply wanted an "on error resume next" attempt on a single line, so had the following
    Code:
    Try: sObjValue = objValue: CatchEnd Try
    When I pressed Alt-F, the indentation was not good
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    This is unlikely to be fixed. Multiple single statements are discouraged. Especially with block elements such as this one.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice