Commit Graph
100 Commits
Author SHA1 Message Date
Kris Maglione 9d06b49d89 Fix eating of white space in highlighted strings in the MOW 2008-12-01 20:55:47 +00:00
Kris Maglione e7248c8b8b Fix Option.validateCompleter 2008-12-01 20:51:40 +00:00
Kris Maglione a2550499c8 Allow plugins onUnload handlers, fix some threadYield issues. 2008-12-01 15:08:50 +00:00
Kris Maglione 42bbfd2500 Only show "Waiting..." message if wed otherwise show items (should maybe do the same for context.message); prefix window functions with "window."; general cleanup. 2008-12-01 07:37:35 +00:00
Kris Maglione fb41ed36b0 Fix feedkeys 2008-11-30 14:33:49 +00:00
Kris Maglione c72581c6e9 Fix :map <filter> 2008-11-30 14:19:34 +00:00
Kris Maglione 20c6aca867 Anchor option completion matches 2008-11-30 12:35:37 +00:00
Kris Maglione 6bc100c356 Dont show the MORE prompt in command line mode. 2008-11-30 01:01:06 +00:00
Kris Maglione 4a0fb1e3c7 Move bindings.xmlbindings.xmltab back to regular bindings file. Adjust completion arrow layout. Reload highlight data on new window. 2008-11-29 23:34:15 +00:00
Kris Maglione 50e610e63d Fix addUserMap when key already mapped. 2008-11-29 21:32:18 +00:00
Kris Maglione 2d93e7ab42 Remove dump statement. :( 2008-11-29 21:21:12 +00:00
Kris Maglione abbf102a60 Better completion with quoting, but not perfect. 2008-11-29 21:20:49 +00:00
Kris Maglione 137d9cc939 Kill filterURLArray 2008-11-29 19:46:29 +00:00
Kris Maglione 92e8615207 :hi CompMsg height: 1.5em; line-height: 1.5em; as the completion rows. 2008-11-29 16:56:57 +00:00
Kris Maglione 4124c73f23 Add "Global Variables" section to JS completion for the eval context. 2008-11-29 16:37:25 +00:00
Kris Maglione f068dc57ca liberator.eval (:js/:echo/...) now uses a separate context. JS completion uses disposable contexts that last one session. 2008-11-29 16:22:35 +00:00
Kris Maglione 36b676d508 Fix scoping in events.js 2008-11-29 15:02:25 +00:00
Kris Maglione 4041d81f7f Fix feedkeys. 2008-11-29 14:45:21 +00:00
Kris Maglione f44c3ebfbc Fix <fast-typing><Tab> problems caused by substring preview. 2008-11-29 14:39:09 +00:00
Kris Maglione 40117ccc5c Fix JS completion of quoted, unanchored substrings 2008-11-29 13:38:00 +00:00
Kris Maglione d90fce0e42 Fix tab numbering. 2008-11-29 13:24:13 +00:00
Kris Maglione b4d2e52eec Fix tab numbering. 2008-11-29 13:22:15 +00:00
Kris Maglione b6c5bea5a1 :macros argCount "1" -> "?" 2008-11-29 13:13:54 +00:00
Kris Maglione 5e34333db9 Make Gradient a bit more robust. Add a margin above completion groups. 2008-11-29 12:59:19 +00:00
Kris Maglione ab365406a1 Add gradient to completions output. Leave space for top arrow, as well 2008-11-29 12:15:05 +00:00
Kris Maglione 69f6c66eda Fix some args completion bugs. Update where JS completion waits for tab. 2008-11-29 11:39:35 +00:00
Kris Maglione f0d29b132b Cache the parse stack in JS completion again. 2008-11-29 09:45:14 +00:00
Kris Maglione 1b0c495d77 Some JS completion stuff. 2008-11-29 09:29:01 +00:00
Kris Maglione ae5ed5b795 Fix listing output visual bug. 2008-11-29 07:36:24 +00:00
Kris Maglione fe6d9e2578 Dont make context listing interruptable. 2008-11-29 07:28:10 +00:00
Kris Maglione b56f543e3f Restrict history completion to 100 items by default. 2008-11-29 07:23:10 +00:00
Kris Maglione 9200548683 Fix some itemlist bugs. 2008-11-29 07:20:23 +00:00
Kris Maglione 92dd546b18 Allow things like :noremap dd d<Nop> 2008-11-29 05:51:17 +00:00
Kris Maglione b7b05cc340 Fix bookmarks.getFavicon 2008-11-28 19:07:23 +00:00
Kris Maglione c08daa4334 Remove dump statements and try-catch blocks 2008-11-28 18:59:02 +00:00
Kris Maglione 5fdf4bd6d6 Perform search-suggest query asynchronously via async http request rather than background thread. 2008-11-28 18:51:28 +00:00
Kris Maglione 4c914e9907 Add -max argument to :bmarks. Fix :bmarks extra highlighting. 2008-11-28 18:26:44 +00:00
Kris Maglione 81802a2876 Allow listCompleter to be interrupted. 2008-11-28 17:27:17 +00:00
Kris Maglione e3feb4ce87 Add -max option to :hist, default to 1000 2008-11-28 17:19:08 +00:00
Kris Maglione 7b94ccc354 Fix :ls 2008-11-28 16:40:17 +00:00
Kris Maglione d6d65d5563 Move "Waiting..." message to the end of the completion list 2008-11-28 16:29:40 +00:00
Kris Maglione cdbca97f0c Dont run the history completer in the background. :( 2008-11-28 16:17:24 +00:00
Kris Maglione e0a3e761ed Add CompletionContextoptions.jswait. Dont preview 1 character substrings. 2008-11-28 16:15:45 +00:00
Kris Maglione a7ca55a87d Remove some dump statements 2008-11-28 14:02:16 +00:00
Kris Maglione d25867e7b5 Dont use argCount with literal. Use the default favicon in :ls 2008-11-28 12:52:09 +00:00
Kris Maglione 8a69d2f3a1 Fix arg parser bugs. Add "Waiting..." message for incomplete completers. 2008-11-28 12:11:12 +00:00
Kris Maglione ceaa5d913e Emit completion messages for arg parser errors. 2008-11-28 11:44:58 +00:00
Kris Maglione 18cf334054 Wait for <Tab> before evaluating funcitons in JS completion. 2008-11-28 11:19:29 +00:00
Kris Maglione bca9a9e26f Last commit again, only right 2008-11-28 09:43:17 +00:00
Kris Maglione 419ecace82 Fix substrings, even though they werent ostensibly broken except in corner cases. 2008-11-28 09:33:14 +00:00
Kris Maglione 92b0ffa75c Unbreak wrapping completion list in reverse. 2008-11-28 09:17:00 +00:00
Kris Maglione 6f0ff1992e Fix scrolling the completion list up 2008-11-28 09:07:41 +00:00
Kris Maglione 082d9d12fa Dont show substring preview when caret isnt at end of line. Fix unanchored substring generation. 2008-11-28 09:02:03 +00:00
Kris Maglione 25d983ec01 And completion.preference. 2008-11-28 08:33:18 +00:00
Kris Maglione 0cfa5857fc Also add completion.option, just for the hell of it. 2008-11-28 08:26:45 +00:00
Kris Maglione 9415926d75 Give :pageinfo an optional argument. Add completion.optionValue. 2008-11-28 08:13:39 +00:00
Kris Maglione 43ae46bf1a Fix completion bug. Speed completion scrolling by another 20ui.js. 2008-11-28 07:12:54 +00:00
Kris Maglione 20596df015 Remove ridiculously tortuous mappings code (again). 2008-11-28 05:58:58 +00:00
Kris Maglione 9bbab5ab22 Fix undefined "count" in :tabc 2008-11-28 05:22:48 +00:00
Kris Maglione 5e732e3bf1 Add 'wildcase' option 2008-11-28 05:07:23 +00:00
Kris Maglione 2ef031c756 Better option completion/validation. 2008-11-28 04:28:38 +00:00
Kris Maglione b1c8e5e73c Load plugins into their own namespaces 2008-11-28 03:25:35 +00:00
Kris Maglione 0325ac9174 Make JS function completion better. Fix some other completion bugs. Dont complete JS after /[\]})"/. 2008-11-28 03:15:22 +00:00
Kris Maglione 91e5af254b Fix completion.history 2008-11-27 13:27:30 +00:00
Kris Maglione 8fc504ea28 Fix hints again 2008-11-27 13:05:00 +00:00
Kris Maglione 3bde15ae61 Fix leader in hint mode 2008-11-27 13:01:30 +00:00
Kris Maglione b19dd9b159 Fix hints 2008-11-27 12:51:47 +00:00
Kris Maglione 17b68c8c92 Fix :noh 2008-11-27 12:45:02 +00:00
Kris Maglione 649743b9b0 Add Preview highlight group 2008-11-27 12:39:42 +00:00
Kris Maglione 03d58c4cc1 Remove dump line 2008-11-27 12:21:23 +00:00
Kris Maglione 2cff6aedce Fix completion of literal args with zero-length filters and argCount = 0. 2008-11-27 12:17:59 +00:00
Kris Maglione d93e75aea2 Dont try to preview a substring when no completion context 2008-11-27 12:04:15 +00:00
Kris Maglione 4c8e5ac3b0 Generate file completions asynchronously 2008-11-27 11:58:50 +00:00
Kris Maglione 41fe490b82 Unbreak FF 3.0 2008-11-27 10:14:49 +00:00
Kris Maglione ce7bd7421f Speed up initial file completion a bit by not sorting the results (twice) 2008-11-27 09:56:18 +00:00
Kris Maglione 0ada7c0ed8 Fix NonText and completion scrolling 2008-11-27 08:45:07 +00:00
Kris Maglione 5aea24eb61 Make substring preview less quirky 2008-11-27 08:21:07 +00:00
Kris Maglione e954cb071e Add skin changes from last commit 2008-11-27 08:17:22 +00:00
Kris Maglione e3d88be2bd Too quick hack. 2008-11-27 07:55:59 +00:00
Kris Maglione d87c66210f Quick hack to show the longest-substring preview on the commandline. 2008-11-27 07:36:36 +00:00
Kris Maglione 82ef520fd5 Fix :mkv 2008-11-27 06:08:08 +00:00
Kris Maglione b3009797da Fix hints in documents with SVG images, and other corner cases. 2008-11-27 05:43:33 +00:00
Kris Maglione 5d8992d761 Fix hints with :set usermode. Dont sort location/history/search completions. Highlight via liberator:highlight= attribute rather than by class 2008-11-27 05:36:01 +00:00
Kris Maglione 980e64a22b Fix completion.runCompleter 2008-11-27 03:52:21 +00:00
Kris Maglione 6db60dfb10 Fix truncated substrings. 2008-11-27 02:29:38 +00:00
Kris Maglione 0eafcd8656 Speed up completion scrolling more. 2008-11-27 01:18:33 +00:00
Kris Maglione 424909162d Dont quote literal option args. Fix more/less completion arrows. 2008-11-26 22:47:53 +00:00
Kris Maglione 7fad219028 Fix :set completion. Allow completing non-cannonical -options. 2008-11-26 22:32:55 +00:00
Kris Maglione 0adf03a6b8 Move bang/count to args. 2008-11-26 21:53:22 +00:00
Kris Maglione 20ab9ef0c7 s/args.arguments/args/g 2008-11-26 21:10:54 +00:00
Kris Maglione a19f3d78ab Run complete.help in the foreground 2008-11-26 20:59:49 +00:00
Kris Maglione aa97106605 Allow completion of quoted function args. 2008-11-26 11:59:14 +00:00
Kris Maglione 7d1b3f793c Some completion fixes 2008-11-26 10:51:43 +00:00
Kris Maglione 5da5f6336a Really fix Options#op, as well as :setcomm /dev/null <(js -v 180 options.js |& grep -v ReferenceError | grep .) completion. 2008-11-26 08:41:25 +00:00
Kris Maglione d35e3a0c8e Fix Options#op 2008-11-26 08:38:12 +00:00
Kris Maglione 3a85f642e2 Fix buffer completion 2008-11-26 08:15:01 +00:00
Kris Maglione 78d700fd91 Add Optionui.jsop to apply +/-/^ from JS 2008-11-26 07:20:44 +00:00
Kris Maglione 3176b654dd More cleanup and a fix or two 2008-11-26 06:46:13 +00:00
Kris Maglione 79acfcf412 Cleanup. Add 1px border to top of completion body for when MOW is also shown. 2008-11-26 06:15:02 +00:00
Kris Maglione 988e88268e Cleanup. 2008-11-26 05:47:02 +00:00