Listener('input', () => {
                        isDirty[path] = true;
                        const counter = textarea.parentElement.querySelector('.line-counter');
                        if (counter) {
                            const count = countLines(textarea.value);
                            counter.textContent = (langData.line_counter || 'Строк: {count}').replace('{count}', count);
                        }
                    });
                });
                const listButtons = docu