()
| 363 | } |
| 364 | |
| 365 | private void showLinePos() { // show line numbers in status bar (Norbert Visher) |
| 366 | int startLine = getSelectionStart() +1; |
| 367 | int endLine = getSelectionEnd() + 1; |
| 368 | String msg = "Line " + startLine; |
| 369 | if (startLine != endLine) { |
| 370 | msg += "-" + endLine; |
| 371 | } |
| 372 | if (!msg.equals("Line 0")) |
| 373 | IJ.showStatus(msg); |
| 374 | } |
| 375 | |
| 376 | public void mousePressed (MouseEvent e) { |
| 377 | int x=e.getX(), y=e.getY(); |
no test coverage detected