@@ -29,10 +29,10 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
cd$ROOT;ulimit-n 4096 ;\
ELECTRON_ENABLE_LOGGING=1 \
"$CODE"\
test/electron/index.js "$@"
test/unit/electron/index.js "$@"
else
cd$ROOT;\
ELECTRON_ENABLE_LOGGING=1 \
"$CODE"\
test/electron/index.js --no-sandbox"$@"# Electron 6 introduces a chrome-sandbox that requires root to run. This can fail. Disable sandbox via --no-sandbox.
test/unit/electron/index.js --no-sandbox"$@"# Electron 6 introduces a chrome-sandbox that requires root to run. This can fail. Disable sandbox via --no-sandbox.
@@ -549,7 +549,7 @@ function splitLargeTokens(lineContent: string, tokens: LinePart[], onlyAtSpaces:
}
/**
* Whitespace is rendered by "replacing" tokens with a special-purpose `vs-whitespace` type that is later recognized in the rendering phase.
* Whitespace is rendered by "replacing" tokens with a special-purpose `mtkw` type that is later recognized in the rendering phase.
* Moreover, a token is created for every visual indent because on some fonts the glyphs used for rendering whitespace (→ or ·) do not have the same width as .
* The rendering phase will generate `style="width:..."` for these tokens.
*/
...
...
@@ -616,7 +616,7 @@ function _applyRenderWhitespace(lineContent: string, len: number, continuesWithW