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:
parent
51ed7d79b5
commit
a4c380501f
3 changed files with 9 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue