Merge pull request #407 from jszakmeister/update-documentation
Update documentation.
This commit is contained in:
commit
e3159ce0d1
@ -46,7 +46,7 @@ class VimState(object):
|
|||||||
"""Save the unnamed register. 'text_to_expect' is text that we expect
|
"""Save the unnamed register. 'text_to_expect' is text that we expect
|
||||||
to be contained in the register the next time this method is called -
|
to be contained in the register the next time this method is called -
|
||||||
this could be text from the tabstop that was selected and might have
|
this could be text from the tabstop that was selected and might have
|
||||||
been overwritten. We will not cash that then."""
|
been overwritten. We will not cache that then."""
|
||||||
self._unnamed_reg_cached = True
|
self._unnamed_reg_cached = True
|
||||||
escaped_text = self._text_to_expect.replace("'", "''")
|
escaped_text = self._text_to_expect.replace("'", "''")
|
||||||
res = int(_vim.eval('@" != ' + "'" + escaped_text + "'"))
|
res = int(_vim.eval('@" != ' + "'" + escaped_text + "'"))
|
||||||
|
15
test_all.py
15
test_all.py
@ -16,12 +16,21 @@
|
|||||||
# Now, from another terminal, launch the testsuite:
|
# Now, from another terminal, launch the testsuite:
|
||||||
# $ ./test_all.py
|
# $ ./test_all.py
|
||||||
#
|
#
|
||||||
|
# Note: if you want to Vim against the Python 3 bindings, you must launch the
|
||||||
|
# test suite using Python 3. For example:
|
||||||
|
# $ python3 ./test_all.py
|
||||||
|
#
|
||||||
# For each test, the test.py script will launch vim with a vimrc, run the test,
|
# For each test, the test.py script will launch vim with a vimrc, run the test,
|
||||||
# compare the output and exit vim again. The keys are send using screen.
|
# compare the output and exit vim again. The keys are send using screen.
|
||||||
#
|
#
|
||||||
# NOTE: The tessuite is not working under Windows right now as I have no access
|
# To limit the tests that are executed, specify a pattern to be used to match
|
||||||
# to a windows system for fixing it. Volunteers welcome. Here are some comments
|
# the beginning of the test name. For instance, the following will execute all
|
||||||
# from the last time I got the test suite running under windows.
|
# tests that start with "SimpleExpand":
|
||||||
|
# $ ./test_all.py SimpleExpand
|
||||||
|
#
|
||||||
|
# NOTE: The test suite is not working under Windows right now as I have no
|
||||||
|
# access to a windows system for fixing it. Volunteers welcome. Here are some
|
||||||
|
# comments from the last time I got the test suite running under windows.
|
||||||
#
|
#
|
||||||
# Under windows, COM's SendKeys is used to send keystrokes to the gvim window.
|
# Under windows, COM's SendKeys is used to send keystrokes to the gvim window.
|
||||||
# Note that Gvim must use english keyboard input (choose in windows registry)
|
# Note that Gvim must use english keyboard input (choose in windows registry)
|
||||||
|
Loading…
Reference in New Issue
Block a user