GithubHelp home page GithubHelp logo

Comments (4)

asamy avatar asamy commented on June 3, 2024

Do you want a regex/wildcard search also?

On Thu, Aug 29, 2013 at 11:51 AM, Mateusz Pawlica
[email protected]:

Hello,
I'm planning to start working on Search Widget soon, but I found out that
there are two missing functions for it:

  • findItemTypesByName - I know that there's already
    'findItemTypeByName' function, but what if there are more items with the
    same name (for ex. wooden chair)?
  • findItemTypesByString - useful function for autocomplete feature,
    for ex. findItemTypesByString('cha') will return all items with 'cha' in
    name.


Reply to this email directly or view it on GitHubhttps://github.com//issues/32
.

from forgottenmapeditor.

tosty33 avatar tosty33 commented on June 3, 2024

No, I think it won't be needed.

from forgottenmapeditor.

asamy avatar asamy commented on June 3, 2024

Hmm, looks like I'm going to convert the ItemType list to be a hashmap, since the auto completion function would be slow. (Will do that later though)

Testing compilation and i'll commit the changes.

from forgottenmapeditor.

asamy avatar asamy commented on June 3, 2024

OTClient's upstream commit edubart/otclient@3db8f54 implements both.

from forgottenmapeditor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.