Questions tagged [text-editor]

A software program that provides tools for writing computer programming code, as opposed to the word processor, which is designed to facilitate writing prose and displaying typography.

Filter by
Sorted by
Tagged with
4
votes
2answers
3k views

macOS keyboard shortcut for correcting misspelled words?

In a Mac OS X native textfields, misspelled and typo'd words are underlined with a red squiggle. Is there a standard keyboard shortcut that will correct a mispelling by selecting the most-likely ...
2
votes
1answer
45 views

Magnification glass doesn't come up anymore when moving text cursor?

When I type, say if I want to move the cursor to some position back to do the edit, I would hold the finger down and then it will display a magnification glass that was very handy to use to move the ...
6
votes
2answers
7k views

Text editor to search/replace newlines and tabs

A time-saving feature I often used while editing large text files (the kind used for batch processes of data exchanges, aka, "flat files" for feeds between multiple systems) was Notepad++'s extended ...
0
votes
0answers
40 views

How can I edit and run Apple Script with an editor other than Script Editor?

I've recently been writing more AppleScript, now that Apple has added Javascript support. But how can I edit and run Javascript Automation code in an editor other than the built-in Script Editor? My ...
2
votes
2answers
441 views

Is there a way to have BBEdit automatically save files when switching to a different application?

In Sublime Text 2, there is a save_on_focus_lost preference option. When set, every time you switch to another app all current files are saved. Is there a way to make BBEdit behave the same way?
1
vote
2answers
3k views

Overtype mode in Terminal.app

As a Linux/Windows user, I am used to switching temporarily to Overtype Mode when using the command prompt. As a new user to the Mac world, I do not know how to change text input mode from normal (i....
0
votes
1answer
24 views

Fixed tab-spacing for TextEdit on Mac

Is there a way to set a fixed number of spaces for a tab indent? If not, can someone recommend a program that is simple like TextEdit, but also does have fixed tab spacing?
4
votes
3answers
668 views

Replace TextEdit as the default text editor in MacOS Big Sur

I just never want TextEdit to be opened, and instead set sublime as the default editor for all plain-text files. So not only files with *.txt extension. For older versions than Big Sur the following ...
31
votes
19answers
11k views

Is there a free, lightweight text editor that isn't text-only but also isn't a heavyweight IDE?

I'm not really satisfied with the text-editors available for Mac OS X. I tried TextWrangler, Smultron, Coda, SubEthaEdit, TextMate and others I do not remember. But none of the above satisfied my ...
0
votes
0answers
42 views

MacBook pro 16" - Big Sur - find config file to change the speed of horizontal scrolling speed

On my MacBook pro 16", I would like to find out where is the parameter that controls the speed of horizontal scrolling with trackpad (if it is possible). Indeed, I am using some different editors ...
3
votes
2answers
2k views

iPhone application to edit text files

I need to edit some local text files on my iPhone but so far, all the apps I have downloaded do not navigate the OS3 file tree for me to open, edit and save them. I need to do this on my iPhone as I ...
1
vote
2answers
961 views

How to get the line number in TextEdit [duplicate]

Is it possible to get or display the line number in TextEDit in macOS Big Sur? As I am using the editor for HDL (Hardware Descriptive Language) coding. If it's not possible, could you point me to an ...
54
votes
8answers
159k views

How do I edit a .plist file?

What's the best application to open and edit a plist file ?
1
vote
1answer
537 views

How to return a list of all text editors via terminal?

Is there a way to return a list of all the installed text editors via the command line? I think (I can't test to confirm) this answer inadvertently gives the equivalent for ubuntu: sudo update-...
0
votes
2answers
124 views

Why “sudo nano” can bypass csrutil / SIP when enabled and other apps can't?

Initial statement I was installing open source ntfs-3g on my mac (Catalina). At some point, while crsutil was enabled (i.e. System Integrity Protection was on) , I had to modify one line in the ntfs-...
116
votes
11answers
101k views

Replace Text Edit as the default text editor

I've seen questions like this which don't quite solve my problem. I'd like to make Sublime Text 3 the default file viewer/editor for all files that currently use textedit. Most of these files can be ...
8
votes
5answers
23k views

BBEdit - The authenticated save for this file failed (application error code: 20004)

I'm trying to edit my hosts file with BBEdit 10. When I begin, it tells me to unlock the file with this message: Are you sure you want to unlock "hosts"? You aren't a member of the group &...
1
vote
1answer
68 views

Getting AppleScript function to pass string correctly

Someone please help me here and show me how to get this to work. I've checked examples on returning values from functions with this AppleScript, but something I am missing here. I'm trying to get the ...
0
votes
1answer
58 views

Disable all Mac system keyboard shortcuts whilst using nano

I want to use nano on the terminal, however the built-in system keyboard shortcuts constantly conflict with the usability of the program. Is there a way in which I can set a system option to disable ...
0
votes
1answer
28 views

Text encoding problem with old files not newly created ones

MBA running 10.13.6 I keep a lot of plaintext Notes in a shared DropBox folder, synced between an iMac (also 10.13.6) and my MBA. The programs I use to access those notes (The Archive and nvALT) ...
16
votes
2answers
12k views

Tabs to spaces in BBEdit

How can I configure BBEdit to insert 4 spaces (or at least spaces up to the next column which is a multiple of 4)? I've checked "Auto-expand tabs" in the preferences, but it doesn't seem to be doing ...
1
vote
1answer
75 views

How make BBEdit Color Scheme follow system dark mode setting

BBEdit has an awesome setting to make the application appearance match the selected editor color scheme – so when selected, if you select a dark color scheme in Preferences, it puts the app's chrome ...
2
votes
2answers
130 views

Tool to perform MULTIPLE regex replacements on text

It's often been the case that I've wanted to a) perform a series of regex replacements on some text in a specific order, and b) save this replacement to use for later. However, despite the purported ...
0
votes
0answers
46 views

