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

Method showReferenceFile

app/src/processing/app/ui/Editor.java:1012–1021  ·  view source on GitHub ↗

Given the .html file, displays it in the default browser.

(File file)

Source from the content-addressed store, hash-verified

1010 * Given the .html file, displays it in the default browser.
1011 */
1012 public void showReferenceFile(File file) {
1013 try {
1014 file = file.getCanonicalFile();
1015 } catch (IOException e) {
1016 e.printStackTrace();
1017 }
1018
1019 // Prepend with file:// and also encode spaces & other characters
1020 Platform.openURL(file.toURI().toString());
1021 }
1022
1023
1024 static public void showChanges() {

Callers 4

showReferenceMethod · 0.95
showReferenceMethod · 0.80

Calls 3

openURLMethod · 0.95
printStackTraceMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected