1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 11:37:57 +01:00
Commit Graph

4266 Commits

Author SHA1 Message Date
Doug Kearns
5cf64c5d57 Mention accessibility.typeaheadfind.* in overridden-preferences help. 2009-01-19 00:42:42 +11:00
Kris Maglione
211e68f8d3 Revert "Again removed explicit numbering in asciidoc help files."
This reverts commit a401e3ebf34c964ca508c189e1daf9b0b18e57b9.

Explicit numbering is easier to read, and will likely be required if and when
we switch to Vim's help format.
2009-01-17 23:45:50 -05:00
Kris Maglione
53f33e0561 Allow ` as local mark 2009-01-17 23:43:29 -05:00
anekos
d822a0b363 Merge branch 'master' into fixTailQuote 2009-01-18 03:14:50 +09:00
anekos
a381a3947a Fix let-command's extraInfo
'let g:foo="c:\"' raise a error.
  -> E114: Missing quote: "
2009-01-18 03:07:47 +09:00
Ted Pavlic
db872c5e65 Added "filetype=asciidoc" to help file modlines.
At the moment, only "syntax=asciidoc" was specified. The
asciidoc_filetype.vim that is distributed with Asciidoc gives the
installer two options -- to either associate every *.txt file with
asciidoc or to try to decipher whether or not the file is an asciidoc
using the first 50 lines.

So it's not given that a developer will open the *.txt files with
ft=asciidoc, and so it's helpful to have it explicitly in the modeline.
2009-01-17 13:02:41 -05:00
Ted Pavlic
45f6153de4 More command-line edits (now elsewhere in the source). 2009-01-17 12:55:56 -05:00
Ted Pavlic
f618833c18 More "command-line edits" in prompts.
Again, by Chicago Manual of Style (CMOS) and several other style guides, we
hyphenate compound /modifiers/ when they come /before/ the word being
modified.

So the "command line" is not hyphenated, but the "command-line mode" is. 

This is consistent with Vim help style conventions as well.
2009-01-17 12:46:10 -05:00
Ted Pavlic
59343a3712 Revert "Fix typos in :highlight help."
This reverts commit 1455b9d27224b1289e7762fef3c4d158c7074877.

"Command line" should only be hyphenated when it is a /leading/ compound
/modifier/. For example, "command-line interface." See CMOS (or
Strunk/White) for more information.
2009-01-17 12:33:28 -05:00
Ted Pavlic
86c5875768 Again removed explicit numbering in asciidoc help files.
Automatic numbering exists for a reason. It's more elegant and easy to
manage. Additionally, because numbering rules can be specified centrally,
it adds consistency to the final look of the documents. An editor shouldn't
have to think about the current numbering level or number. That should be
handled by asciidoc as it builds the final doc.

[ However, added explicit first number to make list source code look a
  little better. ]

Also moved $VIMPERATOR_INIT keyword to its correct location in
starting.txt.

This change partially reverts changeset a1f264639f27d7d5b87e5fbccf54d6890a03ca7d.
2009-01-17 12:29:48 -05:00
Kris Maglione
74256da392 Die on unclosed quote 2009-01-17 02:51:18 -05:00
Doug Kearns
624516108c Fix comment typo. 2009-01-17 17:31:25 +11:00
Doug Kearns
a388a02cf0 Add quick 'n' dirty completion.highlightGroup for :command-complete. 2009-01-17 17:31:24 +11:00
Doug Kearns
d4b88a73d7 Fix typos in :highlight help. 2009-01-17 17:31:22 +11:00
Ted Pavlic
21c4f0f89e Setup abbreviation behavior to be like an isk-less Vim.
For now, the internal equivalent of "iskeyword" is [^\s'"].

In the future, the internal "iskeyword" equivalent can be expanded. It may
be overboard to add an "iskeyword" option, as it applies to lots more
things than :abbr. Additionally, it's not clear why it's bad to call
keyword characters everything except whitespace and quotes.

TODO: Should abbreviations be triggered by any non-keyword character?

TODO: Should abbreviations be triggered by <CR>?

TODO: Should abbreviations be able to include <Left>, etc.?
2009-01-17 00:39:01 -05:00
Ted Pavlic
ba948246cc Fix ":abbr this'is'a'test" to return an error, like Vim.
Also note in map.txt that :abbr LHS cannot contain quotes or spaces.
2009-01-16 15:33:43 -05:00
Ted Pavlic
22d3bc470b Change :abbr to parse its args.string itself. 2009-01-16 15:22:44 -05:00
Ted Pavlic
a2c0233fc0 After some investigation, it appears like Vim only outlaws quotes in :abbr.
TODO: Make

    :abbr abcd\ efgh

work like Vim (i.e., map abcd\ to efgh). That's a bigger change to how
the command line is parsed.
2009-01-16 14:59:36 -05:00
Ted Pavlic
aca074f82b Fix :abbr with no argument (in future, will be less push happy). 2009-01-16 14:25:56 -05:00
Ted Pavlic
704303c108 Moved :abbr LHS non-word match to outside RHS check. Want to check LHS always (like Vim). 2009-01-16 14:19:17 -05:00
Ted Pavlic
b758e2f729 Make sure LHS of :abbr is is all word characters. E474 otherwise (mimic Vim). 2009-01-16 14:02:04 -05:00
Ted Pavlic
1019daa5ca Change (\S+) to (\w+) in abbreviation matching so that "VIMP<space> expands (to match Vim behavior). 2009-01-16 13:34:05 -05:00
Ted Pavlic
a0fcde5b4a Add THIS_LANG sanity check to Makefile.doc. 2009-01-15 22:49:43 -05:00
Kris Maglione
e4cd0611f9 Merge branch 'master' into vimperator-2.1 2009-01-15 15:46:15 -05:00
Kris Maglione
bd881e062b Small fixes for recent commits. 2009-01-15 15:44:21 -05:00
Janus Wel
876a8e6df0 Autodetect language from locale in Makefile.doc
If the locale is en-US, this patch will add "-a lang=en" to asciidoc
build line.

Signed-off-by: Ted Pavlic <ted@tedpavlic.com>
2009-01-15 11:14:14 -05:00
Doug Kearns
5e811785c2 Mention the new :silent command in NEWS. 2009-01-15 22:33:53 +11:00
Doug Kearns
9959a9322c Merge branch 'master' into vimperator-2.1 2009-01-15 22:28:23 +11:00
Doug Kearns
4adfe70c01 Update default values for 'hinttags' and 'extendedhinttags' in help. 2009-01-15 22:21:19 +11:00
Doug Kearns
3875c1dd58 Add a help section about preferences set by Vimperator at startup. 2009-01-15 22:21:18 +11:00
Doug Kearns
8201a9a550 Add some rough source documentation for Search. 2009-01-15 22:21:17 +11:00
Doug Kearns
5fe2741dfc Refactor editor.removeAllAbbreviations.
Add some rough source documentation for abbreviation related methods in
Editor.
2009-01-15 22:21:16 +11:00
Doug Kearns
61e1b9e1e6 Mention the "colors" directory in :help 'rtp'. 2009-01-15 22:21:15 +11:00
Doug Kearns
22c65025ed Don't anchor :back/:forward completions. 2009-01-15 22:21:14 +11:00
Kris Maglione
fbcaeaded1 Merge branch 'master' into vimperator-2.1
Conflicts:
	common/content/io.js
	vimperator/locale/en-US/starting.txt
2009-01-15 03:14:08 -05:00
Doug Kearns
d9b07c2ff6 Set MY_VIMPERATORRC when sourcing the RC file on startup. 2009-01-15 18:03:04 +11:00
Kris Maglione
0b682ef42b Fix buffer.getCurrentWord when the selection is collapsed and the word has punctuation. 2009-01-14 23:26:40 -05:00
Kris Maglione
df2443d67c Merge branch 'master' of kmaglione@git.vimperator.org:/git/vimperator/liberator 2009-01-14 21:01:17 -05:00
Martin Stubenschrott
6cddced452 fixed muttator completions 2009-01-14 22:33:17 +01:00
Ted Pavlic
a4b64c71cd Some additions to .gitignore. 2009-01-14 14:56:03 -05:00
Kris Maglione
8311505b61 Merge branch 'master' of kmaglione@git.vimperator.org:/git/vimperator/liberator 2009-01-14 14:08:41 -05:00
Kris Maglione
00470a05b0 Generally insignificant aesthetic changes. 2009-01-14 00:07:17 -05:00
Martin Stubenschrott
72e45035f9 add note about broken completion height calculation 2009-01-14 01:42:53 +01:00
Kris Maglione
ca81a0188b Fix MOW bug 2009-01-13 19:23:35 -05:00
Kris Maglione
2d58d84de5 Fix b34838e4b6fc54d42eebfcb4f20c26ee8e4db473 2009-01-12 13:54:10 -05:00
Ted Pavlic
08f26c4671 .gitignore and Makefile cleanup to make build environment friendly (and non-biased) to other editors. 2009-01-12 10:47:41 -05:00
anekos
2bed184abb Fixed the method of getting href. 2009-01-13 00:21:15 +09:00
Ted Pavlic
853b03ba4d Moved tildetidy into main Makefile. 2009-01-12 10:10:28 -05:00
Ted Pavlic
315d457eb5 Manually reverting one line of commit 7a0423e63afad4c6b0be272fca8064dafc0d6b00.
"this.contexts = { "/": this }" in CompletionContext(...)
    was causing ":set defsearch=google<cr>" (and similar) to error
    with infinite recursion. Restoring to
    "this.contexts = { name: this }" fixes the problem, but does it
    break other things?

    Please review.
2009-01-12 10:03:13 -05:00
Ted Pavlic
d29013a2fd Three small changes (copyright, template.js copyright, and tildetidy target)
a.) Cleaned up copyright language to match conventions.
(I used the memoir document class documentation as a reference, but
 these conventions are common throughout publishing)

   * The (c) symbol has no legal meaning. Only the word "Copyright" and
     an encircled lowercase c are appropriate. So the word "Copyright"
     was placed before each (c).

   * Each (C) was changed to (c).

   * Kris uses the correct symbols in copyright notices, but those
     symbols can be problematic in terminal-mode editors. Added the word
     "Copyright" as well.

   * Replaced colons/spaces after years with the word "by."

b.) Added a copyright notice to common/content/template.js. It was
    missing one entirely. Please correct if it doesn't need one or if the
    copyright isn't held by Martin.

c.) Also added a "tildetidy" target to Makefile common that includes a
    version of the find line from the existing "clean" target (however,
    this version uses "rm -fv" instead of "rm -f").
2009-01-12 09:14:54 -05:00