nek023 / Lin-Xcode5

A Localization Manager for Xcode 5
http://questbe.at/lin/
MIT License
968 stars 77 forks source link

Filter content depending on caret position #23

Open mike-lischke opened 10 years ago

mike-lischke commented 10 years ago

Currently Lin shows not only the full match of a key but everything that matches even partially. I use keys like "AP1", "AP343" etc. (have more than 500 already). That means when I have a line with the key "AP1" I get matches for all entries that start with "AP1", regardless where the mouse cursor is (e.g. "AP10", "AP11", AP112" etc.). This is just a waste of bandwidth and space. It would be useful when shown while the key is being typed, but not if I just want to see what the key is by setting the caret anywhere on that line.

So my wish is to do partial matching only when typing the key and otherwise full matching.