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

Method pos

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

Returns the caret position. @return caret position

()

Source from the content-addressed store, hash-verified

1131 * @return caret position
1132 */
1133 int pos() {
1134 return pos;
1135 }
1136
1137 /**
1138 * Sets the caret position and resets a selection.

Callers 15

forwardMethod · 0.95
backMethod · 0.95
linesUpMethod · 0.95
linesDownMethod · 0.95
bracketMethod · 0.95
closeElemMethod · 0.95
deleteNextMethod · 0.95
deletePrevMethod · 0.95
selectWordMethod · 0.95
setTextMethod · 0.45
setCaretMethod · 0.45
getCaretMethod · 0.45

Calls 1

noSelectMethod · 0.95

Tested by

no test coverage detected