]> granicus.if.org Git - vim/commitdiff
Document extra argument for Python append().
authorBram Moolenaar <Bram@vim.org>
Sat, 24 Jul 2010 14:58:02 +0000 (16:58 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 24 Jul 2010 14:58:02 +0000 (16:58 +0200)
runtime/doc/if_pyth.txt
runtime/doc/todo.txt

index 953d95b8d5e75ac2356c35349267a33c58dee703..f9fddaffd1b6f5b19206e27fc39e292a39788ebd 100644 (file)
@@ -1,4 +1,4 @@
-*if_pyth.txt*   For Vim version 7.3b.  Last change: 2010 Jul 21
+*if_pyth.txt*   For Vim version 7.3b.  Last change: 2010 Jul 24
 
 
                  VIM REFERENCE MANUAL    by Paul Moore
@@ -240,10 +240,12 @@ with marks (see below) which use vim line numbers.
 
 The buffer object methods are:
        b.append(str)   Append a line to the buffer
+       b.append(str, nr)  Idem, below line "nr"
        b.append(list)  Append a list of lines to the buffer
                        Note that the option of supplying a list of strings to
                        the append method differs from the equivalent method
                        for Python's built-in list objects.
+       b.append(list, nr)  Idem, below line "nr"
        b.mark(name)    Return a tuple (row,col) representing the position
                        of the named mark (can also get the []"<> marks)
        b.range(s,e)    Return a range object (see |python-range|) which
@@ -285,10 +287,12 @@ The range object attributes are:
 
 The range object methods are:
        r.append(str)   Append a line to the range
+       r.append(str, nr)  Idem, after line "nr"
        r.append(list)  Append a list of lines to the range
                        Note that the option of supplying a list of strings to
                        the append method differs from the equivalent method
                        for Python's built-in list objects.
+       r.append(list, nr)  Idem, after line "nr"
 
 Example (assume r is the current range):
        # Send all lines in a range to the default printer
index 547941bbfe527e7fb9f99c0d1d85c7f69f0e37bd..adb714027418137bb4f57ca4a27658dfa87700b8 100644 (file)
@@ -300,7 +300,7 @@ does not work. (Nieko Maatjes, 2009 Jan 8, Ingo Karkat, 2009 Jan 22)
 
 opening/closing window causes other window with 'winfixheight' to change
 height.  Also happens when there is another window in the frame, if it's not
-very high. (Yegappan Lakshmanan, 2010 Jul 22)
+very high. (Yegappan Lakshmanan, 2010 Jul 22, Michael Peeters, 2010 Jul 22)
 
 Directory wrong in session file, caused by ":lcd" in BufEnter autocommand.
 (Felix Kater, 2009 Mar 3)