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
202
votes
5answers
384k 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?
72
votes
3answers
31k 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. ...
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 ...
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 ...
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 ...
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 ...
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 ...
17
votes
13answers
8k 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 ...
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 ...
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 ...
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 /...
13
votes
1answer
5k views

How do I combine separate cells in a Numbers spreadsheet and paste the result as text into a TextEdit document?

I have a Numbers spreadsheet. Column B contains first names, column C contains surnames. I need an easy way to combine and reformat this data so that it’s in the format Surname, Firstname. I then ...
11
votes
4answers
9k 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?
11
votes
1answer
1k views

In TextEdit, if I type two `-` it is converted to one longer `-`

I use TextEdit to edit my text. If I type in a double -, it is converted to one longer -. How to avoid this?
11
votes
2answers
29k 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 saving/...
10
votes
2answers
35k views

How to resize a photo in TextEdit? [closed]

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?
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) ...
9
votes
2answers
5k 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 ...
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,...
8
votes
3answers
19k views

How can one save a file as plain text in TextEdit? [duplicate]

I'm not seeing an option to choose plain text encoding (.TXT extension) when saving a file in TextEdit.app in macOS. My documents seem to all be rtf - rich text format. How can I change this?
8
votes
2answers
6k 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 ...
8
votes
3answers
6k 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 need ...
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
7
votes
2answers
3k 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 ...
7
votes
4answers
7k 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 ...
7
votes
2answers
321 views

Why does the font change after I paste an image in TextEdit?

Here is a simple sequence of actions in TextEdit in macOS 10.13.6 that produces an unexpected side-effect. I don’t understand why, and would like to know how to prevent it. Create a new document in ...
6
votes
4answers
5k 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 ...
6
votes
3answers
1k views

Using TextEdit for HTML

Is there a way to open a HTML file in TextEdit without it rendering the file but just showing it as source (and possibly edit it)?
6
votes
2answers
1k 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 ...
5
votes
2answers
1k 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 ...
5
votes
2answers
516 views

What happens when you paste an app into TextEdit?

In the past, I have pasted apps into TextEdit, which would show something like the following. I always thought that this was a convenient way to store app icons (as .icns files), in case I ever wanted ...
5
votes
1answer
3k 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
1answer
2k views

unable to indent / shift right multiple lines of text in textedit

New to mac and am not able to highlight and indent multiple lines of text using textedit. I see many solutions that seem to only apply to older version of OSX / text edit. Command + ] is ...
5
votes
1answer
146 views

TextEdit Chinese Plain Text Style Problems

I'm working with Chinese text in TextEdit as a plain text .txt file. This is what a normal line looks like: (and the style that my text document basically looks like) 𨃅𨃅 bai1 bai1 [pai⁵⁵ pai⁵...
4
votes
1answer
1k views

TextEdit app always opens with File Open dialog

Every time I open my TextEdit app it starts with the File Open dialog open. How do I stop this?
4
votes
1answer
421 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
61 views

Is it possible to have the “Find” field engaged on open of .rtf file?

When I click on the Dock shortcut of a specific .rtf file to open the file in TextEdit, my cursor is by default set in front of the first character of the first line of the document. However, I would ...
4
votes
2answers
1k views

Is it possible to prevent TextEdit's “The file has been changed” dialog from appearing unnecessarily?

Every so often, I will be doing something on my computer (e.g., in Google Chrome), when an alert dialog from TextEdit.app randomly pops up. The dialog looks like this: The dialog asks if I want to ...
4
votes
2answers
2k views

TextEdit keeps getting stuck

TextEdit keeps getting stuck in the middle of files stopping me from being able to scroll down any further. I'm on macOS High Sierra 10.13.1 - I don't remember ever having these issues on Sierra 10.12....
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
1answer
144 views

What makes the bash interpreter utility interpret differently standard and smart double quotes, present in a shell script, created in TextEdit?

While learning bash scripting by going through a Beginner's Guide, I tried writing some lines of code in the .sh file, created in TextEdit on macOS Yosemite and running it using the command bash \path\...
3
votes
3answers
3k views

How do I save a text file with a Ruby (.rb) file extension?

I am new to Ruby and am trying to learn from a book. However, I have one problem – it says I should save a file so that it ends with .rb but my Mac only lets me use .rtf so that's what I used. But the ...
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?
3
votes
2answers
10k views

Read/Edit Textedit icloud files on an iPad [duplicate]

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

Can I combine TextEdit files w/o copying and pasting?

I’ve kept daily journal entries in Text Edit. Is there a way I can combine them into one file without cutting and pasting? I’m using TextEdit 1.1 on Mac OS El Capitan Version 10.11.6.
3
votes
2answers
303 views

TextEdit app is displaying wide borders at bottom and right corners

Suddenly the TextEdit.app is displaying wide borders on its bottom and right corners. How to revert it back so that the bottom and right borders are back to normal just like the left border?
3
votes
2answers
3k views

Are there keyboard 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 ...
3
votes
1answer
2k views

How to select vertically in textedit using keyboard

How do i select vertically (columnar) in TextEdit using keyboard? I can do that using mouse i.e. pressing the option button and selecting the text but I would like to do the same with keyboard. How ...
3
votes
1answer
86 views

Textedit crashed and lost a previously saved file

I have a file I created and edited with textedit. I saved the file many many times. Textedit crashed and I rebooted and the file it entirely gone. What happened? Is there a way to recover it? A ...

1
2 3 4 5