Project

General

Profile

Actions

Bug #127

closed

TextViews.ShowRange does not clear the auto-scroll range

Added by J. Templ about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
09/02/2016
Due date:
% Done:

0%

Estimated time:

Description

A single text.Insert(...) operation followed by a TextViews.ShowRange(text, ...) does not scroll to the requested position but to the end of the insertion.
This results from the auto scroll mechanism of TextControllers, which scrolls a text lazily to the position of the last modification.
TextViews.ShowRange therefore should clear the auto scroll range if there is one.

Actions

Also available in: Atom PDF