MCPcopy Create free account
hub / github.com/BaseXdb/basex / back

Method back

basex-core/src/main/java/org/basex/gui/text/TextEditor.java:354–358  ·  view source on GitHub ↗

Moves one character back and returns the found character. @param select selection flag @return previous character

(final boolean select)

Source from the content-addressed store, hash-verified

352 * @return previous character
353 */
354 private int back(final boolean select) {
355 if(select || !isSelected()) return prev();
356 pos(Math.min(start, end));
357 return curr();
358 }
359
360 /**
361 * Moves one character back and returns the found character. A newline character is

Callers 6

previousMethod · 0.95
prevWordMethod · 0.95
bolMethod · 0.95
lineStartMethod · 0.95
linesUpMethod · 0.95
selectWordMethod · 0.95

Calls 5

isSelectedMethod · 0.95
prevMethod · 0.95
posMethod · 0.95
currMethod · 0.95
minMethod · 0.45

Tested by

no test coverage detected