We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9c0e63 commit 607102aCopy full SHA for 607102a
web_src/js/features/repo-code.ts
@@ -12,6 +12,7 @@ function changeHash(hash: string) {
12
}
13
14
15
+// it selects the code lines defined by range: `L1-L3` (3 lines) or `L2` (singe line)
16
function selectRange(range: string): Element {
17
for (const el of document.querySelectorAll('.code-view tr.active')) el.classList.remove('active');
18
const elLineNums = document.querySelectorAll(`.code-view td.lines-num span[data-line-number]`);
0 commit comments