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

16
votes
4answers
4k 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
32k 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 ...
5
votes
3answers
85k 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
4answers
3k 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.
101
votes
5answers
183k 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?
8
votes
3answers
5k 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) ...
6
votes
5answers
11k 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 ...
6
votes
3answers
5k 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 ...
3
votes
2answers
3k 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?
8
votes
3answers
11k 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 ...
3
votes
2answers
186 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? I run OS X 10.9.4
0
votes
2answers
60 views

How to use find and replace to replace a character with new line

I have a document, I wants to use the find and replace to convert any period (.) into a new line. I can't seems to of that, in Microsoft word you can input ^ CTRL+p into the replace field. But how do ...
0
votes
3answers
168 views

Applescript Won't Invoke Shortcut Command

I have a long TextEdit document I frequently open (via a keystroke, thanks to Alfred). It contains many non-standard spellings, so I de-select "Check Spelling While Typing" (though I want spell ...