Web Designer Pro Bundle - $500 of Site Templates, Stock Photos, Code, Graphics and more for only $20
Discover the Hidden Power of TextEdit

Although we recently took a look at some major players in the word-processing world and marveled at their fancy features, if you’re into having a minimalistic work environment and making the best of what you’ve already got, then it will interest you to know that TextEdit, OSX’s native text editing application, is a lot more powerful than you might have given it credit for.

If it’s actual word processing we’re after rather than document design, then what functionality do we actually expect? Text wrangling with fonts, styles, and justification? Check. Tables, charts, and images? Check. Spelling and grammar checking? You bet.

As it turns out, there’s a lot of power under TextEdit’s hood, so let’s open her up and introduce you to some of the lesser-known features.

The Basics

Before we delve into the more powerful and obscure features, it might be worth breezing through some of the obvious but crucial functionality of TextEdit for those who dismissed it entirely as being able to do nothing but wrangle snippets of formatting-free text.

Text Formatting

Changing typefaces, fonts, and justification is a cinch — just open up the Format menu and go to town. Besides the core formatting options, you can also tweak kerning, define ligatures, change the baseline, insert special characters, and mess with colours. While most of these are accessible from the Format menu, you’ll need to check under Edit for the special characters.

Basic Features Showcase

Basic Features Showcase

Though perhaps little more than a gimmick for us English writers, there are several languages that will make good use of the text direction feature in the application. Navigating to Format -> Text -> Writing Direction will allow you to switch from our familiar left-to-right direction to right-to-left, which is necessary for proper transcription of certain languages.

And for those who are annoyed, as I am, by having your text spill off the borders of your window and go stretching off into oblivion, do yourselves a favour and hit Shift + Apple + W to wrap text to page.

Charts, Lists, and Links

Besides basic typographic fiddling, you can also make use of TextEdit’s ability to produce formatting that includes standard lists (numbered or otherwise, with nesting capabilities). Accessible via the Lists dropdown menu in the main toolbar, lists can be created and modified in a flash.

Tables

Tables

If you like, you can also access a Lists tool window from the Format -> Text menu area, which is also where you need to go to access tables. The Tables tool window is a straight-forward interface for defining your table parameters and adjusting how they integrate into your document.

One last thing from that Format -> Text menu: TextEdit supports hyperlinks, so if you highlight a word, or phrase, you can define an address by using the Link option and typing or pasting in the desired destination.

Under the Hood

Now it’s time to delve into the less obvious features of TextEdit and discover why it has the potential to become your main text editing tool.

Media Support

We’ll ease into the more obscure stuff by pointing out some other fairly basic functionality that just isn’t as evident when you first open the application. For starters, as you would expect from a fully-featured RTF editor, TextEdit allows you to insert various forms of media into your document. Copy/pasting will allow you to toss in everything from simple images to audio files and even video.

The latter appear in an integrated QuickTime player and are fully functional. Note that you won’t be able to adjust the size of the media from within TextEdit so you’ll have to tweak it to fit before dragging or pasting it into your document.

File Formats

Besides the usual suspects — .TXT, .RTF, and .HTML — TextEdit can also open and save as .OTD (Open Text Document) and even Microsoft Word’s .DOC and newer .DOCX formats! You won’t get the fancy print view that you do in something like Word, but you’ll have full access to the actual content so you can make a quick adjustment on the fly even when you don’t have the original application handy.

Save As...

Save As...

The only things that TextEdit doesn’t reliably interpret are special features like tables of contents or footnotes — those will often show up bizarrely.

Proofreading Power

Dictionary

Dictionary

Because TextEdit is powered by OSX’s internal text editing engine, it has access to the full suite of proofreading tools. This means the usual spelling and grammar checking as well as the built-in dictionary and thesaurus that you can pull up by hitting Apple + Control + D with any word under your cursor (you don’t even have to highlight it).

And by the way, that dictionary trick works in most OSX applications too, not just TextEdit.

Auto-Complete Text

AutoComplete

AutoComplete

Following up on the proofreading tools, you should also be aware that TextEdit can help you out when you’re typing by offering an auto-complete system not entirely unlike the one on your iPhone. To call up this well-hidden feature, simply start typing a word and hit Esc. Immediately, a dropdown list appears with all the words in OSX’s dictionary that begin with the letters you’ve typed.

You use the arrow keys to navigate up and down the list, and if there are too many options then you can freely type in more letters and just hit Esc again to refresh the list and narrow down your choices.

Pretty nifty, and definitely helpful when you’re in a hurry.

