File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Cattle Drive and the fly likes Indenting - use fixed width font Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Indenting - use fixed width font" Watch "Indenting - use fixed width font" New topic
Author

Indenting - use fixed width font

Dean Funk
Ranch Hand

Joined: Apr 20, 2001
Posts: 42
After having a nitpicker mention indenting twice, it finally occurred to me that my email tool has a variable-width font as default. Duh.
I guess: do the nitpickers a favor and select a fixed-width font for the email before firing it off to them...
christie xu
Greenhorn

Joined: Mar 06, 2001
Posts: 11
I am having the same problem when I paste the code from textpad
to my hotmail account. How did you set it to fixed width font?
thanks in advance,
Paul Ralph
Ranch Hand

Joined: Aug 10, 2000
Posts: 312
In the menu View go to Document Properties, or, hit Alt-Enter. Click on the tab marked Font and select Courier.
If you are still having trouble, check your tab settings. Click on the Tabulation tab (in Document Properties) and set Default tab spacing and Indent size to 4. Then check both boxes and hit apply. Last but not least, add a space somewhere safe (like after a semi-colon) and save your program. Now all your tabs are four spaces long and should behave when you copy it to your email.
HTH
Paul R
Johannes de Jong
tumbleweed
Bartender

Joined: Jan 27, 2001
Posts: 5089
Dean I dont have you on the assignment log.
Simply post your status and I will add you when I update it again.
seeAssingment Log.
Good luck with the indention.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Indenting - use fixed width font