Bug? Please allow us to search for single characters, too

Discussion in 'Bugs & wishlist' started by Jehoschua, Jun 4, 2018.

Tags:
  1. Jehoschua

    Jehoschua Member Licensed User

    Good afternoon

    Every IDE and Editor we know is able to find single characters...
    unfortunately, B4A does not allow this: it forces us to use at least 2 characters.

    This is very annoying if one needs to search for exactly one character and because we found this bug, we really need it.

    Please don't ask why we need it. Of course, it can actually be completely fine to search for just one character, for example, if it is a special delimiter.

    Of course, we have no problem if B4A needs 0.0123 seconds more time to presents the list with all 23 found positions.

    Kind regards,
    Thomas
     
  2. LucaMs

    LucaMs Expert Licensed User

    Note that you can use Find / Replace (Ctrl + h instead of Ctrl + f) to search for a single character.
     
  3. Jehoschua

    Jehoschua Member Licensed User

    uff... it's even worse: it's not allowed to search for e.g:
    &

    that's really annoying, the search dialog probably trims the search expression. But if we want to search for spaces - why not?
     
  4. Jehoschua

    Jehoschua Member Licensed User

    Thanks for this Tip!, it really works.

    We don't like this dialog, because it can happen that the replace function is executed by accident. Therefore, a Search Dialog should exactly one single possible function: to Search for something.

    We will start some new feature requests...
     
  5. Jehoschua

    Jehoschua Member Licensed User

    Btw: even if there is a workaround for the Quick Search issues,
    we think they should be fixed (allow to search for one single character, don't use trim for the search expression)
     
  6. LucaMs

    LucaMs Expert Licensed User


    Ctrl + z = Undo ;)
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    This is not a bug. It is by design.
    The quick search is based on an index. The limit is set to avoid performance issues.

    Use the non-quick search if you need to search for a single character.
     
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