Kris Maglione
0af0b5340e
Minor mode magic.
2010-12-07 01:21:42 -05:00
Kris Maglione
5d51fd491a
Do away with services.(get|create), and move the prefs module to its own file.
2010-12-01 21:57:51 -05:00
Kris Maglione
437cd802eb
Don't treat <C-c> specially in pass-through mode. Closes issue #160 .
...
--HG--
extra : rebase_source : 95b34d6df9705042fca26aeaf63f51d57131458b
2010-12-01 14:29:18 -05:00
Doug Kearns
5faa13c996
Clean up editor.pasteClipboard.
...
--HG--
extra : rebase_source : 119ea139b97eee94ec195ddf251c00d5ebdf81c0
2010-11-11 19:09:50 +11:00
Doug Kearns
12850179d5
Make editor.expandAbbreviation a little more readable.
...
--HG--
extra : rebase_source : 49d92eb99a1b5a52db7d24696341148f822b773c
2010-11-10 23:49:12 +11:00
Kris Maglione
1f8bd6ee81
Rip out threading code. Fixes issue #119 . Fixes issue #128 .
2010-11-12 00:00:16 -05:00
Kris Maglione
21e677346d
Fix bug.
2010-11-09 17:37:51 -05:00
Doug Kearns
4a2d35c4f4
Add external editor mappings to Command Line and Text Edit modes.
...
This is bound to <C-i> in each of these modes as it is for Insert mode.
--HG--
extra : rebase_source : 846abe669c943637de39a8def11e30d812f01fc2
2010-11-08 18:35:18 +11:00
Doug Kearns
a8b16ec635
Replace util.isOS with a platform queryable util.OS object.
...
--HG--
extra : rebase_source : 2a00dd4e3a023c9de11818bb95d86d9901341c6a
2010-11-08 05:34:57 +11:00
Doug Kearns
903268b0e1
Add missing semicolons.
...
--HG--
extra : rebase_source : 9b307f142d55c3cd89ea6010ea15f1d26b11846f
2010-11-05 09:09:09 +11:00
Kris Maglione
ab81ed4cb4
Dispatch events from buffer.followLink as trusted events. Closes issue #124 .
2010-11-07 10:17:22 -05:00
Doug Kearns
a66c37088c
Remove unused editor._lastFindChar{,Func} variables.
...
t_; and t_, aren't implemented.
2010-11-05 02:16:08 +11:00
Doug Kearns
97147e8489
Partially clean up count handling in Editor.
2010-11-05 02:08:23 +11:00
Doug Kearns
749570aba8
Fix count handling of t_p.
...
--HG--
extra : rebase_source : bcbb1c42915c0a328e754e55eeb3c7ca6cfc5194
2010-11-05 01:17:57 +11:00
Doug Kearns
58502396a6
Remove some useless return statements from Editor.
...
--HG--
extra : rebase_source : e0d9e68dd782ceaa3bc444333eea62a7add7e215
2010-11-05 01:17:13 +11:00
Doug Kearns
c6a80bdcb3
End both visual characterwise and linewise modes with either v_V or v_v.
...
The distinction between these visual modes is barely implemented but having v_V
delete characterwise selected text is confusing.
--HG--
extra : rebase_source : c44c998f3e5572067cb858193f5fb1f2c82d3d13
2010-11-05 01:15:54 +11:00
Doug Kearns
c1c20175fb
Remove support for t_gI for now.
...
It's odd to support just that Vim extension even though its implementation is
correct and that of t_I is not. We should look at adding these commands later
when the core Vi commands are more accurately implemented.
--HG--
extra : rebase_source : f33cc9c9cbe0de8af2640655c0c7f9485f0a8a9d
2010-11-05 01:12:55 +11:00
Doug Kearns
ef6a52f01c
Make use of dactyl.assert in t_<C-t> and v_d actions.
...
--HG--
extra : rebase_source : 7c7275d3695e98034f542c29fda8dafee2378253
2010-11-05 01:10:13 +11:00
Doug Kearns
359c6e8a76
Improve t_u and t_r descriptions.
...
--HG--
extra : rebase_source : f630111750ec2f2feaf7442534f4528036ea7975
2010-11-05 01:08:45 +11:00
Doug Kearns
26e130bd0b
Whitespace fixes.
...
--HG--
extra : rebase_source : 7bc98c4cf1a8ca89cfbfb1f96ffe9fa72565c663
2010-11-05 00:52:40 +11:00
Doug Kearns
34eba352da
Add missing semicolons.
...
--HG--
extra : rebase_source : 5fdc6c8e52b982ea4685d97cd7ccfeb184ec3851
2010-11-05 00:44:25 +11:00
Kris Maglione
dc38a2208c
Do something remotely reasonable where designMode documents are concerned. Some fixes for evalInSandbox problems in recent nightlies.
2010-10-24 20:21:14 -04:00
Kris Maglione
6f95b33694
Don't collapse command-line selection on mode change.
2010-10-23 18:12:39 -04:00
Doug Kearns
0c797196c4
Typo fixes.
...
--HG--
extra : rebase_source : ae1f5592e46693439e561f82fdf14b33885071e6
2010-10-20 00:26:54 +11:00
Doug Kearns
d170fda0e3
Replace dactyl.has(OS) with util.isOS.
2010-10-17 23:22:53 +11:00
Kris Maglione
5ba4b84563
Hint mode: Don't be discouraged by a document's lack of a body. Closes issue #40 .
...
--HG--
extra : rebase_source : dfdf9cf61af76aa84841ff181f42afcf318bce6d
2010-10-16 15:45:30 -04:00
Kris Maglione
bea1c20858
Better :yank formatting.
2010-10-14 22:06:17 -04:00
Doug Kearns
68b6df33ca
Miscellaneous formatting fixes.
...
--HG--
extra : rebase_source : ac84b34db15b95fd5a6ad597a1420ffc4cb35414
2010-10-11 22:01:18 +11:00
Kris Maglione
6907ae130e
Fix inserting [ '"] as the first character in command-line mode.
2010-10-12 12:25:00 -04:00
Kris Maglione
2597be756a
Fix completion list for functions that return augmented arrays.
2010-10-11 16:45:12 -04:00
Kris Maglione
a682373e27
Replace spurious modes.replace call that Doug, er, warned be about before I committed it.
...
--HG--
branch : mode-refactoring
2010-10-09 02:26:12 -04:00
Kris Maglione
0856343b40
Rename TEXTAREA mode to TEXT EDIT mode, and move it from :imap to :tmap.
...
--HG--
branch : mode-refactoring
2010-10-08 13:42:16 -04:00
Doug Kearns
c3f977cf74
Prevent endless TEXTAREA->INSERT->TEXTAREA mode stacking.
...
--HG--
branch : mode-refactoring
2010-10-09 04:18:59 +11:00
Doug Kearns
ce10a9af13
Fix 'c' and 's' VISUAL mode mappings.
...
--HG--
branch : mode-refactoring
2010-10-09 02:05:00 +11:00
Kris Maglione
41335adaae
Fix some major mode changing bugs. Closes issue #55 .
...
--HG--
branch : mode-refactoring
2010-10-06 10:34:28 -04:00
Kris Maglione
57fe3fe9eb
Poll temp files in <C-i> so I don't have to be edgy every time I quit the editor.
2010-10-05 02:05:24 -04:00
Kris Maglione
af64937d55
Fix some crufty old mode-change related bugginess.
2010-10-04 14:17:13 -04:00
Kris Maglione
c577b15ea6
Replace tabs.localStore.focusedFrame with buffer.focusedFrame.
2010-10-03 14:13:24 -04:00
Kris Maglione
bed08a3455
Auto-hide the command-line by default; allow showing messages/mode/command-line in the status bar.
2010-09-27 07:39:49 -04:00
Kris Maglione
3645cd27d0
Banish old commands.parseArgs prototype.
2010-09-24 15:59:51 -04:00
Kris Maglione
99c4c44426
Crudely map <C-h> to <BS> rather than executing an editor command. Fixes issue #15 .
2010-09-24 11:46:16 -04:00
Kris Maglione
296ceee3d2
Don't blow up if the user hasn't yet clicked the content when moving around in caret mode.
2010-09-24 10:35:27 -04:00
Kris Maglione
980fbd32d6
Send an "input" event when pasting into an element. Fixes issue #17 .
2010-09-24 08:44:13 -04:00
Doug Kearns
06215e2eb9
Revert 975d3f90c8a1 for now.
...
The magical powers of getCurrentWord() have temporarily won.
2010-09-23 20:21:11 +10:00
Doug Kearns
b6b0d5b427
Change buffer.getCurrentWord() to a read-only property buffer.currentWord.
2010-09-23 20:03:26 +10:00
Kris Maglione
a37167b95a
Fix pasting.
...
--HG--
extra : rebase_source : 338ca94353f9f407ab9cf2f5c892008adfce46fa
2010-09-22 13:59:02 -04:00
Doug Kearns
542086159f
Fix Windows platform detection.
...
--HG--
extra : rebase_source : 22fa7cb45e3571c2fd4fe527121c50ceac249b25
2010-09-22 17:36:04 +10:00
Kris Maglione
a285d6a405
Added -javascript option to :abbrev, thanks mostly to anekos.
...
--HG--
extra : rebase_source : 06036f7e9e2bb21fc77b1cb783c8f7e4a7e3f50d
2010-09-21 16:13:31 -04:00
Kris Maglione
508cc08a8f
Import some fixes from Vimperator. Thanks anekos, teramoko, and stepnem.
2010-09-18 03:42:48 -04:00
Kris Maglione
1557b70f45
Major documentation updates and formatting fixes, and many, many other changes thanks to an MQ glitch, including:
...
* Significant completion speed improvements
* Significantly improve startup speed, in large part by lazily
instantiating Options and Commands, lazily installing highlight
stylesheets, etc.
* Update logos and icons, fix atrocious about page
* Fix Teledactyl
* JavaScript completion now avoids accessing property values
* Add Option#persist to define which options are saved with :mkp
* Add new Dactyl component which holds add-on-specific configuration
information and removes need for separate components for each dactyl
host
* Several fixes for latest nightlies
* Significant code cleanup and many bug fixes
--HG--
rename : muttator/AUTHORS => teledactyl/AUTHORS
rename : muttator/Donors => teledactyl/Donors
rename : muttator/Makefile => teledactyl/Makefile
rename : muttator/NEWS => teledactyl/NEWS
rename : muttator/TODO => teledactyl/TODO
rename : muttator/chrome.manifest => teledactyl/chrome.manifest
rename : muttator/components/commandline-handler.js => teledactyl/components/commandline-handler.js
rename : muttator/components/protocols.js => teledactyl/components/protocols.js
rename : muttator/content/addressbook.js => teledactyl/content/addressbook.js
rename : muttator/content/compose/compose.js => teledactyl/content/compose/compose.js
rename : muttator/content/compose/compose.xul => teledactyl/content/compose/compose.xul
rename : muttator/content/compose/dactyl.dtd => teledactyl/content/compose/dactyl.dtd
rename : muttator/content/compose/dactyl.xul => teledactyl/content/compose/dactyl.xul
rename : muttator/content/config.js => teledactyl/content/config.js
rename : muttator/content/dactyl.dtd => teledactyl/content/dactyl.dtd
rename : muttator/content/logo.png => teledactyl/content/logo.png
rename : muttator/content/mail.js => teledactyl/content/mail.js
rename : muttator/content/muttator.xul => teledactyl/content/pentadactyl.xul
rename : muttator/contrib/vim/Makefile => teledactyl/contrib/vim/Makefile
rename : muttator/contrib/vim/ftdetect/muttator.vim => teledactyl/contrib/vim/ftdetect/muttator.vim
rename : muttator/contrib/vim/mkvimball.txt => teledactyl/contrib/vim/mkvimball.txt
rename : muttator/contrib/vim/syntax/muttator.vim => teledactyl/contrib/vim/syntax/muttator.vim
rename : muttator/install.rdf => teledactyl/install.rdf
rename : muttator/locale/en-US/Makefile => teledactyl/locale/en-US/Makefile
rename : muttator/locale/en-US/all.xml => teledactyl/locale/en-US/all.xml
rename : muttator/locale/en-US/autocommands.xml => teledactyl/locale/en-US/autocommands.xml
rename : muttator/locale/en-US/gui.xml => teledactyl/locale/en-US/gui.xml
rename : muttator/locale/en-US/intro.xml => teledactyl/locale/en-US/intro.xml
rename : muttator/skin/icon.png => teledactyl/skin/icon.png
2010-09-17 06:21:33 -04:00