large text content scrolling #87

Closed
opened 1 year ago by utopiah · 1 comments
utopiah commented 1 year ago
Owner

for example

fetch("https://fabien.benetou.fr/pub/home/future_of_text_demo/engine/").then(r=>r.text()).then( page => {
    startWindowRange=0
    lengthWindowRange=5
    setInterval( _ => { 
    	startWindowRange++
        content=page.split("\n")
            .slice(startWindowRange,startWindowRange+lengthWindowRange)
            .join("\n")
        document.getElementById("locationreload").setAttribute("value", content)
    }, 100) 
})
for example ```javascript fetch("https://fabien.benetou.fr/pub/home/future_of_text_demo/engine/").then(r=>r.text()).then( page => { startWindowRange=0 lengthWindowRange=5 setInterval( _ => { startWindowRange++ content=page.split("\n") .slice(startWindowRange,startWindowRange+lengthWindowRange) .join("\n") document.getElementById("locationreload").setAttribute("value", content) }, 100) }) ```
Poster
Owner
Fixed https://git.benetou.fr/utopiah/text-code-xr-engine/src/branch/code-editor
utopiah closed this issue 1 year ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: utopiah/text-code-xr-engine#87
Loading…
There is no content yet.