Lines Matching refs:select_anchor
59 static gint select_anchor = 0, select_space = 0; variable
273 select_anchor = select_space = 0; in on_document_create()
288 select_anchor = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(sci), "select_anchor")); in on_document_activate()
391 g_object_set_data(G_OBJECT(sci), "select_anchor", GINT_TO_POINTER(select_anchor)); in save_selection()
402 if (nt->position < select_anchor) in on_editor_notify()
404 select_anchor += nt->length; in on_editor_notify()
411 if (nt->position < select_anchor) in on_editor_notify()
413 if (nt->position + nt->length < select_anchor) in on_editor_notify()
414 select_anchor -= nt->length; in on_editor_notify()
416 select_anchor = nt->position; in on_editor_notify()
433 select_anchor = sci_get_current_position(sci); in on_set_anchor_activate()
449 create_selection(sci, select_anchor, select_space, rectangle); in select_to_anchor()