MCPcopy Index your code
hub / github.com/WiringProject/Wiring / _offsetToX

Method _offsetToX

IDE/processing/app/syntax/JEditTextArea.java:535–604  ·  view source on GitHub ↗

Converts an offset in a line into an x co-ordinate. This is a fast version that should only be used if no changes were made to the text since the last repaint. @param line The line @param offset The offset, from the start of the line

(int line, int offset)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

scrollToMethod · 0.95
offsetToXMethod · 0.95
paintLineHighlightMethod · 0.80
paintBracketHighlightMethod · 0.80
paintCaretMethod · 0.80

Calls 6

getTokenMarkerMethod · 0.95
getLineTextMethod · 0.95
markTokensMethod · 0.95
getStylesMethod · 0.80
getFontMetricsMethod · 0.45
getFontMethod · 0.45

Tested by

no test coverage detected