ok not sure much can be done that will make this work for my use case
--
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-427263210
Closed #1969.
--
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#event-1886363648
We can stop multiple passes through files while they are opened to reduce
loading delays.
But open files will always be loaded into memory, thats the way the editing
widget Geany uses works, it is a gap buffer. And since the editing widget also
allocates a style byte for each byte in the
I just switched to using less for the file. Would it be possible to have a
big-file size in the various settings page? That would let it default off, but
for users who want this somewhat frequently, they could set it to 1g to mean
everything over 1g, turn off anything that requires storing the
PS did turning the filetype and encoding off fix the problem?
--
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-427202126
These things have been discussed before, and the conclusion is, no, there is no
reasonable definition of "big", it totally depends on your computer speed, and
also on whether you actually want those things I listed above to happen. Geany
is used on Raspberry Pis and workstations with high end
would it be possible to have highlighting and parsing turn off above a
specific size? Also if figuring out the filetype will take more than 5
seconds, I feel like it might be worth prompting the user, as if they know,
then they will save time.
--
You are receiving this because you are
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