<s> import sublime <EOL> def select_point ( view , left_end , right_end = None ) : <EOL> if right_end is None : <EOL> right_end = left_end <EOL> view . sel ( ) . clear ( ) <EOL> view . sel ( ) . add ( sublime . Region ( left_end , right_end ) ) <EOL> def select_eof ( view ) : <EOL> select_point ( view , view . size ( ) , view . size ( ) ) <EOL> def select_line ( view , line_nr ) : <EOL> pt = view . text_point ( line_nr - <NUM_LIT:1> , <NUM_LIT:0> ) <EOL> select_point ( view , pt ) <EOL> def select_bof ( view ) : <EOL> select_point ( view , <NUM_LIT:0> , <NUM_LIT:0> ) </s>
