Memory leak when you try to insert a line to a large text
@MegatronKing is already working on this.
Since Dec 1, 2024.
Assessment
This issue has not been assessed yet.
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- set a large text to the editor
- for loop from 1 to 100
- textController.text += 'anytext';
- the memory will increase on each loop and it will not released.
Expected behavior
insert a new line without the need to read the text ( get/set ) with text+= because the text property is CPU and memory-heavy.
I expect a method like insertLine, insertText
Device:
- OS: windows
- Version 0.6.0
- Dominant language
- Dart
- Stars
- 761
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from reqable/re-editor
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
enhancement
-
enhancement
-
bug
All issues in reqable/re-editor
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
code quality good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Suwayomi/Suwayomi-Tsumiru#479 ·
-
Build Failure: agora_rtc_engine compiled against android-31 while dependencies require android-34+ Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
conceptadev/noir#95 ·