Lines Matching full:lines
25 # You can also pass in the variable "l:lines" to choose the range for
30 # : let l:lines="all"
80 if vim.eval('exists("l:lines")') == "1":
81 lines = ["--lines", vim.eval("l:lines")]
88 lines = []
91 lines += ["--lines", "%s:%s" % (op[3] + 1, op[4])]
92 if lines == []:
95 lines = [
96 "--lines",
120 if lines != ["--lines", "all"]:
121 command += lines
150 # This maintains trailing empty lines present in the buffer if
151 # the -lines specification requests them to remain unchanged.
152 lines = content.decode(encoding).split("\n")[:-1]
153 sequence = difflib.SequenceMatcher(None, buf, lines)
156 vim.current.buffer[op[1] : op[2]] = lines[op[3] : op[4]]