Questions tagged [textedit]

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.

Filter by
Sorted by
Tagged with
21
votes
1answer
24k 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 ...
0
votes
3answers
739 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 ...
26
votes
6answers
7k 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 ...
62
votes
5answers
45k views

Quotes problem in Mavericks (or TextEdit)

TextEdit in Mavericks changes the standard double quotes "Hello" to using curly, non-ascii quotation marks “Hello”. It does this even when you edit plain text documents. Is there a way to prevent ...
14
votes
6answers
42k 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 /...
3
votes
2answers
987 views

How to create a blank RTF file in AppleScript?

I want to be able to create a new TextEdit document with an AppleScript file. The AppleScript file will then be triggered by a system-wide keyboard shortcut via FastScripts. Specifically, I want the ...
202
votes
5answers
383k 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?
16
votes
5answers
192k 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 ...
9
votes
4answers
10k 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 permissions,...
4
votes
2answers
5k views

How to 'linkify' plain text URLs (locally) on the Mac?

I'm copying a slab of plain text that contains URLs into an RTF file in TextEdit, which I am hoping to automatically, (as there are a lot of them in the text), 'linkify' into rich text hyperlinks - ...
3
votes
4answers
9k 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.
0
votes
1answer
3k views

How delete an application that is bundled with macOS? [duplicate]

Backstory: I am running macOS Sierra and use TextEdit a lot. The problem is that I hate the Versions save schema that causes the universal Save As shortcut of CmdShiftS to instead create a copy of ...
18
votes
7answers
43k 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 ...
22
votes
6answers
7k views

Save file to hidden directory with standard OS X save dialog

Using TextEdit, when I try to save example.txt to some hidden directory, for example ~/Library, I can't because save panel doesn't show them. The only way I found was to save file to non-hidden ...
9
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) ...
15
votes
3answers
44k 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 ...
3
votes
2answers
5k 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?
2
votes
1answer
258 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
3answers
8k 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 ...
8
votes
4answers
23k 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
2answers
4k views

Stop TextEdit from using 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
3
votes
1answer
99 views

Always enable Smart Quotes in TextEdit?

I like smart quotes and curly quotes (unlike most people of the internet, apparently). I'm on macOS Mojave, Version 10.14.3. I have both of these preferences turned on: TextEdit preferences: System-...
2
votes
1answer
2k views

Is it possible to change the default window size of a .txt file in TextEdit?

I have a .txt file that I open regularly on my Mac. I would like the TextEdit window of this .txt file to be wider than it normally is. I can manually increase the window width every time I open the ...