Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mcedit consumes a lot of time to open a large file #283

Open
mc-butler opened this issue Feb 24, 2009 · 7 comments
Open

mcedit consumes a lot of time to open a large file #283

mc-butler opened this issue Feb 24, 2009 · 7 comments
Labels
area: mcedit mcedit, the built-in text editor prio: low Minor problem or easily worked around ver: 4.6.2 Reproducible in version 4.6.2

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/283
Reporter Ivan A. Kosarev

There is a noticeable pause between pressing the F4 key and entering the editor if the subject file contains a large number of lines. Should you deal with such files from time to time, this becomes a really annoying thing to wait for entering the editor.

It is certainly not due to overall system performance as ordinary copy commands as well as other editors (like gedit) handle such files instantly.

@mc-butler
Copy link
Author

Changed by angel_il (@ilia-maslakov) on Jan 1, 1970 at 0:21 UTC

@mc-butler
Copy link
Author

Changed by angel_il (@ilia-maslakov) on Mar 5, 2009 at 13:34 UTC (comment 1)

  • Priority changed from major to minor

@mc-butler
Copy link
Author

Changed by winnie (@winnieXY) on Mar 9, 2009 at 12:08 UTC (comment 2)

  • Milestone changed from 4.6.2.1 to 4.6.3

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on May 8, 2009 at 13:20 UTC (comment 3)

  • Milestone changed from 4.6.3 to 4.7

@mc-butler
Copy link
Author

Changed by angel_il (@ilia-maslakov) on May 20, 2009 at 11:36 UTC (comment 4)

  • Milestone changed from 4.7 to future releases

@mc-butler
Copy link
Author

Changed by ossi (@ossilator) on Oct 30, 2009 at 23:39 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Oct 4, 2013 at 6:11 UTC (comment 6)

  • Branch state set to no branch

mcedit loads entire whole into own buffer. This is by design. After loading, line breaks are counted. This counting is a main cause of pause after F4 press. Some speedup of file loading was performed in [9ea1ed0].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: mcedit mcedit, the built-in text editor prio: low Minor problem or easily worked around ver: 4.6.2 Reproducible in version 4.6.2
Development

No branches or pull requests

1 participant