In this case, a dialog asking for confirmation when you are going to open a very huge file would be very usefull.
El 15/08/2008, a las 6:03, Allan Odgaard escribió:
On 14 Aug 2008, at 15:37, Mojca Miklavec wrote:
On Thu, Aug 14, 2008 at 11:47 AM, Adam Eberbach aeberbach@mac.com wrote:
[...] Can't it partially load files and load/dump as you scroll?
TextMate relies on having the file parsed up-to at least last visible character. This is needed not just for display, but resolving key strokes, certain preferences items etc.
Additionally it relies on having cached info that allows it to reparse only what is necessary, when the user edits the document at any arbitrary place.
Disk-mapped files can most likely only be supported by introducing a parallel feature-limited mode. This approach has many disadvantages, so it’s rather low on the list.