I am using a document class for a project to keep the code off the main timeline - only problem is now my document class is running to almost 2000 lines of code and becoming unwieldy to scroll through and find stuff. Is there any way I can better organise this? Or should I be building in some other way?
I am really not very sure on how classes actually work. I have got this document class working but that is about as good as it gets. Any help would be greatly appreciated.
When you are getting into thousands of lines of code, there is not alot you can do to avoid having to scroll thru it to find things, though you can do things to reduce the amount of scrolling needed.
What you could do is go thru the code and organize it into functional sections. To aid in the need to scroll to find things, you can make use of keywords as comments in combination with the Find tool (the magnifying glass in the toolbar), and use it to jump to sections.
You could probably break it all down into separate class files, but then it might be even moreso unwieldy for you to have to remember which file you need to look at for different things. Still, for major functional divisions this can be useful.
Europe, Middle East and Africa