Inserting pagebreaks into code

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
 
J

Jon Skeet [C# MVP]

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.
 
G

Guest

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
 
J

Jon Skeet [C# MVP]

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 :)
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top