Commit Graph
100 Commits
Author SHA1 Message Date
Kris Maglione 12ff5a3bbc Fix JS completion when function calls are present 2008-10-12 20:10:13 +00:00
Kris Maglione 99f3e3cfef Allow argument to :w 2008-10-12 20:08:51 +00:00
Kris Maglione 0f92110012 Allow :time to be interrupted 2008-10-12 18:58:32 +00:00
Kris Maglione afcd5cbaeb Dont display "replaying" unless playing back a macro 2008-10-12 15:57:54 +00:00
Kris Maglione 7a61111e35 Add tab numbering 2008-10-12 05:32:38 +00:00
Kris Maglione db3cc5433e Report an error on search submit with incsearch. 2008-10-11 23:14:20 +00:00
Kris Maglione b84714bba6 Add a Struct() type for things like Bookmarks and Styles 2008-10-11 20:44:51 +00:00
Kris Maglione bad771cddc Switch back to the fixup service for sourcing files. 2008-10-11 19:19:43 +00:00
Kris Maglione ddb2f171a8 Dont source a plugin twice 2008-10-11 16:40:08 +00:00
Kris Maglione b32728d34a Add a :loadplugins command 2008-10-11 16:37:57 +00:00
Kris Maglione 89abca3a11 Update index.txt 2008-10-11 15:18:31 +00:00
Kris Maglione 090e79fcd8 Refill the completions list on show() to cover some FF glitches 2008-10-11 15:10:18 +00:00
Kris Maglione e0fd2718e8 Document . mapping 2008-10-11 14:41:09 +00:00
Kris Maglione ce65d762a0 Properly allow $ in identifiers in JS completer 2008-10-11 06:48:05 +00:00
Kris Maglione 2368a1c979 Use URI fixup service to convert path to URI for :source 2008-10-11 06:43:55 +00:00
Kris Maglione e69cba9ff3 Add "." 2008-10-11 06:27:07 +00:00
Kris Maglione e985d55819 Add NEWS and help entries for updated :au that I thought I'd added before, but apparantly "failed an up-to-date check" on 2008-10-11 05:56:28 +00:00
Kris Maglione e92a35a197 Update :au to use args parser, and perform certain replacements (more to come?). 2008-10-11 01:29:03 +00:00
Kris Maglione 29cc805622 Dont quote numbers, as per the previous behavior. 2008-10-11 00:22:53 +00:00
Kris Maglione ff79cbf748 Add commands.replaceTokens 2008-10-11 00:21:07 +00:00
Kris Maglione 543b4091de Update :hi to take advantage of :style updates 2008-10-10 22:47:11 +00:00
Kris Maglione 0c06594885 Add -name argument to :sty and -name/-index arguments to :delsty 2008-10-10 22:29:21 +00:00
Kris Maglione a1c082dda7 Add "literal" option to addCommand, to treat all args after argCount as a literal string 2008-10-10 20:02:33 +00:00
Kris Maglione 56dde515a0 Add the beginings of completion support to parseArgs 2008-10-10 19:03:38 +00:00
Kris Maglione c5f8f5e581 Only force reload stylesheets if asked. Fix :sty completion for about:blank 2008-10-10 18:20:52 +00:00
Kris Maglione 9e65be3125 Add *.xml files to the jar 2008-10-10 18:15:41 +00:00
Kris Maglione ec5a81a472 Fix Option.has() for multiple arguments 2008-10-10 18:14:48 +00:00
Kris Maglione 0da19dfb31 Fix :se completion 2008-10-10 18:03:09 +00:00
Kris Maglione 3c28cbf9f6 Fix :bmarks completion 2008-10-10 17:29:40 +00:00
Kris Maglione 9d6bd1f9e4 Change /foo*/ to /foo*(?:)/ for vims sake 2008-10-10 16:52:02 +00:00
Kris Maglione c8f3e8f4e1 Remove /* } vim */ comments 2008-10-10 16:44:16 +00:00
Kris Maglione a2bab3f62d Allow muttator's compose overlay to use liberator.xul. Not removing muttatorcompose.xul until chrome.manifest is updated, so as not to break muttator 2008-10-10 15:43:17 +00:00
Kris Maglione fbbed9dec6 Fix <Tab> completion 2008-10-10 07:31:04 +00:00
Kris Maglione f7fed1172c Add :se invfoo=bar,baz to toggle bar and baz in a list option 2008-10-10 05:05:13 +00:00
Kris Maglione ec68f69b4b Make autosize calculation less silly (and fix some CSS) 2008-10-10 04:43:09 +00:00
Kris Maglione baf2480b75 Replaced <table>-based completion with equivalent CSS. Mainly proof-of concept. Feel free to revert. 2008-10-10 03:49:36 +00:00
Kris Maglione 5d68871ca7 Re-register a stylesheet if it already exists on styles.registerSheet 2008-10-10 03:45:30 +00:00
Kris Maglione f771b5e25e Fix :se all 2008-10-10 03:02:19 +00:00
Kris Maglione 602c89fc12 Restrict favicons to 16x16 in completions. 2008-10-09 23:48:24 +00:00
Kris Maglione 1b093e51cc Add rudimentary paren/brace/quote matching for JS 2008-10-09 21:50:00 +00:00
Kris Maglione b8c29417f2 Detect unknown options in :set 2008-10-09 19:17:41 +00:00
Kris Maglione 53bd7a6bc1 Make completion display less jittery. 2008-10-09 19:02:13 +00:00
Kris Maglione 9644eca6a9 Use the wrapped object for completion of XPCNativeWrappers 2008-10-09 17:53:44 +00:00
Kris Maglione e1e8878c0a Fixed-height completion rows. 2008-10-09 17:41:45 +00:00
Kris Maglione bb4c19d4ac Quick hack to add tildes to the empty lines of the completion output. 2008-10-09 16:58:48 +00:00
Kris Maglione b9a24708c5 Unbreak here docs with args in .vimperatorrc 2008-10-09 02:58:29 +00:00
Kris Maglione 7e8312d541 Update news. 2008-10-09 02:48:38 +00:00
Kris Maglione 077fdc838a Move to the chrome://liberator namespace 2008-10-09 02:25:19 +00:00
Kris Maglione a3e898f810 JavaScript completion fixes. 2008-10-09 01:43:22 +00:00
Kris Maglione b350867a7e Add function arg completion to javascript completion. Better exceptions from liberator.eval. 2008-10-08 23:43:17 +00:00
Kris Maglione 1018759953 Add *.dtd to the jar 2008-10-08 22:08:59 +00:00
Kris Maglione c16f80c023 Fix heredocs from :so 2008-10-08 19:36:32 +00:00
Kris Maglione c77b782498 Make autocompletion smoother 2008-10-08 18:57:25 +00:00
Kris Maglione 605cf4bbc3 Dont use autocomplete during macro/:cmd playback; dont show the completion list on setCompletions if wim-=auto 2008-10-08 18:19:11 +00:00
Kris Maglione e22bd873ff Fix the visual bell 2008-10-08 17:44:11 +00:00
Kris Maglione 97d1c1afd9 Cache keyword-search filter 2008-10-08 16:05:19 +00:00
Kris Maglione 796d054306 More of the last commit, and fix :set WRT scoping. 2008-10-08 06:09:39 +00:00
Kris Maglione 12e1b2e89e Integrate :se setter and completion parsing code. 2008-10-08 04:58:27 +00:00
Kris Maglione 17dcbd142c Reset the autocomplete timer before hiding the completions list to prevent an apparant race. 2008-10-08 03:50:26 +00:00
Kris Maglione 4ff5adcc4e Get rid of template.map overloading, add standard "usage" template for ex/vi/option 2008-10-08 03:41:55 +00:00
Kris Maglione 10376ecb77 Add search keyword-history completion (try typing a keyword), better JS completion, better errors in :so, check "preload" before preloading history/bookmarks, Object/Function highlighting, some other bug fixes. 2008-10-08 02:56:11 +00:00
Kris Maglione c038e73471 Replace template.map2 with an overloaded template.map 2008-10-07 21:23:18 +00:00
Kris Maglione 78d9d51434 Last commit done right (or wrong, as it so happens, given Spidermonkeys buggy regex engine) 2008-10-07 21:03:06 +00:00
Kris Maglione 851901d553 Fix :hi for styles ending in ; 2008-10-07 20:43:56 +00:00
Kris Maglione ebf6f2d33b Update docs to reflect lack of *style options 2008-10-07 20:41:02 +00:00
Kris Maglione ee6ca4bb4a The dump part of the last commit, which didnt make it in 2008-10-07 20:35:17 +00:00
Kris Maglione 08ac946225 Highlight substrings matching the filter in completions. Fix javascript completion and :hi. Run dump() arguments through objectToString and append "\n" 2008-10-07 20:33:44 +00:00
Kris Maglione 46a83a4c72 Resize the completion buffer on DOMSubtreeModified event 2008-10-07 14:55:54 +00:00
Kris Maglione 12a6b7ee05 Get rid of *style options and add highlight groups 2008-10-07 14:46:18 +00:00
Kris Maglione 45ad9f0c8b Allow C-c to interrupt search highlighting 2008-10-07 14:25:18 +00:00
Kris Maglione 2a1a15e601 Unbreak hlsearch 2008-10-07 07:52:11 +00:00
Kris Maglione 1ff0c3169b Add NEWS and help entries for :so *.css. 2008-10-07 07:42:21 +00:00
Kris Maglione 19b942aebc Allow io.source to register stylesheets 2008-10-07 07:39:09 +00:00
Kris Maglione abd879a3e5 Moved the template class to its own file, along with some related functions from util.js 2008-10-07 06:56:58 +00:00
Kris Maglione d337ab8c53 Get rid of debugging statements. 2008-10-07 05:38:27 +00:00
Kris Maglione dff300dcbd Speed up JS completion (significantly), but maybe this isnt the best way. 2008-10-07 05:37:20 +00:00
Kris Maglione e33c32fcd6 Make wop=sort actually do something 2008-10-07 04:10:16 +00:00
Kris Maglione 2c44c1047c Override iterators for JS completion. This is evil, and hacky, and completely worth it. 2008-10-07 03:25:59 +00:00
Kris Maglione 3169a93825 Add Option.has(). Improve JS completion. 2008-10-07 03:19:40 +00:00
Kris Maglione 0f438cb499 Wrap eval in try-catch in javascript completer 2008-10-07 02:44:18 +00:00
Kris Maglione 662fb5d7a5 Skip inaccessable elements in javascript completion 2008-10-07 02:13:45 +00:00
Kris Maglione ce0665a965 Added liberator.xul overlay for XUL shared between muttator and vimperator 2008-10-07 02:03:36 +00:00
Kris Maglione d79b41dbc7 Fix javascript completion quirk 2008-10-07 01:53:50 +00:00
Kris Maglione 02dc21d930 Remove magic numbers 2008-10-07 01:04:49 +00:00
Kris Maglione 44de5ce668 Better javascript completion. 2008-10-07 01:02:18 +00:00
Kris Maglione ffb9684248 Fix the Styles class (I think) 2008-10-06 22:21:01 +00:00
Kris Maglione f4613ec8a8 Dont lower-case completion strings. 2008-10-06 22:06:15 +00:00
Kris Maglione 23199b84d1 Dont die if the history completion service isnt available 2008-10-06 22:00:30 +00:00
Kris Maglione 2b5daac844 Check for Components.utils.reportError before calling it 2008-10-06 21:55:38 +00:00
Kris Maglione 1084a94f65 Dump a stack on failed module load 2008-10-06 21:52:50 +00:00
Kris Maglione 899fa605e6 Make autocompletion generally more reasonable 2008-10-06 18:48:08 +00:00
Kris Maglione 50ba2ed66e Cache favicons 2008-10-06 16:20:24 +00:00
Kris Maglione f8a8904716 Minor cleanup 2008-10-06 16:05:32 +00:00
Kris Maglione d5f8ce6438 Add :sty! and :hi! to allow instantiation without error checking 2008-10-06 15:17:19 +00:00
Kris Maglione 5ec80e0468 Make :hi less obtrusive, maybe not better. 2008-10-06 04:51:27 +00:00
Kris Maglione 4c0523d052 Fix :pageinfo layout 2008-10-06 03:27:31 +00:00
Kris Maglione 31e3d33dcd Add a :highlight command. Behavior subject to change. RFC. 2008-10-06 02:07:46 +00:00
Kris Maglione 18c67c92ed Insert the chrome stylesheet before the last element in the document, rather than the first. 2008-10-06 00:51:16 +00:00
Kris Maglione 0a8252fb2a Added :sty chrome to style the main window, moved a bunch of inline styles to CSS, fixed some completion bugs, removed util.blankDocument 2008-10-05 23:38:31 +00:00
Kris Maglione 9e13dee7dd Use the favicon returned by history search. 2008-10-05 14:26:32 +00:00