Merge pull request #407 from jszakmeister/update-documentation

Update documentation.
This commit is contained in:
Holger Rapp 2014-11-25 07:34:12 +01:00
commit e3159ce0d1
2 changed files with 13 additions and 4 deletions

View File

@ -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 + "'"))

View File

@ -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)