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

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 ...
5
votes
2answers
563 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 ...
0
votes
2answers
33 views

I want to show a file in an AppleScript bundle, but shell returns: file not found

My Bundle File: reference.txt My Code: set bashFile to path to resource "reference.txt" set the reference_data to do shell script "type " & quoted form of (POSIX path of bashFile) display ...
11
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 ...
1
vote
0answers
19 views

How to prevent TextEdit from commandline to cause Developer Unknown warning?

Is there any way (other than disabling Gatekeeper through preferences) to allow TextEdit to open my shell-script from a command-line? I'm more than ok with a dialog warning me, but the current dialog ...
1
vote
1answer
55 views

TextEdit Strange Error

If I hit Spotlight type "TextEdit" and hit enter. TextEdit starts and after that I can open any txt file by double clicking on it. As you would expect. If I close TextEdit and click on any txt file it ...
2
votes
0answers
391 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 ...
1
vote
1answer
70 views

What corrupted TextEdit's rendering of RTF files?

When opening RTF files with TextEdit, they appear garbled. For example: {\rtf1\ansi{\fonttbl\f0\fswiss Helvetica;}\f0\pard This is some {\b bold} text.\par } Is TextEdit corrupted?
2
votes
3answers
857 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.
1
vote
1answer
78 views

TextEdit hangs when trying to reopen documents. Can I recover all documents except the one causing problems?

I was using TextEdit with a number of unsaved documents open. I then attempted to paste an unreasonably large RTF table into a new document. After watching TextEdit beachball for about 5 minutes, I ...
2
votes
1answer
157 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
0answers
264 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 ...
0
votes
1answer
59 views

How to stop auto-replacement of hyphens with horizontal rule?

If I wanted a horizontal rule, I'd type a string of em dashes. I can't find easily a way to disable this over-feature in TextEdit prefs ('Text replacement' is unticked) nor System Prefs ('Correct ...
4
votes
4answers
799 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
6k 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 ...
7
votes
3answers
3k 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) ...
3
votes
1answer
519 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 ...
3
votes
1answer
52 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 ...
4
votes
2answers
278 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 ...
1
vote
3answers
206 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 ...
1
vote
1answer
31 views

Formatting from Word docs in TextEdit

When I open Word docs in TextEdit some formatting is lost, especially numbered lists, the numbers are simply not displayed. Is there some hidden preference? This is really annoying, because I have ...
3
votes
1answer
71 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
137 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 ...
0
votes
1answer
331 views

Converting .rtf to .doc/.dox with a service

I like to write in rich text with textedit and then do more complicated formatting tasks with Pages 5.0. However, Pages doesn't open rich text. To get the text into pages I either have to copy and ...
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. ...
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
0answers
48 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
2answers
27k 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 ...
0
votes
3answers
1k views

Closing applications after documents are closed- OS X 10.8

When I use applications such as TextEdit and Preview, the application still stays open after I close the text file or jpg file. When I click the respective application (since it is still in the dock), ...
2
votes
1answer
184 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. ...
1
vote
1answer
2k views

How to resize a photo in TextEdit?

When I add photos to TextEdit, they sometimes appear too big, and I want to make them smaller. How can I resize or modify photos in TextEdit?
0
votes
1answer
2k views

Edit plist file for TextEdit

I need to edit plist file of TextEdit (TextEdit/Contents/plist.info) for doing this, using Xcode. But TextEdit says that I've got no permission for edit I've tried to get more permission for me, ...
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 ...
48
votes
5answers
79k 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?
3
votes
2answers
892 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?
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 ...
7
votes
3answers
4k 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 ...
1
vote
1answer
248 views

Prevent TextEdit from opening for unknown file types that are plain text

TextEdit is used by the system so it can't be removed, but I have another text editor I use and it causes confusion when text files that don't have a suffix or don't have a suffix which I've already ...
1
vote
2answers
146 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
4answers
2k views

Joining lines into a single line in TextEdit

In a text document, how do I join several lines into a single line? I want each paragraph to be on a single line, but keep the lines between the paragraphs. Here is an example. I want to convert this ...
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 ...
4
votes
1answer
390 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 ...
2
votes
1answer
349 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?
8
votes
6answers
19k 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 ...
0
votes
0answers
26 views

Close a file TextEdit without saving [duplicate]

Every time I close (command-W) a file I'm editing in TextEdit, it will save any changes without even ask me (and several of those times, I didn't want the changes to be saved). I couldn't find any ...
0
votes
1answer
587 views

TextEdit Crashes on New Document (SIGSEGV)

I can't even create a new text document in TextEdit, though I can open any existing one. Whenever I click "New Document", I get the following crash report: Process: TextEdit [23534] Path: ...
0
votes
1answer
265 views

How do I make TextEdit remember last Save As location in Mountain Lion?

First off, I have disabled iCloud as default location for Save As dialogs in TextEdit.app: defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false … But still, I have one ...
0
votes
1answer
45 views

Good Text List transformation Software

Let's say I have a list of items like so: default cube page concave zoom linear fade none and I want to change it to the following: 'default' => t('default'), 'cube' => t('cube'), ...
2
votes
1answer
281 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?
3
votes
2answers
156 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 ...