Use a fixed size folding gutter (see #3390)

This commit is contained in:
Martin Aeschlimann
2016-02-24 11:16:25 +01:00
parent 64abf86ad7
commit 1cfefb4ce0
@@ -213,7 +213,7 @@ class InternalEditorOptionsHelper {
let lineNumbersMinChars = toInteger(opts.lineNumbersMinChars, 1);
let lineDecorationsWidth = toInteger(opts.lineDecorationsWidth, 0);
if (opts.folding) {
lineDecorationsWidth += (opts.fontSize || 16);
lineDecorationsWidth += 16;
}
let layoutInfo = EditorLayoutProvider.compute({
outerWidth: outerWidth,