MCPcopy Create free account
hub / github.com/ArtifexSoftware/mupdf / restoreMark

Method restoreMark

platform/java/example/Viewer.java:1148–1153  ·  view source on GitHub ↗
(Mark mark)

Source from the content-addressed store, hash-verified

1146 }
1147
1148 protected void restoreMark(Mark mark) {
1149 if (mark != null) {
1150 doc.gotoLocation(mark.loc, null);
1151 pageCanvas.requestFocusInWindow();
1152 }
1153 }
1154
1155 protected void pushHistory() {
1156 if (historyCount > 0 && location.equals(history[historyCount - 1].loc))

Callers 3

jumpHistoryBackMethod · 0.95
popHistoryMethod · 0.95
popFutureMethod · 0.95

Calls 1

gotoLocationMethod · 0.80

Tested by

no test coverage detected