Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Not enough memory to indent file
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
TipsyCzar




PostPosted: Fri Nov 25, 2016 1:40 pm   Post subject: Not enough memory to indent file

What is it you are trying to achieve?
I'm trying to use the auto indent (F2)


What is the problem you are having?
I keep getting the error 'Not enough memory to indent file'. I assume it's a RAM problem, but I have no idea what to do about it.


Please specify what version of Turing you are using
4.1.1
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Fri Nov 25, 2016 8:23 pm   Post subject: RE:Not enough memory to indent file

If you have a single really, really long line Turing won't be able to indent it. You'll have to manually break it down into smaller lines first. If that's not the case, then your file must be both quite large and very poorly indented to begin with. In this case the solution is to A) Manually indent your code while you write it and B) break up the program into multiple files. Turing doesn't like giant indent jobs.

Ideally you should be indenting as you go. There is no reason not to.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: