(display)
| 987 | function paddingTop(display) {return display.lineSpace.offsetTop;} |
| 988 | function paddingVert(display) {return display.mover.offsetHeight - display.lineSpace.offsetHeight;} |
| 989 | function paddingH(display) { |
| 990 | if (display.cachedPaddingH) return display.cachedPaddingH; |
| 991 | var e = removeChildrenAndAdd(display.measure, elt("pre", "x")); |
| 992 | var style = window.getComputedStyle ? window.getComputedStyle(e) : e.currentStyle; |
| 993 | return display.cachedPaddingH = {left: parseInt(style.paddingLeft), |
| 994 | right: parseInt(style.paddingRight)}; |
| 995 | } |
| 996 | |
| 997 | function measureChar(cm, line, ch, data, bias) { |
| 998 | var dir = -1; |
no test coverage detected