Styles

If you take a look at the top left of the application window, you’ll notice a Styles dropdown menu with a fairly unexciting collection of pre-defined styles. The list is extremely misleading because at a glance you’re likely to think it’s just a fast way to access text bolding and italics options. If that’s all you’re using it for though, then you’re ignoring a lot of power that is especially valuable for longer form documents.

Essentially, the Styles menu allows you to define not just text styles but full paragraph styles, just like in your major word processors. This means you can set up typography, spacing, alignment, and any other attributes you need and save it as a style that you can later call up and apply to any text. Spending some time setting up Styles for body text, headings, and callouts can save you a lot of wasted formatting time when you’re working on big documents.

Conversely, if you’ve grabbed some styled text from somewhere and want to quickly remove all formatting, simply hit Shift + Apple + T to clear all formatting and make plain text out of your selection.

Background Colour

This is a quick but potentially useful feature that’s worth mentioning. Along with modifying text colour, opening up the Font menu will let you change the colour of your document background too via the fourth button from the left in the top of the Font window. Incidentally, you can also add shadows to your text, which can really make things pop out nicely in combination with the right background colour.

Font Menu

Font Menu

Speech

Even without accessibility options enabled on your system, a quick visit to the Edit -> Speech menu will enable you to start OSX reading your document back to you. You never know when you need your document read out loud.

Word Count

Okay, so I’m cheating a bit with this one since it’s not technically built in, but if you’re missing a word-count feature before you can consider TextEdit a truly viable go-to word processor (I know I did), then you’re in luck. One enterprising coder has fashioned NanoCount, a simple utility that integrates into TextEdit and lets you track word or character counts as well as set a writing goal and define how often you want the count to update (in case it distracts you to have it in realtime).

Quick Open

If you keep TextEdit on your dock (which I hope you’re feeling more compelled to do by now), then you’ll find that it’s great for quickly grabbing snippets of text from the web or elsewhere. Simply select a block of text from your browser or from a PDF document and drag it onto TextEdit’s icon and a new document containing your text, including its original formatting, will pop up immediately. This is awesome for when you need to manipulate some text but don’t feel like waiting for your bulkier word processing beast to rouse from its slumber.

Two Terminal Tips

Peeking into the really advanced realm, here are two quick tricks you can use in conjunction with the Terminal utility. The first uses Terminal to allow TextEdit to open locked documents. This can be useful when you need to make a change to an important system file but don’t want to go through the trouble of changing permissions before opening or using a specialized utility.

Before I go further, it goes without saying that you should not go mucking about in important locked system files unless you know what you’re doing — you can seriously and permanently damage your system. That being said, if you know what you’re doing then open up Terminal (Spotlight is the easiest way to find it), and type in the following:

sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit

Once you hit enter, you’ll be asked for your administrative password to execute the command. The advantage of using this method is that you can quickly edit the files in question without having to change permissions back and forth. Since all you’re basically doing is giving TextEdit a higher clearance level, the actual file permissions remain intact throughout the process, meaning your computer’s security never falters.

The second tip allows you to pull text from the Terminal for quick editing in TextEdit. It’s actually very simple, and can be accomplished with just the following syntax:

command | open -tf

“Command” in this case can be any standard Terminal command; you can try it with “help”. The text can then be edited and saved as you please, which is useful for debugging script or tweaking syntax.

Conclusion

And that, ladies and gentlemen, is not-so-humble TextEdit for you! Whether or not you decide it’s worthy of replacing your current word processing or text wrangling solution, at least you can look at TextEdit with some renewed respect.

If you learned something or have your own TextEdit tips, let us know in the comments so we can bring together all the best tidbits for this utility. And while you’re at it, you may as well let us know if TextEdit is your main word processor or if you have a different application that you prefer!

Our Sponsors


Responses

