Author Topic: Minimap and really huge files  (Read 327 times)

rowbearto

  • Senior Community Member
  • Posts: 1358
  • Hero Points: 103
Minimap and really huge files
« on: August 03, 2018, 03:32:34 pm »
I have not tried this yet, but sometimes I open really really HUGE logfiles in SE for searches. I have configured SE so that when files are over a certain threshold in size, that line numbering is turned off, as this caused SE to freeze for a long time with HUGE files. I also have line numbers turned off for files with .log extension.

minimap seems to need to read an entire file to work properly. But I wonder if it will also cause a freeze with HUGE files, much in the same way that line numbering did.

Is there a way to turn minimap off based on a size threshold? Have it on for files < XKbytes, but off for larger file sizes?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4690
  • Hero Points: 379
Re: Minimap and really huge files
« Reply #1 on: August 03, 2018, 05:32:01 pm »
There already is a threshold that is configurable (Tools>Options>Editing>General>Turn off minimap when editing file larger than (KB))

The minimap does require the entire file to be read because it has to know the number of lines in the file.