Is it possible to turn off text insertion point blinking on an ipad?

Is it possible to stop the cursor (text insertion point) blinking on an ipad? On MacOs, it is possible to turn off (effectively) cursor blink using this in a Terminal? defaults write -g ...
0
votes
0answers
18 views

Emacs-like navigation to beginning/end of sentence in text

I think it is a really big advantage of macOS over other operating systems that it supports a lot of Emacs navigating keyboard shortcuts out of the box. (^ ControlP, ^ ControlN, ^ ControlK, ^ ControlY,...
1
vote
2answers
471 views

How to set Xcode as core.editor in git?

My current git config core.editor returns dreamweaver which I set up two years ago from inside the app(IIRC), and now I don't use it. I am receiving error while amending the author of the last commit. ...
1
vote
2answers
39 views

Change text color while writing

I am writing scripts and I need to separate actual text from comments by color. For example the code is in black, and the comments are in red. **writeln('this one should be BLACK');** *this is a ...
3
votes
1answer
764 views

Is there a great text editor for iPhone and/or iPad with BBEdit-style text filters and PCRE search/replace?

Overwhelmingly, the reason I turn to my computer instead of using my phone with an external keyboard and the reason I gave up using an iPad is to be able to use BBEdit. Is there a reasonably full-...
0
votes
1answer
105 views

restore last session of my text editor

I am looking for text editor which can reopen all my saved/unsaved tabs that was there in the last session before my mac got restarted or text editor got closed unexpectedly. I always have my text ...
4
votes
4answers
7k views

Textwrangler Open File in New Tab

I just become a Mac user and I've been looking for a decent free code editor, thus I found Textwrangler. However, I like it a lot, I only have one problem with it. How does one open a new file in a ...
0
votes
2answers
344 views

How to change the default text editing app in Quick Look? [duplicate]

I want to customize which app is used to open all unknown plain text files from Quick Look. For example, for extension-less VERSION file, Quick Look shows Open with TextEdit: I'd like to make VSCode ...
0
votes
1answer
405 views

Blank lines appearing in a CSV exported from Excel, only on 1 Mac, other Macs don't see them

My colleague and I both use Macbook Pros on the latest Mac OS. He exports CSV files from MS Excel for Mac and sends them to me, but when I receive them I open them in a text editor and there are ...
2
votes
0answers
40 views

Mac Os 10.13.6 started to reopen all previously opened windows of various applications

I use VSCode as my main text editor, and Sublime Text 3 also. I don't know what happened, but today my OS decided to show me all ever opened windows of my text editors when I start them from command ...
2
votes
2answers
55 views

How to return back to the default view of pages in Pages?

I've screwed something up with a settings and I cannot go back to the defaults. How to return back to the default view of displaying pages (page under page) instead of having them diagonally or page ...
13
votes
4answers
20k views

How to make command apm available after installing atom?

I have installed github's editor atom into /Application. I now expected to have the command apm at my disposal to be able to install further packages. Yet: $ apm -bash: apm: command not found How do ...
2
votes
3answers
2k views

BBEdit - Have the Sidebar closed by default

Currently whenever I open up BBEdit the Sidebar is open by default. The Sidebar is where it shows a list of files that were already open in BBEdit. I could shut it down by going to: View > Hide ...
0
votes
2answers
52 views

Files display only ^@^@^@^@

I have some files I was hoping to open and look at. I usually open files of the same extension them on a server in a UNIX environment. These files as far as I can tell have been plain text but ...
0
votes
1answer
73 views

Horizontal scrolling on nedit with trackpad under XQuartz - MacOS Catalina

I use sometimes the nedit editor with XQuartz on my MacBook pro. Everything works fine except the fact that I can't do horizontal scrolling with trackpad of the content of the file opened with nedit. ...
1
vote
0answers
44 views

Catalina duplicates files open in text editors after restart

Problem: After macOS update to Catalina, when the computer shuts down with a text editor open (VSCode) or IDE (webstorm and the likes), it automatically generates files adding a 2 . eg index.html ...
41
votes
7answers
386k views

How to save and exit “nano .bash_profile” in Terminal?

I need to add some line to nano .bash_profile in Terminal. Then: 1) I enter with this command line: nano .bash_profile 2) Add the line I need 3) now I don't know how to Save and Exit I thought it ...
79
votes
10answers
320k views

