1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 15:52:29 +01:00
Commit Graph

217 Commits

Author SHA1 Message Date
Kris Maglione
f1a6bcc671 Bunch more completion stuff. Add more/less indicators to completion listint. 2008-11-26 03:22:13 +00:00
Kris Maglione
75c35aca60 Respond to comment about literalArg 2008-11-25 19:38:00 +00:00
Doug Kearns
ab057c17a6 add comment about recent literalArg handling change in commands#parseArgs 2008-11-25 14:23:16 +00:00
Kris Maglione
3affc98ea5 Add template.listCompleter to list completion results to the MOW. 2008-11-25 07:30:23 +00:00
Kris Maglione
874ab93fa9 Fix a completion bug 2008-11-24 11:24:37 +00:00
Kris Maglione
ced94146f8 Partially fix completions with mismatched start offsets 2008-11-24 11:12:06 +00:00
Kris Maglione
9b14f6e331 More completion stuff. And move vimperator.png to chrome://liberator2/content/ -- long story. 2008-11-24 10:10:49 +00:00
Doug Kearns
4b66007575 fix parseArgs - literalArg typo 2008-11-24 03:53:16 +00:00
Kris Maglione
7d8eb88954 More completion stuff. 2008-11-23 23:40:40 +00:00
Kris Maglione
6d7c9091de Speed up completions. Fix Structcommands.jsdefaultValue in FF 3.0. Temporarilly name anonymous functions for profiling. 2008-11-23 04:58:23 +00:00
Kris Maglione
77dca6413f More completion stuff 2008-11-22 23:42:59 +00:00
Kris Maglione
5db27607ad More completion stuff. Add proper :bmarks completion 2008-11-22 11:09:36 +00:00
Kris Maglione
fbd5fde3b4 Fix some completion bugs 2008-11-22 10:32:46 +00:00
Kris Maglione
49a559866c More completion stuff 2008-11-22 09:56:57 +00:00
Kris Maglione
fcc799aa6a More completion stuff. 2008-11-22 06:53:44 +00:00
Kris Maglione
00f4b80232 Begining of parseArgs-based completion; only works for :style, for now. Should probably be made intrinsic. 2008-11-20 23:13:01 +00:00
Kris Maglione
ce88c8918d Sorry, committed some things accidentally, before. Added modes.addMode. Made some changes to Commands toward using the parser for completions. 2008-11-20 21:27:44 +00:00
Kris Maglione
a4072000c9 Add hints.addMode (e.g., hints.addMode("k", "Kill image", function (elem) elem.style.display="none", function () "//img")). Etc. 2008-11-18 20:10:24 +00:00
Doug Kearns
0b4232d401 add some more completion args for :command -complete 2008-11-14 14:50:39 +00:00
Doug Kearns
074df859c5 whitespace fixes 2008-11-13 15:45:30 +00:00
Doug Kearns
47fbbacf41 initial crack at :command -complete - YALNS 2008-11-13 15:41:08 +00:00
Kris Maglione
d7076c5aa5 Add some standard JS function completers for the liberator API 2008-11-12 23:55:34 +00:00
Doug Kearns
080cfd3304 refactor commands.{add*,get*} 2008-11-12 12:43:10 +00:00
Doug Kearns
5ed314964e fix :command listing and remove broken option filtering as it doesn't seem
generally useful
2008-11-11 14:50:31 +00:00
Doug Kearns
c6ad5faf9c refactor :delcommand action 2008-11-10 13:24:51 +00:00
Doug Kearns
1de3210214 fix -bang user commands regression 2008-11-10 13:19:16 +00:00
Doug Kearns
31ba397ff5 push literalArg onto the end of args.arguments in parseArgs - still a bit of a
mess
2008-11-03 06:00:44 +00:00
Doug Kearns
6dfc33035b whitespace and semicolon fixes 2008-11-02 11:54:56 +00:00
Doug Kearns
8aff700b67 whitespace fix 2008-11-01 09:29:13 +00:00
Doug Kearns
bf5c630575 simplify parseSpecs longname/shortname pattern 2008-11-01 05:39:48 +00:00
Kris Maglione
b904f580bb Add -append options to :hi and :sty. Fix some bugs (no, I don't know which bugs) 2008-11-01 02:04:42 +00:00
Doug Kearns
e84530b520 replace some match vars with matches for consistency's sake 2008-10-30 06:14:04 +00:00
Kris Maglione
3625aa1709 Use commandcomm /dev/null <(js -v 180 commands.js |& grep -v ReferenceError | grep .) in :mkv output 2008-10-30 04:03:58 +00:00
Kris Maglione
a53b702200 Generally niftier :mkv 2008-10-30 03:31:19 +00:00
Doug Kearns
9fc85871c8 fix typo in parseArgs#quoteArg 2008-10-19 08:01:09 +00:00
Doug Kearns
d14a32afa3 move array utility methods to util.Array 2008-10-19 07:26:17 +00:00
Doug Kearns
bec8d33e59 pass all command actions an args object - IMPORTANT: this will possibly break
your plugin, read the NEWS file
2008-10-17 11:39:25 +00:00
Doug Kearns
1394f483e4 declare some undeclared variables in parseOpt and whitespace fixes 2008-10-15 01:55:27 +00:00
Kris Maglione
ff7c3c1210 Add liberator.modules namespace, load scripts via subscript loader, report better errors on :so with here docs, beep when clicking an input field in command line mode. 2008-10-13 21:05:48 +00:00
Kris Maglione
cd0fb01dd4 with (liberator) 2008-10-13 00:50:03 +00:00
Kris Maglione
b84714bba6 Add a Struct() type for things like Bookmarks and Styles 2008-10-11 20:44:51 +00:00
Doug Kearns
fe970d315e remove extraneous fold markers from commands.parseArgs 2008-10-11 01:32:44 +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
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
Doug Kearns
16164154ba add rough -nargs, -bang and -count support to :command 2008-10-10 13:52:08 +00:00
Doug Kearns
0c03963cf9 add count property to Command's extraInfo to specify whether the command
accepts a count/range
2008-10-06 10:42:06 +00:00
Doug Kearns
2ebb57fe93 rename Command's bangAllowed property to bang 2008-10-04 16:48:32 +00:00
Doug Kearns
6ef73cf313 whitespace fixes and revert some overly aggressive use of expression closures 2008-10-04 10:18:53 +00:00