It is in TextEdit help - search for HTML
If you open an HTML file and don’t see the HTML code, TextEdit is displaying the file in the same way a browser would. You can choose to display the file’s HTML code instead.
To display the code in an HTML file:
Choose File > Open.
Select “Ignore rich text commands.”
Locate the file and click Open.
To always view the code in HTML files,
choose TextEdit > Preferences, click
“Open and Save,” and then select
“Ignore rich text commands in HTML
files” below “When Opening a File.”
So it seems you have to choose before opening the file.
Many full screen writing applications like WriteRoom and Byword either add a margin to the bottom or support centering the view around the current line.
You could also create ~/Library/KeyBindings/ and save a property list like this as DefaultKeyBinding.dict:
{
"~p" = (moveToEndOfDocument:, insertNewlineIgnoringFieldEditor:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, moveWordBackward:, moveToEndOfParagraph:, moveForward:, centerSelectionInVisibleArea);
"~r" = (moveToEndOfDocument:, moveWordBackward:, moveToEndOfParagraph:, moveToEndOfDocumentAndModifySelection:, deleteBackward:, centerSelectionInVisibleArea:, insertNewlineIgnoringFieldEditor:);
}
After reopening TextEdit, ⌥P should add padding lines to the end and ⌥R remove them.
Best Answer
TextEdit doesn't work based on a page format. Since it doesn't know how wide your page is, it can't know when to wrap. You'll have to rely on something like Pages if you want to create a document based on a specific page format.