MCPcopy Index your code
hub / github.com/antlr/codebuff / toEventPosition

Method toEventPosition

output/java8/1.4.15/STViz.java:365–371  ·  view source on GitHub ↗
(JTextComponent component, int position)

Source from the content-addressed store, hash-verified

363 }
364
365 protected int toEventPosition(JTextComponent component, int position) {
366 int result = position;
367 while ( toComponentPosition(component, result)< position ) {
368 result++;
369 }
370 return result;
371 }
372
373 protected final void highlight(JTextComponent comp, int i, int j) {
374 highlight(comp, i, j, true);

Callers 1

caretUpdateMethod · 0.95

Calls 1

toComponentPositionMethod · 0.95

Tested by

no test coverage detected