GtkScintilla::set_selection_end

void set_selection_end(int pos);

Set the end of the selection (character position).

$scintilla->set_selection_end(200);