pub fn set_direction(ctx: &Context, direction: Direction)
Sets where start and end are for the marks of this context.