File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1983,8 +1983,10 @@ window.CodeMirror = (function() {
19831983 if ( updateMaxLine ) computeMaxLength ( ) ;
19841984 if ( maxLineChanged && ! options . lineWrapping ) {
19851985 var cursorWidth = widthForcer . offsetWidth , left = measureLine ( maxLine , maxLine . text . length ) . left ;
1986- widthForcer . style . left = left + "px" ;
1987- lineSpace . style . minWidth = ( left + cursorWidth ) + "px" ;
1986+ if ( ! ie_lt8 ) {
1987+ widthForcer . style . left = left + "px" ;
1988+ lineSpace . style . minWidth = ( left + cursorWidth ) + "px" ;
1989+ }
19881990 maxLineChanged = false ;
19891991 }
19901992 var newScrollPos , updated ;
Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ testCM("selectionPos", function(cm) {
363363 }
364364 }
365365 is ( sawTop && sawBottom && sawMiddle , "all parts" ) ;
366- } ) ;
366+ } , null , ie_lt8 ) ;
367367
368368testCM ( "restoreHistory" , function ( cm ) {
369369 cm . setValue ( "abc\ndef" ) ;
You can’t perform that action at this time.
0 commit comments