projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pman.Gnumeric.js
[Pman.Core]
/
Pman.SearchTokenizer.js
diff --git
a/Pman.SearchTokenizer.js
b/Pman.SearchTokenizer.js
index
5a0c3c5
..
8db0be1
100644
(file)
--- a/
Pman.SearchTokenizer.js
+++ b/
Pman.SearchTokenizer.js
@@
-49,6
+49,10
@@
Pman.SearchTokenizer.prototype = {
}
}
+ // sort tokens longest first..
+
+
+
// should not get here...
return this.tokens;
},
@@
-116,7
+120,7
@@
Pman.SearchTokenizer.prototype = {
return;
}
}
- this.tokens.push( { type : 's' , v : s });
+ this.tokens.push( { type : 's' , v : s
, q: q
});
},
getChar : function ()