Search found 18 matches: fuzzy search

Searched query: +fuzzy +search

by Piero
Fri Aug 01, 2025 2:01 pm
Forum: The PureBasic Editor
Topic: anyone using VsCode with Purebasic?
Replies: 4
Views: 471

alternative code editor

In case, for alternatives, search akelpad (win) or textmate (mac) on this forum…

I use TextMate as an IDE tool for "advanced editing/completion"; I ... check, because I can quickly return to PB and compile/debug there (PB IDE isn't so bad after all)
PS: If you have a Mac, also search "fuzzy completion"…
by Piero
Sun Jul 13, 2025 1:47 pm
Forum: Mac OSX
Topic: Quick "Fuzzy Help" hack
Replies: 2
Views: 398

Quick "Fuzzy Help" hack

Quick "Fuzzy Help" hack ;)

NEVER FORGET you can also search https://www.purebasic.com/documentation/PureBasic.pdf (and often quickly get even better help/infos, if you have a good PDF reader like Skim)

Notes:
Dear Fred…
IDE tools seem to have "focus problems" when they use a parameter (I tried some ...
by Piero
Sun Oct 06, 2024 9:34 am
Forum: Mac OSX
Topic: TextMate + Shell from IDE!
Replies: 7
Views: 5138

Well…

... Don't forget to "install" the PB IDE tool, and to see how to setup the fuzzy autocomplete (I have the support text file in "~/bin"; that's a "bin" folder in my home folder)… I also made "two" fuzzy autocomplete for the PB IDE (one is to "search" all open documents…)

Suggestions, Bug Reports and ...
by Piero
Fri May 31, 2024 8:25 am
Forum: The PureBasic Editor
Topic: [IDE Tool] Procedure and macro scanner
Replies: 13
Views: 6574

Re: [IDE Tool] Procedure and macro scanner

... look simpler.

Recording? (I'm kidding; I understand you!)

I made a fuzzy autocomplete for Mac (you know how much I suffer because you don't seem to have a Mac!) and I didn't waste too much time with regexps (search/filter speed is very good, so I don't need to "check for perfect syntax" to ...
by Bitblazer
Thu Sep 02, 2021 4:57 pm
Forum: Applications - Feedback and Discussion
Topic: IceDesign GUI designer
Replies: 726
Views: 289838

Re: IceDesign (New) modern GUI designer



Is it me, or is the (demo) designer itself not DPI aware? Things are fuzzy on my 125% 4K screen (Windows 10).
Coding to several DPIs is ever a pain :|

The old way would be to use a tool like texturepacker to create some kind of texture atlas or use a multi resolution ico . The modern and more ...
by idle
Wed Jan 15, 2020 11:47 pm
Forum: The PureBasic Editor
Topic: autocomplete Trie
Replies: 17
Views: 11354

Re: autocomplete Trie

... load it once, add to and remove on the fly.
An alternative would be a Fuzzy Search rather than an exact match, that could be better from the onset, though until someones written one a Trie will be an improvement.
I'm still trying to work out what the best strategy is to handle structures and ...
by Sicro
Wed Jun 19, 2019 5:47 pm
Forum: Feature Requests and Wishlists
Topic: Add "Static$ variable" or remove "$" for all keywords
Replies: 22
Views: 5413

Re: Add "Static$ variable" or remove "$" for all keywords

... the variable type of the variable.

As long as PureBasic does not use a fuzzy search for auto-completion, the variable type is better appended to the variable name as a suffix in my opinion.
by em_uk
Sat Apr 09, 2016 11:36 am
Forum: Coding Questions
Topic: Fuzzy Search
Replies: 6
Views: 1974

Re: Fuzzy Search

Hi, thanks for the ideas so far.

Fuzzy search as in simple search terms, not complex regex, just so that titles can be filtered easily.

The source windows is an explorer gadget which the user would browse to a folder with the source files in, but say he wants to add just games by codemasters he ...
by Keya
Sat Apr 09, 2016 9:33 am
Forum: Coding Questions
Topic: Fuzzy Search
Replies: 6
Views: 1974

Re: Fuzzy Search

em, by "fuzzy search" do you actually mean complex search patterns (like regular expressions etc)? because the "search for ocean in the title" example you gave indicates it could be as simple as having the user enter a search word, and then simply enumerating through the list using FindString(nextword ...
by Deluxe0321
Sat Apr 09, 2016 2:40 am
Forum: Coding Questions
Topic: Fuzzy Search
Replies: 6
Views: 1974

Re: Fuzzy Search

A good way to perform a fuzzy search is to use the algo provided by Levenshtein.
Wiki: https://en.wikipedia.org/wiki/Levenshtein_distance
Code: https://github.com/acmeism/RosettaCodeData/blob/master/Task/Levenshtein-distance/PureBasic/levenshtein-distance.purebasic

In combination with a prefilled list ...
by kenmo
Sat Apr 09, 2016 2:06 am
Forum: Coding Questions
Topic: Fuzzy Search
Replies: 6
Views: 1974

Re: Fuzzy Search

That works too. I didn't do that in my example because
(a) I wanted to show a RegEx match in the loop
(b) on Linux/Mac, I think ExamineDirectory matches case-sensitive, which I assume em_uk does not want(?)
by infratec
Fri Apr 08, 2016 7:50 pm
Forum: Coding Questions
Topic: Fuzzy Search
Replies: 6
Views: 1974

Re: Fuzzy Search

Why not:

Code: Select all

If ExamineDirectory(0, Path, "*ocean*.*")
  While NextDirectoryEntry(0)
    Debug DirectoryEntryName(0)
  Wend
  FinishDirectory(0)
EndIf
But this has nothing todo with Fuzzy :wink:

Bernd
by kenmo
Fri Apr 08, 2016 7:16 pm
Forum: Coding Questions
Topic: Fuzzy Search
Replies: 6
Views: 1974

Re: Fuzzy Search

A basic start...

Path.s = GetTemporaryDirectory() + "Fuzzy/"
CreateDirectory(Path)

RandomSeed(0)
For i = 1 To 100
File.s = Str(Random(1000)) + " " + Str(Random(1000)) + ".dat"
File = ReplaceString(File, "9", " ocean ")
If CreateFile(0, Path + File)
CloseFile(0)
EndIf
Next i

; (see below ...
by em_uk
Fri Apr 08, 2016 4:32 pm
Forum: Coding Questions
Topic: Fuzzy Search
Replies: 6
Views: 1974

Fuzzy Search

... is to be able to filter my source files.

To do this I'd like to use a fuzzy search, so for example I have a folder with 10,000 titles inside. I want to find all the "ocean" games, I type Ocean in to my filter box and it will filter the list to show any titles with Ocean in the title.

I'm using an ...