Lines Matching refs:current

52         vim.current.buffer.append(expr + ':' + msg)
54 vim.current.buffer.append(expr + ':NOT FAILED')
93 pydo vim.current.window.cursor = (1, 5)
96 " Check that movement after setting cursor position keeps current column.
202 py vim.current.buffer[:] = None
211 py vim.current.buffer[:] = [ 'test' ]
220 py vim.current.buffer[-1] = None
258 py b = vim.current.buffer
305 call AssertException(["py vim.current.tabpage = t"],
315 py vim.current.window.height = 5
317 py vim.current.window.height = 3.2
322 py vim.current.window.width = 6
326 py w = vim.current.window
334 call AssertException(["py vim.current.window = w"],
636 py cb = vim.current.buffer
954 call assert_equal('def', pyeval('vim.current.window.vars[''abc3'']'))
955 call assert_equal('bar', pyeval('vim.current.buffer.vars[''baz'']'))
956 call assert_equal('jkl', pyeval('vim.current.tabpage.vars[''bar'']'))
1382 call AssertException(["py vim.current.window.options[''] = 0"],
1384 call AssertException(["py vim.current.window.options[{}] = 0"],
1400 call assert_fails("let x = pyeval('vim.current.buffer[0]')", 'E859:')
1405 py cb = vim.current.buffer
1409 py b = vim.current.buffer
1539 py vim.current.buffer[:] = []
1543 call assert_equal(v:none, pyeval("vim.current.buffer.mark('r')"))
1547 call AssertException(["py vim.current.buffer[0] = 'abc'"],
1549 call AssertException(["py vim.current.buffer[0] = None"],
1551 call AssertException(["py vim.current.buffer[:] = None"],
1553 call AssertException(["py vim.current.buffer[:] = []"],
1555 call AssertException(["py vim.current.buffer.append('abc')"],
1557 call AssertException(["py vim.current.buffer.append([])"],
1570 py b = vim.current.buffer
1571 py r = vim.current.buffer.range(0, 2)
1592 call AssertException(["py vim.current.buffer = b"],
1602 py cb = vim.current.buffer
1687 py cb = vim.current.buffer
1696 call assert_equal(4, pyeval('vim.current.window.tabpage.number'))
1717 str(len(t.windows)) + ' windows, current is ' + W(t.window))
1740 cb.append('Number of windows in current tab page: ' + \
1742 if list(vim.windows) != list(vim.current.tabpage.windows):
1749 <tabpage 0>(1): 1 windows, current is <window object (unknown)>
1752 <tabpage 1>(2): 1 windows, current is <window object (unknown)>
1755 <tabpage 2>(3): 2 windows, current is <window object (unknown)>
1759 <tabpage 3>(4): 4 windows, current is <window 0>
1765 Number of windows in current tab page: 4
1771 " Test vim.current
1775 py cb = vim.current.buffer
1787 cb.append('Current tab page: ' + repr(vim.current.tabpage))
1788 cb.append('Current window: ' + repr(vim.current.window) + ': ' + \
1789 H(vim.current.window) + ' is ' + H(vim.current.tabpage.window))
1790 cb.append('Current buffer: ' + repr(vim.current.buffer) + ': ' + \
1791 H(vim.current.buffer) + ' is ' + H(vim.current.window.buffer)+ \
1792 ' is ' + H(vim.current.tabpage.window.buffer))
1806 vim.current.window = vim.tabpages[0].window
1812 setattr(vim.current, attr, None)
1814 cb.append('Type error at assigning None to vim.current.' + attr)
1820 Type error at assigning None to vim.current.window
1821 Type error at assigning None to vim.current.tabpage
1822 Type error at assigning None to vim.current.buffer
1830 vim.current.tabpage = vim.tabpages[-2]
1831 vim.current.buffer = cb
1832 vim.current.window = vim.windows[0]
1833 vim.current.window.cursor = (len(vim.current.buffer), 0)
1834 cb.append('Current tab page: ' + repr(vim.current.tabpage))
1835 cb.append('Current window: ' + repr(vim.current.window))
1836 cb.append('Current buffer: ' + repr(vim.current.buffer))
1837 cb.append('Current line: ' + repr(vim.current.line))
1847 py vim.current.line = 'one line'
1876 py cb = vim.current.buffer
1884 ('vim.current.buffer', 'Buffer'),
1885 ('vim.current.range', 'Range'),
1886 ('vim.current.window', 'Window'),
1887 ('vim.current.tabpage', 'TabPage'),
1900 vim.current.buffer:Buffer:True
1901 vim.current.range:Range:True
1902 vim.current.window:Window:True
1903 vim.current.tabpage:TabPage:True
1911 py cb = vim.current.buffer
1914 ('current', vim.current),
1915 ('buffer', vim.current.buffer),
1916 ('window', vim.current.window),
1917 ('tabpage', vim.current.tabpage),
1918 ('range', vim.current.range),
1929 current:__dir__,__members__,buffer,line,range,tabpage,window
1988 py cb = vim.current.buffer
2413 py cb = vim.current.buffer
2454 py cb = vim.current.buffer
2754 ee('vim.current.tabpage.xxx')
2760 ee('vim.current.window.xxx')
2762 ee('vim.current.window.buffer = 0')
2763 ee('vim.current.window.cursor = (100000000, 100000000)')
2764 ee('vim.current.window.cursor = True')
2765 number_test('vim.current.window.height = %s', unsigned=True)
2766 number_test('vim.current.window.width = %s', unsigned=True)
2767 ee('vim.current.window.xxxxxx = True')
2773 ee('vim.current.buffer[0] = "\\na"')
2774 ee('vim.current.buffer[0] = u"\\na"')
2776 ee('vim.current.buffer[0] = True')
2778 ee('vim.current.buffer[:] = True')
2779 ee('vim.current.buffer[:] = ["\\na", "bc"]')
2781 ee('vim.current.buffer.append(None)')
2782 ee('vim.current.buffer.append(["\\na", "bc"])')
2783 ee('vim.current.buffer.append("\\nbc")')
2785 ee('vim.current.buffer[100000000]')
2787 ee('vim.current.buffer[100000000] = ""')
2789 ee('vim.current.buffer.xxx')
2791 ee('vim.current.buffer.name = True')
2792 ee('vim.current.buffer.xxx = True')
2794 ee('vim.current.buffer.mark(0)')
2795 ee('vim.current.buffer.mark("abcM")')
2796 ee('vim.current.buffer.mark("!")')
2798 ee('vim.current.buffer.range(1, 2, 3)')
2805 ee('vim.current.xxx')
2807 ee('vim.current.line = True')
2808 ee('vim.current.buffer = True')
2809 ee('vim.current.window = True')
2810 ee('vim.current.tabpage = True')
2811 ee('vim.current.xxx = True')
3569 vim.current.tabpage.xxx:AttributeError:('xxx',)
3575 vim.current.window.xxx:AttributeError:('xxx',)
3577 vim.current.window.buffer = 0:TypeError:('readonly attribute: buffer',)
3578 vim.current.window.cursor = (100000000, 100000000):error:('cursor position outside buffer',)
3579 vim.current.window.cursor = True:TypeError:('argument must be 2-item sequence, not bool',)
3580 >>> Testing NumberToLong using vim.current.window.height = %s
3581 …vim.current.window.height = []:TypeError:('expected int(), long() or something supporting coercing…
3582 …vim.current.window.height = None:TypeError:('expected int(), long() or something supporting coerci…
3583 vim.current.window.height = -1:ValueError:('number must be greater or equal to zero',)
3585 >>> Testing NumberToLong using vim.current.window.width = %s
3586 …vim.current.window.width = []:TypeError:('expected int(), long() or something supporting coercing …
3587 …vim.current.window.width = None:TypeError:('expected int(), long() or something supporting coercin…
3588 vim.current.window.width = -1:ValueError:('number must be greater or equal to zero',)
3590 vim.current.window.xxxxxx = True:AttributeError:('xxxxxx',)
3596 vim.current.buffer[0] = "\na":error:('string cannot contain newlines',)
3597 vim.current.buffer[0] = u"\na":error:('string cannot contain newlines',)
3599 vim.current.buffer[0] = True:TypeError:('bad argument type for built-in operation',)
3601 vim.current.buffer[:] = True:TypeError:('bad argument type for built-in operation',)
3602 vim.current.buffer[:] = ["\na", "bc"]:error:('string cannot contain newlines',)
3604 vim.current.buffer.append(None):TypeError:('bad argument type for built-in operation',)
3605 vim.current.buffer.append(["\na", "bc"]):error:('string cannot contain newlines',)
3606 vim.current.buffer.append("\nbc"):error:('string cannot contain newlines',)
3608 vim.current.buffer[100000000]:IndexError:('line number out of range',)
3610 vim.current.buffer[100000000] = "":IndexError:('line number out of range',)
3612 vim.current.buffer.xxx:AttributeError:('xxx',)
3614 vim.current.buffer.name = True:TypeError:('expected str() or unicode() instance, but got bool',)
3615 vim.current.buffer.xxx = True:AttributeError:('xxx',)
3617 vim.current.buffer.mark(0):TypeError:('expected str() or unicode() instance, but got int',)
3618 vim.current.buffer.mark("abcM"):ValueError:('mark name must be a single character',)
3619 vim.current.buffer.mark("!"):error:('invalid mark name',)
3621 vim.current.buffer.range(1, 2, 3):TypeError:('function takes exactly 2 arguments (3 given)',)
3633 vim.current.xxx:AttributeError:('xxx',)
3635 vim.current.line = True:TypeError:('bad argument type for built-in operation',)
3636 vim.current.buffer = True:TypeError:('expected vim.Buffer object, but got bool',)
3637 vim.current.window = True:TypeError:('expected vim.Window object, but got bool',)
3638 vim.current.tabpage = True:TypeError:('expected vim.TabPage object, but got bool',)
3639 vim.current.xxx = True:AttributeError:('xxx',)
3649 py cb = vim.current.buffer
3712 py cb = vim.current.buffer
3743 py cb = vim.current.buffer