[Github-comments] [geany/geany] Geany really slow when opening huge text files (#1969)

elextr notifications at xxxxx
Thu Oct 4 22:32:00 UTC 2018


Things that are done on a whole file at load time:

1. if encoding isn't specified by the open dialog, possibly multiple passes through the file will take place to attempt to find the encoding.

2. if the file has a filetype then the editing widget will run the lexer over the file to generate highlighting

3. if the filetype has a symbol parser that will run on the entire file

But if the encoding is specified and "None" and the filetype is specified as "None" both in the "More Options" section of the Open dialog then those actions should not occur.  Hopefully that will speed things up.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1969#issuecomment-427190786
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20181004/f8f34c92/attachment.html>


More information about the Github-comments mailing list