wip: bookmark replace
This commit is contained in:
parent
efd01c8d2e
commit
17fb5cefcb
@ -100,8 +100,12 @@ public class BookmarkExec {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (idx >= 0 && idx < runs.size() && doR) {
|
||||
run = runs.get(idx);
|
||||
if (idx < runs.size() && doR) {
|
||||
if (idx < 0) {
|
||||
run = paragraph.createRun();
|
||||
} else {
|
||||
run = runs.get(idx);
|
||||
}
|
||||
} else {
|
||||
run = runs.get(runs.size() - 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user