MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / resetSelection

Method resetSelection

ij/src/main/java/ij/text/TextPanel.java:974–981  ·  view source on GitHub ↗

Clears the selection, if any.

()

Source from the content-addressed store, hash-verified

972
973 /** Clears the selection, if any. */
974 public void resetSelection() {
975 selStart=-1;
976 selEnd=-1;
977 selOrigin=-1;
978 selLine=-1;
979 if (iRowCount>0)
980 tc.repaint();
981 }
982
983 /** Creates a selection and insures it is visible. */
984 public void setSelection (int startLine, int endLine) {

Callers 6

setColumnHeadingsMethod · 0.95
selectMethod · 0.95
copyAllMethod · 0.95
selectAllMethod · 0.95
saveMethod · 0.95
setSelectionMethod · 0.80

Calls 1

repaintMethod · 0.45

Tested by

no test coverage detected