@TùxCräftîñg it better not be. And it wasn't me who was using tabs. I thought to reuse the code for lks-indicator, which was edited by another guy who made deb file for me
i think that the problem is because my function is first executed on key down, the text in input box is then cleared and newline is inserted after that in onkeyup function
In information theory and computer science, the Levenshtein distance is a string metric for measuring the difference between two sequences. Informally, the Levenshtein distance between two words is the minimum number of single-character edits (i.e. insertions, deletions or substitutions) required to change one word into the other. It is named after Vladimir Levenshtein, who considered this distance in 1965.
Levenshtein distance may also be referred to as edit distance, although that may also denote a larger family of distance metrics. It is closely related to pairwise string alignments.
=...