MCPcopy Index your code
hub / github.com/processing/processing / handleFindReference

Method handleFindReference

app/src/processing/app/ui/Editor.java:2325–2337  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2323
2324
2325 protected void handleFindReference() {
2326 String ref = referenceCheck(true);
2327 if (ref != null) {
2328 showReference(ref + ".html");
2329 } else {
2330 String text = textarea.getSelectedText();
2331 if (text == null) {
2332 statusNotice(Language.text("editor.status.find_reference.select_word_first"));
2333 } else {
2334 statusNotice(Language.interpolate("editor.status.find_reference.not_available", text.trim()));
2335 }
2336 }
2337 }
2338
2339
2340 /*

Callers 2

actionPerformedMethod · 0.80
actionPerformedMethod · 0.80

Calls 7

referenceCheckMethod · 0.95
showReferenceMethod · 0.95
statusNoticeMethod · 0.95
textMethod · 0.95
interpolateMethod · 0.95
getSelectedTextMethod · 0.45
trimMethod · 0.45

Tested by

no test coverage detected