Skip to content

Commit

Permalink
Reduced comment length to adhere to linter requirements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Skinbow committed Apr 21, 2024
1 parent 227e002 commit fd5ab8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/browser/Linkifier.ts
Expand Up @@ -301,8 +301,8 @@ export class Linkifier extends Disposable implements ILinkifier2 {
if (!this._currentLink) {
return;
}
// When start is 0 a scroll most likely occurred, make sure links above and below the fold also get
// cleared.
// When start is 0 a scroll most likely occurred, make sure links above and below the fold
// also get cleared.
const start = e.start === 0 ? 0 : e.start + 1 + this._bufferService.buffer.ydisp;
const end = e.start === 0 ? this._bufferService.buffer.ybase + this._bufferService.rows: this._bufferService.buffer.ydisp + 1 + e.end;
// Only clear the link if the viewport change happened on this line
Expand Down

0 comments on commit fd5ab8f

Please sign in to comment.