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

Method isInCurrentTab

java/src/processing/mode/java/JavaEditor.java:1583–1585  ·  view source on GitHub ↗

Check whether a LineID is on the current tab. @param line the LineID @return true, if the LineID is on the current tab.

(LineID line)

Source from the content-addressed store, hash-verified

1581 * @return true, if the {@link LineID} is on the current tab.
1582 */
1583 public boolean isInCurrentTab(LineID line) {
1584 return line.fileName().equals(getSketch().getCurrentCode().getFileName());
1585 }
1586
1587
1588 /**

Callers 6

setCodeMethod · 0.95
lineChangedMethod · 0.80
paintMethod · 0.80
clearMethod · 0.80
setMethod · 0.80
removeMethod · 0.80

Calls 5

fileNameMethod · 0.80
getCurrentCodeMethod · 0.80
getSketchMethod · 0.80
equalsMethod · 0.45
getFileNameMethod · 0.45

Tested by

no test coverage detected