Skip to content

Commit 55fb95f

Browse files
committed
Move measurement/update_line to display/
Because it has nothing to do with measurement.
1 parent bda9879 commit 55fb95f

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/display/update_display.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import { sawCollapsedSpans } from "../line/saw_special_spans"
22
import { heightAtLine, visualLineEndNo, visualLineNo } from "../line/spans"
33
import { getLine, lineNumberFor } from "../line/utils_line"
44
import { displayHeight, displayWidth, getDimensions, paddingVert, scrollGap } from "../measurement/position_measurement"
5-
import { buildLineElement, updateLineForChanges } from "../measurement/update_line"
65
import { mac, webkit } from "../util/browser"
76
import { activeElt, removeChildren } from "../util/dom"
87
import { hasHandler, signal } from "../util/event"
98
import { indexOf } from "../util/misc"
109

10+
import { buildLineElement, updateLineForChanges } from "./update_line"
1111
import { startWorker } from "./highlight_worker"
1212
import { maybeUpdateLineNumberWidth } from "./line_numbers"
1313
import { measureForScrollbars, updateScrollbars } from "./scrollbars"

src/measurement/position_measurement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import { elt, removeChildren, range, removeChildrenAndAdd } from "../util/dom"
88
import { e_target } from "../util/event"
99
import { hasBadZoomedRects } from "../util/feature_detection"
1010
import { countColumn, isExtendingChar, scrollerGap } from "../util/misc"
11+
import { updateLineForChanges } from "../display/update_line"
1112

12-
import { updateLineForChanges } from "./update_line"
1313
import { widgetHeight } from "./widgets"
1414

1515
// POSITION MEASUREMENT

0 commit comments

Comments
 (0)