MCPcopy Index your code
hub / github.com/benfry/processing4 / handleFindReference

Method handleFindReference

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

Source from the content-addressed store, hash-verified

1954
1955
1956 protected void handleFindReference() {
1957 String ref = referenceCheck(true);
1958 if (ref != null) {
1959 showReference(ref + ".html");
1960 } else {
1961 String text = textarea.getSelectedText();
1962 if (text == null) {
1963 statusNotice(Language.text("editor.status.find_reference.select_word_first"));
1964 } else {
1965 statusNotice(Language.interpolate("editor.status.find_reference.not_available", text.trim()));
1966 }
1967 }
1968 }
1969
1970
1971 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Callers 2

TextAreaPopupMethod · 0.80
buildHelpMenuMethod · 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