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

Method showReferenceFile

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

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

(File file)

Source from the content-addressed store, hash-verified

1272 * @param file
1273 */
1274 public void showReferenceFile(File file) {
1275 try {
1276 file = file.getCanonicalFile();
1277 } catch (IOException e) {
1278 e.printStackTrace();
1279 }
1280
1281 // Prepend with file:// and also encode spaces & other characters
1282 Platform.openURL(file.toURI().toString());
1283 }
1284
1285
1286 static public void showChanges() {

Callers 2

showReferenceMethod · 0.95
actionPerformedMethod · 0.80

Calls 3

openURLMethod · 0.95
printStackTraceMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected