B4J Library QuickTextSelect - Based on Levenshtein Distance

Hello,

Preview.jpg


I found the autoCompleteText function from controlsFX library a bit too slow, so I wrote this class. This class can be attached to any control, is very fast, and is based on the Levenshtein Distance algorithm.

You can use the UP/DOWN arrows to select the text, then press ENTER to validate. If the text doesn't exist in the list, it will return the new text.

Comment & critics welcomed!

Jmon

Edit: Attached the jar & xml compiled library.
 

Attachments

  • QuickTextSelect.zip
    6.6 KB · Views: 598
  • jQuickTextSelect.zip
    7.7 KB · Views: 600
Last edited:

gyulaszabo

New Member
Licensed User
Longtime User
What did I do wrong ?

B4J version: 4.70
Parsing code. Error
Error parsing program.
Error description: Unknown type: reflector
Are you missing a library reference?
Occurred on line: 60 (QuickTextSelect)
Dim Obj As Reflector
 
Top