Release v0.5.0: dev -> main #288
@@ -9,6 +9,8 @@ function updateGutter() {
|
|||||||
gutter.textContent = s;
|
gutter.textContent = s;
|
||||||
}
|
}
|
||||||
content.addEventListener('input', updateGutter);
|
content.addEventListener('input', updateGutter);
|
||||||
|
// #259: the editor scrolls itself; keep the gutter's numbers in step with it.
|
||||||
|
content.addEventListener('scroll', () => { gutter.scrollTop = content.scrollTop; });
|
||||||
updateGutter();
|
updateGutter();
|
||||||
|
|
||||||
function toast(msg, kind) {
|
function toast(msg, kind) {
|
||||||
|
|||||||
Reference in New Issue
Block a user