Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Insert page break symbols in TextEdit documents Apps
Maybe this obscure key combination will be unnecessary when Panther comes out, but so far I have been unable to find a menu item for inserting page breaks in TextEdit. I forget where I read this, but it turns out that you can insert a page-break code by using the keyboard and typing Control-Q followed by control-L.

The result won't be obvious unless the document is in Wrap to Page mode (Command-Shift-W).
    •    
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (5 votes cast)
 
[12,974 views]  

Insert page break symbols in TextEdit documents | 6 comments | Create New Account
Click here to return to the 'Insert page break symbols in TextEdit documents' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Insert page break symbols in TextEdit documents
Authored by: Kool on Oct 22, '03 11:34:11AM

You're my hero today!!!!!



[ Reply to This | # ]
Insert page break symbols in TextEdit documents
Authored by: MarsControl on Oct 22, '03 12:37:34PM

Just a little explanation of why I think this works...

Jaguar includes much-improved support for emacs style control keys (such as ctrl-a for "start of line", ctrl-e for "end of line", ctrl-d for "delete following character", ctrl-h for "delete prior character", etc). This ctrl-q behavior also appears to be a product of that functionality.

Ctrl-q is 'quote next character' in emacs; ctrl-l is ASCII 12 (Line Feed). The same trick works for ctrl-q ctrl-j (unix style linefeed), ctrl-q ctrl-m (mac style linefeed), ctrl-q ctrl-i (horizontal tab), and possibly others.



[ Reply to This | # ]
Insert page break symbols in TextEdit documents
Authored by: rusto on Oct 22, '03 01:27:29PM

What would be the key combo if you wanted DOS line feeds?



[ Reply to This | # ]
Insert page break symbols in TextEdit documents
Authored by: Tom Robinson on Oct 23, '03 02:35:04PM

DOS and Windoze use CR + LF which is ^m ^j.



[ Reply to This | # ]
Inserting windows line endings
Authored by: jonbauman on Oct 23, '03 02:39:33PM
What would be the key combo if you wanted DOS line feeds?

UNIX ends lines with a newline (aka linefeed, aka '\n') character (ASCII 10). Classic Mac OS uses a carriage return aka ('\r') character (ASCII 13). Windows uses a carriage return followed by a newline. So to get this, you would type ctrl-q ctrl-m ctrl-q ctrl-j

Also, a quick way I discovered to convert between the different formats (there's probably a quicker one via the terminal) is to open the file in ProjectBuilder. Under the "Formats → Line Endings" menu, you can choose whatever you want and resave.

For more information about the ascii table, check out /usr/share/misc/ascii

---

jon

[ Reply to This | # ]

Insert page break symbols in TextEdit documents
Authored by: diesisteinname on Jul 11, '11 05:25:03AM

You're my hero today in 2011 too!!

It's 2011 and still works (I was looking for a way to insert pagebreaks in Diamont by Geoffrey Alexander and it works there also).

And it's unbelievable 2011 and there still is no way for a systemwide consistent shortcut for inserting pagebreaks in OS X.
I wasn't able to do this with the System Settings "Speech and Text" or TextExpander etc.



[ Reply to This | # ]