Pelles C forum

Pelles C => Bug reports => Topic started by: Ateneo on May 20, 2005, 06:46:22 PM

Title: Bug when open a big file?
Post by: Ateneo on May 20, 2005, 06:46:22 PM
I created an structure to represent tiles in a map for a videogame,
well, the mapa is more or less 200 witdh, 25 high. The sructure has this size too... but POIDE it seems cant open a file like this and inmediatly quit (program exit). Just opening this file pelles c quit.

Please fix this bug!! i connot continue the project!!  :D
Title: Bug when open a big file?
Post by: Pelle on May 20, 2005, 08:21:01 PM
The syntax color highlighter gives up for lines longer than ~3000 characters. Why don't you put some line-breaks in the file - I can't see why everything needs to be on the same line, especially since I assume this is generated by a program?!

If will fix it, but definitely not now...!

Pelle
Title: Bug when open a big file?
Post by: Ateneo on May 20, 2005, 08:48:26 PM
i generated the file with "tile studio", as you say i will have to put some breaks. Anyway i just want to tell you about it!!  :mrgreen:
Title: Bug when open a big file?
Post by: Pelle on May 20, 2005, 11:27:25 PM
OK, got it.

There will have to be *some* limit, so I will force a linebreak if the line is longer than 4K - should be enough, I guess... ;-)

Pelle
Title: Bug when open a big file?
Post by: Ateneo on May 22, 2005, 01:50:25 AM
thank would be nice!!