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
1
vote
1answer
40 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
69 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-...
1
vote
1answer
28 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
29 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
22 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) ...
1
vote
1answer
34 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 ...
0
votes
0answers
20 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
16 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,...
2
votes
2answers
39 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 ...
1
vote
2answers
34 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
271 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
44 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 ...
0
votes
2answers
128 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 ...
2
votes
0answers
37 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
44 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 ...
0
votes
2answers
51 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
0answers
7 views

My Sublime all of a sudden wont load folders

All of a sudden within the past few days Sublime is sporadically not loading folders, it just stays with the loading icon: I have 10GB left on my mac which is normally plenty. I restarted my computer ...
0
votes
1answer
57 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. ...
2
votes
1answer
31 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 ...
1
vote
0answers
39 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 ...
2
votes
0answers
1k 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....
1
vote
2answers
271 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
0answers
36 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
1answer
29 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 ...
1
vote
2answers
74 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.
1
vote
1answer
378 views

BBEdit: find / replace in selection

Is there a way to find and replace a word only in the selected text in BBEdit? For example, if I have a large document, is that possible to select only one function which the matching words will be ...
7
votes
1answer
1k views

How do you cope with tons of web fonts when copying and pasting from web pages?

Whenever I copy something from the web and paste it in my Mail or Evernote, or Apple Notes, it always brings the text style from the page and inserts those weird looking fonts in my mail, or notes. ...
1
vote
1answer
150 views

How to make sublime text the default file viewer for all file types it supports

I want sublime text to open all the file types it supports. For e.g., if I double click on .hpp file, Xcode tries to open it. I want sublime text to open the file. I've looked at RCDefaultApp, but it ...
1
vote
1answer
429 views

BBEdit Code Completion and other features found in Textmate

Sometime back in the early 2000s I switched from BBEdit to TextMate, but now it seems TextMate gets to be long in the tooth while the good folks at BareBones are still at it. The most convenient ...
1
vote
1answer
52 views

change default editor for command line tasks?

I want to create a cron job. Launching a terminal window, and entering crontab -e opens my current crontab, but opens it in the editor vi. I would prefer to use the nano editor. How do I configure ...
0
votes
1answer
256 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 ...
3
votes
0answers
112 views

WebStorm IDE: How do I put the caret/cursor at the end of every line in a selection?

In Sublime Text, there's a feature that you can select a block of text and hit Command + Shift + L and it places a cursor at the end of each of those lines. I am looking for something similar in ...
1
vote
1answer
60 views

Edit text file in a folder owned by a different user on macOS? I have system admin password

How can I access and edit a text file found in a folder owned by another user? I am in the original user account setup for this macOS Mojave installation, and have the system admin password. So I ...
1
vote
1answer
2k views

Install SublimeHighlight plugin on Sublime Text 3

I'm trying to copy my code from Sublime Text 3 into my Word document in RTF format with colors in tact by using this plugin: https://github.com/n1k0/SublimeHighlight The instructions say: Sublime ...
5
votes
1answer
5k 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 ...
4
votes
1answer
1k 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 ...
1
vote
0answers
140 views

Tab Stops in Text Editor & Default Word Wrapping

I have noticed in several applications that there appears to be some sort of implicit line width which causes text to wrap. For example, suppose I type in the following: ...
1
vote
0answers
159 views

Add an App to every “Open With” Menu?

Is there any way I can make it so one specific app always shows up in the "Open With" menu, in addition to all of the default options? I want to be able to right-click on a file, and in addition to ...
1
vote
1answer
304 views

Nedit stopped working on my iMac running High Sierra 10.13.4

I installed Nedit on my iMac this weekend. I used it several times and it worked fine. For some reason last night it quit working. When I type Nedit in the terminal window I just get the message ...
2
votes
1answer
397 views

How to remove right side space in TextWrangler?

In TextWrangler, I have a lot of white area in the editor that goes right well past 100 characters. Then it continues into this gray area. That creates a huge horizontal scroll bar. I really only ...
1
vote
0answers
73 views

Indentation in index in Pages document

In my Pages document, I have a passage in my abbreviations list that looks as shown below: I'm not satisfied with the display of the first item, because on the second line the word inscriptions ...
1
vote
1answer
20 views

Visualize character glyph in Pages application

Is it possible to visualize a particular character (even if it's a special one) in a Pages document ? (I need it for a third-party doc I'm using, to know if certains spaces are just spaces, tabs or ...
1
vote
0answers
368 views

Integrate structured editor with Devonthink

I am trying to use Devonthink for more use cases than I did before. What is holding me back from making it my general note-taking tool is the editor situation, and I wonder if it can be improved. ...
1
vote
1answer
45 views

Why does Pages force me to waste the last line in the page?

In the short video below, I'm trying to place the "CIS 256" in a new line below the paragraph ending with "MLQRT". But Pages refuses, insisting that the last line in the page, just below "MLQRT", ...
3
votes
1answer
72 views

Weird bar in the bottom-left. What is that?

Sometimes, when I hit a combination of keys (I have not figured out which one) a weird bar in the bottom-left of a screen appears. I cannot get rid of it in any way. The screencast: https://youtu.be/...
0
votes
1answer
294 views

How can I view invalid characters in a file?

How can I view invalid characters in a (text) file? At the left is Notepad++ on a Windows machine. At the right is TextWrangler on a Mac machine. Notepad++ shows me what those invalid characters are, ...
0
votes
1answer
4k views

Mac app for show all character features in notepad++

I am working in 2 environments (Mac & Windows). Once I have problem with invisible characters in Windows and notepad++'s "show all characters" feature helped me a lot in displaying the invisible ...
3
votes
0answers
315 views

How to set the default editor for a Makefile?

I want to set the default text editor for Makefiles to something like Atom or Sublime Text to make them easier to open, and so that when I edit remote Makefiles through CyberDuck they will open in one ...
1
vote
0answers
61 views

IPhone app that allows search for string inside .js,.html files?

Is there any app that allows me search for string inside huge list of .js,.html,.php files without opening individual files?I have tried an app called Documents to no avail. (Just like Search for ...
1
vote
0answers
43 views

The Open With: application settings In Finder's Get Info sheet for a file type won't stay set

When I set "Open with:" from Finder's Get Info sheet for a file and click "Change All...", it will open in the designated app if I immediately open the file, but the application set for "Open with:" ...

1
2 3 4 5