Skip to content

Commit 242e0b3

Browse files
author
aiday-mar
committed
limiting the number of characters rendered on one line to 100 to avoid overflow on several lines
1 parent 3c87327 commit 242e0b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/editor/contrib/stickyScroll/browser/stickyScroll.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ class StickyScrollCodeLine {
239239
}
240240
const renderLineInput: RenderLineInput = new RenderLineInput(true, true, modifiedLine, lineRenderingData.continuesWithWrappedLine,
241241
lineRenderingData.isBasicASCII, lineRenderingData.containsRTL, 0, lineRenderingData.tokens, actualInlineDecorations, lineRenderingData.tabSize,
242-
lineRenderingData.startVisibleColumn, 1, 1, 1, 500, 'none', true, true, null);
242+
lineRenderingData.startVisibleColumn, 1, 1, 1, 100, 'none', true, true, null);
243243

244244
const sb = createStringBuilder(2000);
245245
renderViewLine(renderLineInput, sb);

0 commit comments

Comments
 (0)