Did I find the right examples for you? yes no

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)

        def next_line(iter):
    result = iter.copy()
    result.set_line(result.get_line() + 1)
    return result
        


src/s/n/snaked-HEAD/snaked/plugins/edit_and_select/smart_select.py   snaked(Download)
from util import (iter_lines, line_is_empty, get_next_not_empty_line, get_whitespace,
    line_text, next_line, prev_line, cursor_on_start_or_end_whitespace, get_line_bounds)
 
def extend_with_gap(from_iter, ws, delta):
    n = None
 
    end_ws = len(get_whitespace(end))
    next_empty = end.is_end() or line_is_empty(next_line(end))
    next_ws = len(get_whitespace(next_line(end)))
 

src/s/n/snaked-0.4.7/snaked/plugins/edit_and_select/smart_select.py   snaked(Download)
from util import (iter_lines, line_is_empty, get_next_not_empty_line, get_whitespace,
    line_text, next_line, prev_line, cursor_on_start_or_end_whitespace, get_line_bounds)
 
def extend_with_gap(from_iter, ws, delta):
    n = None
 
    end_ws = len(get_whitespace(end))
    next_empty = end.is_end() or line_is_empty(next_line(end))
    next_ws = len(get_whitespace(next_line(end)))