1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-03 09:49:19 +02:00

API setPageStart metod saves text position

This commit is contained in:
Nikolay Pultsin 2012-10-20 10:11:29 +04:00
parent 51ed7d79b5
commit a4c380501f
3 changed files with 9 additions and 3 deletions

View file

@ -391,6 +391,7 @@ public class ApiServerImplementation extends ApiInterface.Stub implements Api, A
public void setPageStart(TextPosition position) {
myReader.getTextView().gotoPosition(position.ParagraphIndex, position.ElementIndex, position.CharIndex);
myReader.getViewWidget().repaint();
myReader.storePosition();
}
public void highlightArea(TextPosition start, TextPosition end) {