Skip to content

Creating new line in large files (>100 KB, 5000 lines) becomes increasingly slow. #2739

@Mapalmeira

Description

@Mapalmeira

⚠️ This issue respects the following points: ⚠️

  • This is a bug. Not a question or feature request.
  • The topic is not already reported at Issues. (I've searched it).
  • Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
  • The bug is still present in the latest development version (git master). (Please download and try the test version of Markor, named Marder. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor settings are not touched. In case the issue is resolved there, you don't need to create a bug report. The change will be part of the next Markor update.)

Description

When dealing with large text files, with more than 100 KB and 5000 lines, a noticeable delay occurs when creating new lines. Other characters do not have delay,

Steps to reproduce

  1. Create an artifically large .md file with many lines by copying something over and over again. The bigger, the more noticeable the delay will be.
  2. Open this .md file with markor
  3. Try to add a new line and notice a delay.

Information

Android version: 16
Device: Samsung Galaxy
App Version: 2.15.2

Source

F-Droid

Format / File type

Markdown

Additional info / Log

-

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions