💡 Clarify line display logic to show limited lines initially while retaining full content for searching
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user