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

Method jumpHistoryBack

platform/java/example/Viewer.java:1126–1133  ·  view source on GitHub ↗
(int number)

Source from the content-addressed store, hash-verified

1124 }
1125
1126 protected void jumpHistoryBack(int number) {
1127 cancelSearch();
1128 if (number == 0) {
1129 if (historyCount > 0)
1130 popHistory();
1131 } else if (number > 0 && number < marks.length)
1132 restoreMark(marks[number]);
1133 }
1134
1135 protected void jumpHistoryForward(int number) {
1136 cancelSearch();

Callers 1

canvasKeyTypedMethod · 0.95

Calls 3

cancelSearchMethod · 0.95
popHistoryMethod · 0.95
restoreMarkMethod · 0.95

Tested by

no test coverage detected