Questions tagged [text-editors]
A text editor is a program that allows for editing of plain text files.
751
questions
0
votes
0
answers
19
views
Notepad++ does not detect attribute change from read-only to writable
My Notepad++ v8.5.1 does not recognize when an opened file changes from read-only to writable (by checking out in ClearCase). It still simply does not edit when typing.
Even Reload / Reload from Disk ...
2
votes
1
answer
136
views
How can I open a file with Far Manager editor using command line without launching a new instance of Far?
Context
When I using Far Manager, I would like to open Far Manager editor without navigating to the file (which could be on another drive, folder etc.) and pressing F4.
Instead I would like to open ...
-1
votes
1
answer
58
views
Why PDF is larger in size in comparison to ePUB? [duplicate]
I don't know a lot about both file formats but when I get a copy of books in each format, almost always PDF is larger than ePUB, with or without images.
for example, quick test shows that if I have ...
0
votes
5
answers
853
views
Is there a solution to add special characters from software and how to do it
I have a question for you, do you know if there is a program/software to add easily a character to all lines?
For example, if I want to add + on front on those lines and don't want to do that one by ...
1
vote
0
answers
74
views
Is it possible to delete selection using mouse in vscode?
Like we can select part of text and then copy/cut/paste using Edit menu or Right Click context menu. Is it possible to delete selected text similar way in visual studio code?
Please do not suggest ...
0
votes
1
answer
29
views
My word document have a line separation of half page. How can I solve it?
In the document:
https://docs.google.com/document/d/1Wnd1lCcLVwRTWA_dCjWlZfWzjqGc7_g_/edit?usp=sharing&ouid=115679852586790547345&rtpof=true&sd=true
I have a huge line space, how can I fix ...
1
vote
0
answers
121
views
How to get the accurate mouse cursor index position in a text file
I have a large text file that I'm importing into a python script as a string using the following code.
from pathlib import Path
file = Path('edits.txt').read_text(encoding='UTF8')
I need to be able ...
9
votes
1
answer
2k
views
What does it mean to "tab out" in an IDE/text editor?
In VSCode/VSCodium, you can install a "famous" extension TabOut with > 300K installs at the time of writing. I am not fully sure what it does, although almost every entry in the forum is ...
0
votes
1
answer
447
views
How can I get a tree view for large JSON files in PyCharm?
When I open a small JSON file in PyCharm, I can easily collapse or expand its sections (note the medal-shaped symbols on the left):
However, when I open a large JSON file, this isn't possible anymore ...
1
vote
1
answer
34
views
How can I, as a noob to advanced text editing, write a script to automate converion from one enum to another?
The title is pretty poor, sorry about that. I am using two assembler/disassembler libraries and both have separate register enums. The libraries are Zydis and Capstone. In capstone the register enum ...
1
vote
2
answers
2k
views
how to remove all zero width space from the text?
I know how to use regular expressions to do the mass search and replace task in editing program
But I don't have or can't find the entire list of zero width space unicode. I quick searched the google ...
0
votes
0
answers
392
views
Getting Notepad++ to always color matching braces
Notepad++ (and many other IDEs) color the matching bracket when the cursor is next to it. An example (text and image here):
figure;plot(Freg,20*log10(1e-15+abs(squeeze( sum(AS(1:64,258,:) ‚1 )))) ...
0
votes
0
answers
33
views
How to add/merge multiple lines to each other lines?
Hello how to merge multiple lines to each line of other lines?
Example Lines1:
test1:
test2:
test3:
Example Lines2:
add01
add02
add03
Result Needed:
test1:add01
test1:add02
test1:add03
test2:add01
...
0
votes
0
answers
23
views
Change visualization of indentation in text editor for \t
Is it possible to change the way a \t indentation is displayed in a text editor? For example, in Atom, Notepad++ or Kate?
Most people use spaces as identation (e.g.: pressing TAB once produces 2 ...
1
vote
1
answer
1k
views
How to run a program like sublime text 4 Editor from Terminal\PowerShell on windows computer?
enter image description here
I tried "start subl" in the terminal, but it didn't work.
is someone can help me figure this out I would be grateful.
0
votes
2
answers
5k
views
how to make a batch file to edit specific parameters in another text file
i have a computer that streams on a close network, the stream is controlled by a text config file,
i would like to make a bat scripts that goes like:
enter your selected IP stream:
enter your port:
...
0
votes
1
answer
36
views
Excel to Text-editor Copying Time-saving method
I have an excel file with multiple columns and rows.
I wish to copy the contents of this excel file column-wise to a word file.
As the number of rows and columns are more than 100, I find it time-...
1
vote
1
answer
3k
views
Notepad++ Find lines that contain multiple strings in any combination?
For example, in the following list, I want to find all lines that contain onkey AND tur AND .pdf, in any combination (stings in any order, repetitions allowed, but each must be present at least once ...
0
votes
2
answers
562
views
How to remove a specific characters in an emails lines before the @?
How to remove any characters that aren't of the following from email lines before the @, through regular expressions?
I tried the following but it didn't work :(
Find what: ^([^a-z0-9;:]*)([a-z0-9]*)(?...
0
votes
1
answer
140
views
How to remove this codes/keys from lines?
Hello everyone i hope you all have a good day.
I want to know how to remove/delete the following codes/keys from lines.
Example List:
m-1407-m-00
64582e-2bd9-4b06-a9a1-78bfd42a7e6d
SimpleHere123
...
1
vote
1
answer
116
views
How to remove duplicates usernames before a splitter in lines?
I want to remove duplicated usernames in lines before the splitter : and keep only the first line of these usernames.
Lines Example:
zzzz:000000zl
zzzz:000000zl!
zzzz:000000zl1
zzzz:000000zl123
zzzz:...
0
votes
1
answer
415
views
Notepad++ how to extract only 1, 2, 3, 4 or 5 character capital lettered Words only in a document?
Here's my input and the desired output. What's the best way to achieve this?
Input:
Agilent Technologies Inc
A
NEW YORK STOCK EXCHANGE, INC.
Wide
Medium
1.47
Exemplary
ABB Ltd ADR
ABB
NEW YORK ...
0
votes
1
answer
771
views
Notepad++ How to copy the last x characters of every line to the end of the same line?
Example-
This:
Example/Images/1234567
Needs to become this:
Example/Images/12345671234567
1234567 is a random string of 7 alphanumeric characters on each line.
2
votes
2
answers
446
views
How do Windows terminals make Chinese and English characters 1:2 in width?
ipconfig output in CMD:
ipconfig output in PowerShell:
ipconfig output in Git Bash:
Notice the widths of the Chinese and English characters are always 1:2, no matter which font family is used, and ...
3
votes
2
answers
432
views
"Add" button in MSOffice Word Autocorrect Options is grayed out when trying to replace -- with a dash
I am talking about these settings:
Here it says The Add button does not become enabled until you type some text in the:- With: - box.
But that's not the case here; the button stays gray:
Am I ...
1
vote
2
answers
158
views
Notepad Regex Formatting
Lets say i have 100000 words in a list
( Example )
Apple
Orange
Grape
Bannana
.... etc
and i need them in this format
<command name="FindRep" enabled="True">
<find xml:...
2
votes
1
answer
973
views
Unable to get rid of the header and footer in Microsoft Word Mac
I am trying to remove the footer and header from Microsoft Word for Mac Version 16.53. When I click remove footer, nothing happens as in the images I have attached below. When I make the margin 0cm, ...
0
votes
1
answer
72
views
register a software as editor in linux
I managed to install VSCode on ubuntu 20.04 without root by downloading the zip file. However, when I tried to set it as default editor using
update-alternatives --set editor /opt/shared/VSCode-linux-...
1
vote
2
answers
705
views
Text editors; Unicode; the zero-width non-joiner character
I need to edit text files that contain unicode characters (in ReStructuredText for input to Sphinx). I'm pretty confident that most text editors will store and display most Unicode characters ...
1
vote
1
answer
59
views
How do i put separator after each 5 string in 20 random strings?
Hello guys i want to know how do i put separators such as "-" or ":" after each 5 string
in 20 random letters&numbers string of many lines using regex?
So basically count 5 ...
-1
votes
2
answers
67
views
How to make this Regex work?
i want to know how to make this Regex work ^....*:....* +[|].*$
And ^....*:....* +[=].*$ And ^....*:....* +[-].*$
It works without using ^ for first-line and $ for end of line
Basically, i want to do ...
1
vote
1
answer
544
views
Txt files have unnecessary spaces
I am downloading a log file from a security system as txt file, The log contain one or more lines where there is only single space between every 2 words, however, when i downloaded it and opened in ...
0
votes
1
answer
478
views
Is it possible to configure Outlook in a way that it opens or previews any unknown file in a text editor (like VS Code or Notepad)
At times, I get emails with files that have an unknown file extension (for example .x-y-z). Because this extension is unknown to Outlook (and virtually everyone on the planet), I can neither open the ...
0
votes
1
answer
126
views
Hello, how can I remove all marks, and receive only emails - with emdeitor
how can I remove all marks, and receive only emails - with emdeitor
exmple
exmple :
'justin@inmovement.org');
'shaunness@hotmail.com');
'migmelgom@hotmail.com');
I need result like this
justin@...
12
votes
4
answers
2k
views
Delete the word in which the text cursor is
When typing/editing text, how do I delete the word at which the text cursor currently is?
I mean a "system-wide" solution that works in most programs (and is maybe offered by the OS), rather ...
2
votes
0
answers
454
views
Emacs load file from command line
When I was on Ubuntu, I would open files with Emacs on the command line like this:
$ emacs -nw file.txt
or
$ emacs /etc/sysctl.conf
When I use Kali and type the above, no file is opened and I am ...
3
votes
2
answers
2k
views
Generating dummy text in Excel table
When I want to create a lorem ipsum-like text in MS Word I use
=rand()
and it works perfectly. I immediately get a passage of mumbo-jumbo text which I can use for my aims.
I wasn't able to find the ...
0
votes
1
answer
186
views
Using Samba to bring files from Ubuntu Mate to Macintosh but some text files are turned into executables
I'm not sure if this is the best Stack Exchange to use, but the question concerns Mac, Linux and Samba.
I have a new-to-me Apple Macintosh laptop (MacOS 10.15.7 (Catalina)) and I am have set up Samba (...
0
votes
1
answer
74
views
Atom on macOS: doesn't switch to app when opening file from shell
Using Atom (latest version) on macOS 10.15.6 Catalina. I often open files in Atom from the shell, like this:
atom SomeDocument.txt
When Atom is not running yet, Atom correctly appears with the ...
0
votes
0
answers
327
views
Visual studio and visual code and sublime can't display russian texts?
I have some source files which have russian comments in them
the problem is that the comments seems to be gibberish instead of proper russian, seems like text editors cant properly display it?
for ...
1
vote
1
answer
286
views
Remove duplicate and clean line break / blank space in Notepad++
This is my problem;
one two three four four five five six
seven eight
And I can't figure it out how to format it like this;
one two three four five six seven ...
-3
votes
1
answer
894
views
Does txt file not support hyperlink to jump to a specific page like pdf?
I want to make table of contents in txt file each line of which contains hyperlink to jump right to the desired contents for easier navigation, like pdf bookmark
Is this viable option for txt file in ...
0
votes
2
answers
1k
views
Multi Line "Find and Replace" across multiple documents Atom Editor
I'm trying to replace an entire nav menu section of a website which means there's multiple files that need to change and there isn't a multi-line "find and replace" inside atom editor which ...
0
votes
1
answer
198
views
Deleting range of lines from a text file in linux command-line?
I have a example.txt file with 280 lines of text. I only want to keep first 80 lines and delete rest lines ?
2
votes
1
answer
130
views
Notepad++ searches the last word I clicked on
When I press into the Notepad++ window (which means clicking on some word) and then press Ctrl+F, this defaults the search window to searching the word I clicked. I do not want this to happen, I would ...
0
votes
1
answer
214
views
Can't use cursor select in cmd or atom
I am running Windows 10. When I run any of the three programs:
cmd
windows terminal
PowerShell
atom
I am not able to cursor select text (i.e. highlight the text with the cursor).
I have tried ...
0
votes
0
answers
173
views
How to expand text selection till the start\end of a word?
On Windows, when you put a cursor anywhere inside a word, you could press Shift + Ctrl + Left Arrow or Shift + Ctrl + Right Arrow to expand selection till the start\end of the word respectively.
On ...
1
vote
1
answer
556
views
Make AutoHotKey's Edit This Script open scripts in Sublime Text 3
For years I've been using AutoHotKey to automate a few common tasks on my system using hotkeys. By default clicking Edit This Script on a running script (from the Windows system tray) opens Notepad. ...
0
votes
1
answer
520
views
How to replace Notepad with Sublime Text 3
Is there a way to completely replace Notepad with Sublime Text 3, i.e., the files that would normally open with Notepad should open with Sublime Text 3, not just with ..txt files.
1
vote
1
answer
601
views
Html links in dumped formatted output from links 2.21 browser
Links 2.21 is a fantastic text based browser which is able to output formatted text from URL's.
links -dump "https://example.com/page.html" > output.txt
As is, output.txt contains all ...