Add Yours
  • Excelente article, but the really featured that is missed on TextEdit is the line numbers. This is a big (missed) feature.

  • TextEdit is blazing fast to load. And it never fails on me. i use TextEdit and myWritings all the time for composing blog journal. plain and simple. too bad most people tend to overlook TextEdit and prefer other beefy, but slower, word processing apps. I encourage people to try it (always use wrap-to-page feature to show layout).

    • Set the preferences for new document and check wrap to page. Each new document will then open with wrap to page already chosen.

  • open -tf can be shortened to just open -f. The -t is implied with -f.

  • Great article! I don’t use TextEdit that much, but after reading this, I should pay it more attention. I didn’t know about cmd crtl D either, I always go to the dictionary in the dashboard, but this keyboard shortcut is definitely better.

  • Nice read! Very enlightening.

  • I can’t get the dictionary function to work. I’m running snow leopard. Ideas?

  • Make it have footnotes and it’ll Be my Number One!

    • You might like to try iText (Express/Pro). It’s basically TextEdit but with support for page numbers, line numbers, footnotes, headers and footers. It has become my main text/word processor app. It’s just as easy and snappy as TextEdit, yet it has a lot more features, and the Express version is even free. The pro version has furigana for Japanese, customizable toolbar and customizable keybindings ($15).

  • Great article! In addition to the powerful features of TextEdit I recommend the free Rich Text editor Bean (www.bean-osx.com).

    • I used Bean awhile ago. But whenever i close and reopen text file, somehow the formatting changes on other computer using MS Office. Any ideas?

  • You can also change your .bash_profile and add:

    alias edit=”sudo open -a ‘/Applications/TextEdit.app/Contents/MacOS/TextEdit’”

    so you can open a file with admin rights with a simple: “edit “

    • Bah, it cut out a bit. The last line should say: edit /path/file.txt

  • Here is something I do regularly with TextEdit. To obtain an instant uniform font formatting of various pasted text from the web, in the Format menu convert to plain text and switch immediately back to rich text. Shift-Command-T twice.

  • thank you so much ! grat stuff !

  • Perhaps a little known fact is that Apple distributes the full source code of TextEdit together with XCode (It’s part of the documentation). So the more adventurous souls could truly personalize textEdit to fit their needs!

    • @Daniele: this is partially true, unfortunately the last version that shipped with Xcode is labelled as 2005- something. I’m quite convinced that there has been some added to TextEdit since then, though I’ll have to check.
      Line numbers and footnotes are a good suggestion though.

  • One of the most useful features is the ability to select columns of text, rather than lines. Hold down the alt key and the mouse pointer changes to a crosshair. Now drag downwards. Awesome, especially for tab separated files.

  • I use TextEdit almost exclusively for my own personal writing needs (still have Word…Mac + Win…Pages, and InDesign when I need the big guns). But while there is a page setup, TextEdit seems to ignore it. I choose 8.5×11, but if I extend the window to the right, it keeps expanding, so my right margin expands to 13″, 15, 18″, and so on. Is there a way to make it behave and conform to page margins?

  • So what happens with the ninjas and the nurse? =)

    Is there any way to insert borders? I am using a table as a border but wanted a bit more style than a table with a color.

  • I would like to know how to insert comments for correction purposes using TextEdit but cannot find this function. Is it available?

  • a great addition to textEdit is TextSoap, try it…

  • I just got my first Mac this week and really like TextEdit but I miss having the “text width” view under Zoom in MS Word. How do I set that up?

  • My favorite trick with TextEdit is to paste into a current doc with “Paste and Match Style” under Edit menu. This way I don’t mess up the existing text with an oddball font or size.

    That said, printing drives me mad; just what is the page formatting that I can expect printed? It seems like elastic printing.

    I wish Apple would put some creative talent into making TextEdit a more powerful tool without going over the edge to try and make it a Pages.

Your Response


Trackbacks

Although we recently took a look at some major players in the word-processing world and marveled at their fancy features, if you're into ...

Best of AppStorm in December | Programming Blog January 5th

Although we recently took a look at some major players in the word-processing world and marveled at their fancy features, if you're into ...

NextEdit = (TextEdit + NanoCount + Automator) * ma paresse | davidbosman.fr January 6th

Although we recently took a look at some major players in the word-processing world and marveled at their fancy features, if you're into ...

15 Must-Have Free Apps in the Mac App Store | Mac.AppStorm January 12th

Although we recently took a look at some major players in the word-processing world and marveled at their fancy features, if you're into ...

10 Must-Have Free Apps in the Mac App Store | Design City January 12th

Although we recently took a look at some major players in the word-processing world and marveled at their fancy features, if you're into ...

מדריכים: טקסטאדיט, סיפורי אייקונים, אייטיונס ועוד | רייצ'ל מלקטת January 20th

Although we recently took a look at some major players in the word-processing world and marveled at their fancy features, if you're into ...

Become a Stickies Ninja: Tips, Tricks & Secrets | Mac.AppStorm March 14th

Although we recently took a look at some major players in the word-processing world and marveled at their fancy features, if you're into ...

Become a Stickies Ninja: Tips, Tricks & Secrets | Mac Popular March 15th