Comments (5)
You would have to mostly rewrite the entire text editor in flutter to get a working lazy loading. It's also possible to split the TextField into many TextFields, but this is also difficult to implement, and has no advantages other than performance.
from flutter-code-editor.
Thanks for your reply. Now My app is hanged when we have huge text. There is some delay while typing. is there any way to overcome these issues?
from flutter-code-editor.
The repository is under Apache 2.0 licence, so you could fork it and try to implement an idea with many TextFields. But then you would have to do some kind of content management (split) between them, which is probably hard to implement.
There's not much you can do if Flutter's TextField is laggy when handling too many lines of text.
The problem I mentioned is that it's only laggy on the web, not on different platforms. As far as I am concerned, it has performance issues on every single platform.
I guess we will have to wait until the issues are resolved.
from flutter-code-editor.
Thanks for your reply, Marcel. I didn't get your idea (implement an idea with many TextFields). Could u pls explain this?
from flutter-code-editor.
I read this issue. [https://github.com/flutter/flutter/issues/90063]. will it solve the performance issue if we implement the TextField with DeltaTextInputClient? What is your point of view about this Github discussion?
from flutter-code-editor.
Related Issues (20)
- Unable to change font family HOT 2
- in code editor i want to change color of particular code line which is not possible for now HOT 3
- Compatibility with LSP
- [Bug] Suggestions popup is not closed after view change
- Search selection jumps when change search pattern that also fit to current selection
- Drop support for Flutter < 3.10
- Speed up the editor without highlighting
- Backspace does not work before a folded block HOT 1
- Line Numbers are not aligned with code HOT 5
- Null check operator used on a null value HOT 1
- [BUG] Code sections isn't working for Javascript language
- use latest http pakage
- Performance issues can occur if the number of rows exceeds a few hundred HOT 1
- Line Numbers escape the widget HOT 3
- Limit the variability of TextStyle in the gutter
- iOS: Gutter shifted up from the text HOT 6
- Material 3 causes progressing misalignment in code and line numbers HOT 1
- Maintenance status?
- Does flutter-code-editor suppoert flutter-highlight? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-code-editor.