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

Method PDEX

java/src/processing/mode/java/pdex/PDEX.java:26–47  ·  view source on GitHub ↗
(JavaEditor editor, PreprocessingService pps)

Source from the content-addressed store, hash-verified

24
25
26 public PDEX(JavaEditor editor, PreprocessingService pps) {
27 this.pps = pps;
28
29 this.enabled = !editor.hasJavaTabs();
30
31 errorChecker = new ErrorChecker(editor, pps);
32
33 usage = new ShowUsage(editor, pps);
34 inspect = new InspectMode(editor, pps, usage);
35 rename = new Rename(editor, pps, usage);
36
37 if (SHOW_DEBUG_TREE) {
38 debugTree = new DebugTree(editor, pps);
39 }
40
41 for (SketchCode code : editor.getSketch().getCode()) {
42 Document document = code.getDocument();
43 addDocumentListener(document);
44 }
45
46 sketchChanged();
47 }
48
49
50 public void addDocumentListener(Document doc) {

Callers

nothing calls this directly

Calls 6

addDocumentListenerMethod · 0.95
sketchChangedMethod · 0.95
hasJavaTabsMethod · 0.80
getCodeMethod · 0.80
getSketchMethod · 0.80
getDocumentMethod · 0.45

Tested by

no test coverage detected