mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-15 10:15:04 +01:00
Fix maxLineContext expression
Looks like an accidental / instead of ,
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ export class TerminalLinkDetectorAdapter extends Disposable implements ILinkProv
|
||||
// Cap the maximum context on either side of the line being provided, by taking the context
|
||||
// around the line being provided for this ensures the line the pointer is on will have
|
||||
// links provided.
|
||||
const maxLineContext = Math.max(this._detector.maxLinkLength / this._detector.xterm.cols);
|
||||
const maxLineContext = Math.max(this._detector.maxLinkLength, this._detector.xterm.cols);
|
||||
const minStartLine = Math.max(startLine - maxLineContext, 0);
|
||||
const maxEndLine = Math.min(endLine + maxLineContext, this._detector.xterm.buffer.active.length);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user