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

Method select

basex-core/src/main/java/org/basex/gui/text/TextPanel.java:501–504  ·  view source on GitHub ↗

Selects the text at the specified position. @param point mouse position @param start states if selection has just been started

(final Point point, final boolean start)

Source from the content-addressed store, hash-verified

499 * @param start states if selection has just been started
500 */
501 private void select(final Point point, final boolean start) {
502 editor.select(rend.jump(point).pos(), start);
503 rend.repaint();
504 }
505
506 // KEY INTERACTIONS ===========================================================================
507

Callers 3

mouseDraggedMethod · 0.95
mousePressedMethod · 0.95
replaceMethod · 0.45

Calls 2

posMethod · 0.45
jumpMethod · 0.45

Tested by

no test coverage detected