src/vs/editor/browser/viewParts/lines/rangeUtil.ts/RangeUtil/_detachRange
class RangeUtil:	private static _detachRange(range: Range, endNode: HTMLElement): void {
		// Move range out of the span node, IE doesn't like having many ranges in
		// the same spot and will act badly for lines containing dashes ('-')
		range.selectNodeContents(endNode);
	}