Skip to content

Scroll lag #54

@woutervanwijk

Description

@woutervanwijk

Hi,

Nice work!

I am integrating CodeForge into my cross platform source code viewer & site inspector: https://github.com/woutervanwijk/viewsourcevibe (code_forge branch) because the other editors are too slow.

I also see some lag on large files with CodeForge. I thought it was my app, but it's also in this simple example (modified from yours)

https://github.com/woutervanwijk/cfexample

In medium to large html pages used in the example, in the middle of the file the scrolling lags. Not in the beginning or the end. Don't know why.

I also sometimes get this error since I used CodeForge. I cannot place it:

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/widgets/two_dimensional_viewport.dart': Failed assertion: line 316 pos 12: '!_debugIsDoingLayout': is not true.
The relevant error-causing widget was:
    CodeForge CodeForge:file:///Users/wouter/code/viewsourcevibe/lib/services/sourceview.dart:309:18
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by widgets library ═══════════════════════════════════
'package:flutter/src/widgets/framework.dart': Failed assertion: line 6417 pos 14: '() {
        // check that it really is our descendant
        Element? ancestor = dependent._parent;
        while (ancestor != this && ancestor != null) {
          ancestor = ancestor._parent;
        }
        return ancestor == this;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions