The built in text editor with Mac OS X. It started on NEXTSTEP, and was then included as a replacement to SimpleText when Mac OS X shipped. The project is also open source.

learn more… | top users | synonyms

54
votes
5answers
85k views

Can I open files in TextEdit from the Terminal in Mac OS X?

I frequently find that a terminal command to open a file in TextEdit would be very handy. Does such a command exist on Mac OS X?
18
votes
3answers
5k views

How to make TextEdit open with a blank file by default?

In Lion, TextEdit used to open with a blank file by default. On Mountain Lion, it launches with a file picker by default — either for choosing to store the file in iCloud or for opening a local file. ...
14
votes
13answers
2k views

What to use for a plain text editor?

I'm writing instructions for a project and at some point, for a certain condition one needs to modify a simple plain ascii text file. For windows I can tell them to fire up notepad. I thought on the ...
12
votes
4answers
2k views

How to permanently put TextEdit in the Open with… menu list?

I'm a developer and often dealing with unusual file types. If I want to open one of these files in TextEdit, I have to start it first and then open the file with it, or drag the file to the TextEdit ...
8
votes
6answers
20k views

How do I open a file as root in TextEdit on Lion?

How do I open a file as root, in TextEdit? I've tried these commands as root, but TextEdit always say it's locked: open -e /etc/apache2/httpd.conf open -e -F /etc/apache2/httpd.conf open -e -F -W ...
7
votes
3answers
4k views

How does Mountain Lion set the default text editor for the “open -t” terminal command?

OSX seem to offer open -t command line shortcut to open arbitrary files in the system default text editor. Where is this default text editor set? Can I change it from the command line (if possible) ...
7
votes
3answers
5k views

Applications occasionally start showing “The document could not be autosaved” dialogs

Every now and then, some application (usually TextEdit) starts showing dialogs like this when I try to close or save any document: The document “2.txt” could not be autosaved. Your changes ...
7
votes
3answers
3k views

How to disable the most recently used items in App Exposé on Lion?

When using App Exposé on Lion ( Control-↓ by default), the lower part of the screen above the dock is reserved for minimized windows. A new feature of at least TextEdit in Lion is that it also ...
5
votes
4answers
1k views

Delete a TextEdit document in iCloud

I would like to delete a TextEdit document stored in iCould. The only solution I found was to open the document move the document to the hard disk "File → Move To ..." delete it locally Any ...
5
votes
1answer
525 views

Apple TextEdit - where is the file being saved?

I used to use Save As… to remember the directory I was saving a file in, but that seems to have disappeared with the latest OS. I have a file open in TextEdit. How does one go about finding the ...
5
votes
2answers
604 views

Can a keyboard shortcut force TextEdit windows to close and discard all changes?

Is there any way I could configure TextEdit to close the window (through keyboard shortcut) without asking me if I want to save an unsaved file? Can be another script/program configure globally when ...
5
votes
3answers
3k views

TextEdit shows dialogs about not having permission to open any files

About once per day, TextEdit starts showing dialogs like this when I try to open any file: The document “test.txt” could not be opened. You don’t have permission. To view or change ...
4
votes
1answer
4k views

Can TextEdit save as plain text?

When I try to save a new file in TextEdit, I always get a popup saying I can't save with ".txt" at the end of the file name. I want to save a plaintext file, but TextEdit insists on saving as .rtf ...
4
votes
4answers
1k views

How to edit the /etc/hosts file?

When I open the file with TextEdit (I don't want (truly, I am not able) to use vim), it is seen as "locked", even if I modify the permissions of the file via the "Get Info" window. How can I modify ...
4
votes
1answer
660 views

TextEdit key bindings modified in DefaultKeyBinding.dict stopped working

I have customized text editing bindings in ~/Library/KeyBindings/DefaultKeyBinding.dict but they all stopped working in TextEdit.app when I upgraded to Lion. They still work fine in other Cocoa apps ...
4
votes
1answer
859 views

Quotes problem in Mavericks (or TextEdit)

TextEdit in Mavericks changes the standard double quotes "Hello" to using unicode quotation marks “Hello”. It does this even when you edit plain text documents. Is there a way to prevent this new ...
4
votes
2answers
369 views

How do you delete a column in TextEdit?

Using TextEdit, I created a table in a RTF document. Now I want to delete one of the columns in the table, and I see no option anywhere to delete a column. How do I delete a column in a table in ...
4
votes
1answer
392 views

How can I associate OpenOffice documents with OpenOffice apps instead of TextEdit?

I just updated to Mountain Lion. My documents were prepared in OpenOffice and contain many mathematical equations. After updating to Mountain Lion, the documents open in TextEdit instead of ...
4
votes
1answer
7k views

Where does OS X store unsaved TextEdit documents?

Where does Mac OS X store TextEdit's unsaved documents? I want to programmatically: increase/decrease that size flush the cache provide configuration option to control the frequency of auto ...
3
votes
2answers
2k views

How can I zoom in TextEdit?

I am given documents from various different sources in various different formats to work with. I use TextEdit to read and make small edits to them. TextEdit can read and edit all of the formats I ...
3
votes
2answers
1k views

Entering superscript text (exponents) in TextEdit?

I am writing math problems on my iMac and I am using TextEdit. I need to add exponents to one of my problems. How can I do that?
3
votes
2answers
165 views

How to know which directory contains the file that I'm editing in TextEdit?

Very basic question - I am editing a file using the basic system TextEdit app. As I actually have the file in question in several locations, how can I tell what directory the one that I am editing is ...
3
votes
1answer
77 views

Stop TextEdit to iCloud Save

Every time I save a TextEdit file 'SAVE' always goes to iCloud, even though I have been saving to another folder. Can I stop 'SAVE' from doing this?
3
votes
1answer
2k views

Change tabstop in TextEdit.app

How does one change the tabstop in TextEdit.app for Snow Leopard? The current tabstop is 8 spaces. I would like to change this to 4 spaces. Is there any way to achieve this?
3
votes
1answer
59 views

How to change the default opening application for a file created by touch?

I create a file by touch myFile in the Terminal. When I open this file in the Finder, it opens with TextEdit. But TextEdit is not ok for me, because it automatically transforms the character ' into ...
3
votes
1answer
187 views

Is there a way to refresh a file that is opened by TextEdit?

As an academic, I often have to conduct "numerical experiments" by running a small computer program that outputs to a text file. I use TextEdit to read the text file. However, when I re-run the ...
2
votes
3answers
2k views

TextEdit removes Byte-Order-Mark (BOM) from Unicode/UTF files. How to fix?

I'm working with UTF-8 files, but TextEdit seems to not fully support the BOM. When a BOM is present, it DOES render unicode characters correctly. However, upon saving the file, the BOM is removed, so ...
2
votes
1answer
171 views

TextEdit refuses to modify a file in /Users/Shared owned by another user despite mode 666

I have a text file in /Users/Shared that I would like to be editable by all users on my Mac. The Get Info window shows that everyone has read and write access, and when I open the file with TextEdit ...
2
votes
2answers
897 views

Removing favorite styles does not work in Lion’s TextEdit

In TextEdit on OS X 10.7 Lion, I want to remove some custom text styles I created previously (see screenshot). I have tried the “Remove from favorites” button in the “Show Styles > Favourite Styles” ...
2
votes
4answers
236 views

How to 'scroll down' when there's nothing more to show? (cause I like the blank space)

When I'm working in a text document, I like to start typing at the top of the window or in the middle. I hate when the carat/cursor gets all the way to the bottom and there's no blank space left ...
2
votes
2answers
29k views

How do I unlock a .plist file so that I can change it?

I want to edit Info.plist for TextEdit. (Here's why.) I'm running OS 10.7, and I do have Xcode installed. But every time I try to edit the file, it's locked and I can't save my changes. If I try to ...
2
votes
1answer
5k views

Read/Edit Textedit icloud files on an iPad

Does any one of you know a solution to either read or edit on an iPad files stored with Textedit on iCloud ?
2
votes
2answers
3k views

How can I access TextEdit documents saved in iCloud on a PC?

I use TextEdit to store a number of notes for me, and now my Mac is in Apple repair, I can't access them. How can I use a PC to access these notes? Is it possible to use an iPad mini to access these ...
2
votes
1answer
305 views

How do I open a file from TextEdit on MacOSX?

How do I create a link in TextEdit on MacOSX that will let me open an external application?
2
votes
1answer
819 views

TextEdit wants to save as RTFD because of graphics, but I have used no graphics

I have been copying and pasting lots of contact info into a Textedit file. I have been saving as I go along and it saves as .RTF Now suddenly it says: This document contains graphics and will be ...
2
votes
2answers
533 views

Is there a notepad that lets me change the background image?

I want to put this blackboard as the background of my notepad, so when I type, it'll look like I'm writing on a blackboard. Do you know a simple text editor that will let me use it as a background ...
2
votes
1answer
629 views

How do I keep the new line/line break/end of line in a file consistent across mac and windows

I use DropBox on both a windows and a mac. Whenever I add lines to a .txt file on my mac and sync it with DropBox to my windows, the "new lines" are skrewed up when reading the file on my windows, ...
2
votes
1answer
62 views

how to find out the submenu item's name in this special case (for a shortcut)

In TextEdit there is this submenu (see the image) that I want to define a shortcut for. I can't define a shortcut for the "Right to Left" item, I assume it's because there are actually 2 such items ...
2
votes
1answer
215 views

TextEdit - quickly switch between colors

I am using TextEdit, and I am frequently switching between red, blue and black for the text colour. Right now I have to move my mouse to the colour picker in the toolbar and select the desired colour. ...
2
votes
1answer
237 views

White on black in TextEdit [duplicate]

Possible Duplicate: Default background color in Textedit Is there any way to get text displayed in white and the background be black in TextEdit in plain text mode?
2
votes
1answer
283 views

TextEdit: How to stop cursor always being at the bottom of the screen while writing?

Ok so I have recently started using TextEdit to create .txt documents on 10.8.2 (Mountain Lion) but I am used to word processors like pages. I realise that txt files don't have pages, even though you ...
2
votes
0answers
733 views

Where are my old (previous) iCloud files after upgrading to OS X 10.10 Yosemite Beta 1? [closed]

I previously had about 200 .txt files saved in iCloud via TextEdit. After installing the Yosemite (10.10) Beta, there is now a folder hierarchie in iCloud, and all my previous files seem to have ...
2
votes
0answers
455 views

How can I get all my open TextEdit documents back?

I have a bad habit of having zillions of open documents in TextEdit, containing brief notes that I've made. Most of these are unsaved, so they have titles like "Untitled 67". Usually this isn't a ...
2
votes
0answers
56 views

TextEdit print to pdf failure in RemoteViewServices

I just started getting "error while printing" printing to a pdf from textedit (i.e. Print > PDF > Save as PDF ...). This has worked in the past (for years), though a web search indicates it's a ...
2
votes
1answer
370 views

TextEdit keeps duplicating my text file and adding a strange extension

A lot of the time, when I open a file in TextEdit, such as test.txt, it will create another file test.txt.sb-d7bff531-E4qLT8 in the same directory. Why does it do this?
2
votes
3answers
993 views

Default background color in Textedit

How do I set default background color in Textedit? Preferences -> New Document -> Font doesnt help. That black on white isn't too good in nights.
2
votes
1answer
322 views

Are there keyborad shortcuts to MOVE paragraphs up or down while editing text?

Microsoft Word on windows has this really handy feature where you can MOVE the current paragraph up or down. I think you type alt-ctrl-up or alt-ctrl-down, though I don't have a windows pc in front ...
1
vote
2answers
165 views

Selecting a whole line of text, including the newline

Kind of a tricky one to describe. Here goes though. Open up your favourite text editor on OSX (well, Textedit, Coda 2, a Chrome textarea at least). Type a long line of text, followed by a short line. ...
1
vote
3answers
9k views

How to save a .css file from TextEdit or Word?

I once read you could force the color of visited links in Safari by adding a:visited { color: #6611cc !important; } in the .css file under Preferences < Advanced. In this way, it will turn every ...
1
vote
3answers
276 views

Edit contents of file from Finder with text editor

As a developer I need to constantly be examining/editing the contents of text files, and opening them from Finder and the command line. I would like to right click the file in finder, and have the ...