Wish B4X GUI, priority of undeclared variables over unused variables

Discussion in 'Bugs & wishlist' started by Didier9, Jun 10, 2019.

  1. Didier9

    Didier9 Active Member Licensed User

    Hopefully this will make sense.
    (obviously not a show stopper, just a little bit of sand in the gears...)

    When a function includes an unused variable, the scrollbar to the right of the edit window shows a blue mark.
    When a function includes a non-declared variable, the scrollbar shows a red mark.
    Both are very useful.
    But when a function has both, the blue mark is over the red mark and hides it.
    I would prefer that the red mark be over the blue mark as it is obviously a more urgent problem.

  2. klaus

    klaus Expert Licensed User

  3. Erel

    Erel Administrator Staff Member Licensed User

    I think that the more accurate description of this issue is that the scroll bar markings are drawn from top to bottom (based on lines, not subs) and in case of large code modules, warnings can hide errors.

    This will be fixed in the next update.
    techknight, MrKim, Jorge M A and 4 others like this.
  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