• StarManta@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 年前

    I see the blank lines being included is odd, is that it? Why are the other lines being underlined?

    • dohpaz42@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      5
      ·
      2 年前

      Because two of them are strings, and one is a declaration of an extension. None of which are of type User.

      • Aatube@kbin.social
        link
        fedilink
        arrow-up
        7
        ·
        edit-2
        2 年前

        All you searched was “User”, ignoring case. You didn’t search the type of user, so it correctly returned lines with “user” in it like “private var username”

        • dohpaz42@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          3
          ·
          2 年前

          If what you’re saying is true, that’s an even more WTF because I’m searching for User references, and not the text “[Uu]ser”.

          • StarManta@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            2 年前

            It’s plainly obvious in this screenshot that you’re just searching for the text “user”.

          • Aatube@kbin.social
            link
            fedilink
            arrow-up
            5
            ·
            2 年前

            I’m pretty sure you’re not doing what you think you’re doing because of the “containing” right after the arrow. To search a symbol you usually select it, right click it, and then click on something.

            • dohpaz42@lemmy.worldOP
              link
              fedilink
              arrow-up
              1
              ·
              2 年前

              To search a symbol you usually select it, right click it, and then click on something.

              Funny you say that… because that’s what I did.

              • Aatube@kbin.social
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                2 年前

                Weird, what was the something you clicked? It may be something wrong with that button instead of the search function, as there’s “containing” after the arrow so it’s not really a symbol search.

                • dohpaz42@lemmy.worldOP
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  2 年前

                  As suggested by others, I changed the Containing to Matching Word and that helped tremendously.