Inserting pagebreaks into code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello everyone,

I am preparing for a code review tomorrow, and I want to be able to insert
page breaks into my code. However, CTRL-L which I used in unix to do this
does not work in the IDE text editor. Short of copying everything over to
Word, how do I go about adding pagebreaks to my C# code?

Thanks in advance

Andrew S. Giles
 
Andrew S. Giles said:
I am preparing for a code review tomorrow, and I want to be able to insert
page breaks into my code. However, CTRL-L which I used in unix to do this
does not work in the IDE text editor. Short of copying everything over to
Word, how do I go about adding pagebreaks to my C# code?

I don't believe you can - or that you should.

Far better would be to break your code into regions, and then view each
region individually.
 
Joe,

I have proken it out into Regions. However, they want hard copies to look
at... and region boundaries do not cause form feeds. Being able to put the
top of each method at the top of its own page would be helpful.

But, thanks for letting me know that it prolly isnt possible.

Andrew
 
Andrew S. Giles said:
I have proken it out into Regions. However, they want hard copies to look
at... and region boundaries do not cause form feeds. Being able to put the
top of each method at the top of its own page would be helpful.

But, thanks for letting me know that it prolly isnt possible.

Code review on hard copy is a *really* bad idea IMO - it's *much*
easier to understand code when it's in the IDE, appropriately syntax
highlighted, and in an easy to navigate form. I guess you won't be able
to change that - at least not immediately - but it's worth encouraging
a more modern approach :)
 
I agree 100%, maybe next time we can do it in the IDE. That is what I will
shoot for.

Thanks for the help Jon!

Andrew
 
Back
Top