💡 Clarify line display logic to show limited lines initially while retaining full content for searching

This commit is contained in:
2026-01-28 20:32:59 +00:00
parent bdbec024fc
commit 653702dfc6

View File

@@ -546,7 +546,7 @@ async function loadFile() {
fileContent.value = JSON.stringify(data, null, 2);
fileLines.value = fileContent.value.split('\n');
// Limit to 10K lines
// Display limited lines initially (10K) but keep full content for searching
const linesToDisplay = fileLines.value.slice(0, 10000);
displayLines.value = linesToDisplay.map((content, index) => ({
lineNumber: index + 1,