0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
mongodb/third_party
Tad Marshall 9bef2fd11e SERVER-4043 -- fix tab completion in mid-code
Add code to linenoise to do what readline was doing.  When tab is
hit, we need to search backwards from the insertion point for a
break character (we're using " =+-/\\*?\"'`&<>;|@{([])}" for now)
and only pass the characters between that point and the cursor
position to the completion routine.  When it gives us possible
completions, we need to insert them in place of the string we
extracted, which makes completion work when not at the left margin
and even when inside another expression.  Linenoise was passing
the whole input line and substituting the replacement text for the
entire line.
2011-11-16 15:19:27 -05:00
..
js-1.7 fix windows sm build SERVER-3659 2011-08-22 00:40:49 -04:00
linenoise SERVER-4043 -- fix tab completion in mid-code 2011-11-16 15:19:27 -05:00
pcre-7.4 use PCRECPP_STATIC SERVER-3992 2011-10-01 11:21:13 -04:00
snappy make earlier visual studio versions work 2011-08-02 23:23:44 -04:00
pcre.py scons flag to use each library externally --use-system-(prcre|boost) SERVER-3829 2011-11-14 18:05:46 -05:00
README notes about linenoise 2011-03-25 14:26:03 -04:00
sm.py scons flag to use each library externally --use-system-(prcre|boost) SERVER-3829 2011-11-14 18:05:46 -05:00
snappy.py scons flag to use each library externally --use-system-(prcre|boost) SERVER-3829 2011-11-14 18:05:46 -05:00

linenoise
 when making changes here, also publish to
 http://github.com/erh/linenoise
 6cdc775807e57b2c3fd64bd207814f8ee1fe35f3