How do I start TextEditor from the command line?

I work a lot at the command line in a Terminal and would like to start a text editor on a certain file. I'm from Linux Land and normally use kwrite or gedit from a bash shell. Trying to find the Mac ...
4
votes
2answers
995 views

OSX app to paste and save HTML content?

In Gmail, I can go to a web page, highlight web content, compose a Gmail message, and paste the HTML content into the email message. It works in Mail.app as well. But what app can I use to just ...
3
votes
0answers
2k views

“Waiting for your editor to close the file” when trying to use Sublime Text 3 as Git editor

I'm trying to use Sublime Text 3 as Git's editor. I ran this: sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl Then this: git config --global core....
2
votes
3answers
501 views

Text file preview failing in Finder (perhaps due to Sublime Text?)

I can no longer preview text files (e.g. .txt) in Finder. All I get is a preview pane showing a black square and TEXT. Other files such as .tex files show a normal preview of the contents just fine....
2
votes
0answers
55 views

Vim-like clipboard manager with multiple buffers

I am looking to expand the capabilities of my clipboard. I've grown attached to how vim does it; multiple discrete buffers you can 'yank' (copy) text into. I also generally prefer to use the mouse ...
1
vote
2answers
245 views

A file viewer like in Total Commander / Krusader

I use DoubleCommander, which is a decent 2-panel file manager. What I am missing is a viewer for the use case of peeking at a text file, especially logs: quick to load handles large text files (GBs) ...
1
vote
1answer
36 views

How do I insert the cursor after the last word (that is misspelled)?

Latest iOS, using Safari. I am often writing a post on SE and the last word I left off on is a misspelling. For instance ... so I definitely prefer QO to Homeline. * The misspelled word ...
22
votes
19answers
12k views

Editor or notes application with Markdown support?

Are there any editors or notes applications out there that support Markdown? I am often having to make notes or documents where markdown formatting would be ideal, and have gotten into the habit of ...
1
vote
2answers
77 views

Notepad++ alternative with the ability to search in folder [duplicate]

I am looking for an alternative program on macOS, like Notepad++ with two abilities: To write and edit program code, and Search specific string in a folder full of text files.
3
votes
3answers
2k views

Removing a Word From the Spellcheck Dictionary

Somehow, the word procede has made its way into my OS X system as a correctly spelled word. If I type it in Text Edit, BBEdit, or Mail, the spell checker will not mark it with red underlines. How ...

1
2 3 4 5