Questions tagged [text-editors]

A text editor is a program that allows for editing of plain text files.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 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 ...
user avatar
0 votes
0 answers
16 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 ...
user avatar
  • 269
1 vote
1 answer
65 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.
user avatar
0 votes
0 answers
18 views

commands opened editor window closed but still waiting process exit

I'm using vscode on win10. When I run git merge with conflicts or kubectl edit or anything in windows powershell/terminal/gitbash that internally invokes the editor, the default editor notepad is ...
user avatar
  • 101
0 votes
2 answers
332 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: ...
user avatar
  • 1
0 votes
1 answer
27 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-...
user avatar
  • 207
1 vote
1 answer
201 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 ...
user avatar
0 votes
0 answers
20 views

Shift+Ctrl+Right arrow is selecting period mark in Firefox

I am using Firefox to write a blog. I can put the cursor just to the left of a word and press Ctrl + Shift + Right arrow to select that word quickly. But if that word is the last one in the sentence, ...
user avatar
0 votes
2 answers
82 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]*)(?...
user avatar
0 votes
1 answer
37 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 ...
user avatar
1 vote
1 answer
27 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:...
user avatar
0 votes
1 answer
94 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 ...
user avatar
0 votes
1 answer
184 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.
user avatar
  • 237
1 vote
2 answers
100 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 ...
user avatar
3 votes
2 answers
281 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 ...
user avatar
  • 682
1 vote
2 answers
38 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:...
user avatar
2 votes
1 answer
67 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, ...
user avatar
  • 21
0 votes
1 answer
31 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-...
user avatar
1 vote
1 answer
304 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 ...
user avatar
1 vote
1 answer
36 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 ...
user avatar
-1 votes
2 answers
63 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 ...
user avatar
1 vote
1 answer
73 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 ...
user avatar
  • 11
0 votes
1 answer
81 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 ...
user avatar
0 votes
1 answer
49 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@...
user avatar
  • 1
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 ...
user avatar
  • 894
2 votes
0 answers
174 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 ...
user avatar
  • 21
2 votes
2 answers
666 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 ...
user avatar
  • 1,231
0 votes
1 answer
99 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 (...
user avatar
0 votes
1 answer
48 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 ...
user avatar
0 votes
0 answers
97 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 ...
user avatar
1 vote
1 answer
70 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 ...
user avatar
  • 13
-3 votes
1 answer
158 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 ...
user avatar
  • 15
0 votes
2 answers
679 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 ...
user avatar
  • 33
0 votes
1 answer
73 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 ?
user avatar
  • 340
2 votes
1 answer
87 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 ...
user avatar
  • 39
0 votes
1 answer
106 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 ...
user avatar
  • 430
0 votes
0 answers
49 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 ...
user avatar
0 votes
1 answer
336 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. ...
user avatar
  • 10.5k
0 votes
1 answer
278 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.
user avatar
1 vote
1 answer
524 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 ...
user avatar
3 votes
1 answer
333 views

Remove spaces from first column of delimited file

I have a very large colon-delimited file with two columns: dhsj fdksjdk:dndkdlkfkd shfdosod dkjsosjd:dkj dosjeod dhswisoaidodisbw: dhsoi wjdos fjfdododjfideefkjso sn:fhfdkd dkdjdf If the first ...
user avatar
  • 10.5k
1 vote
1 answer
1k views

Removing specific words from text file

I have a text file tat contains email:name | address = date time I want remove everything that comes after name from each line and leave me just email:name is there a way to do that?
user avatar
  • 13
1 vote
1 answer
192 views

Particular unicode characters are not shown in some fixed width fonts for some editors in Windows 10

I am grateful to the user Berend for turning my attention in the right direction: originally the question blamed fonts, which turned out not to be the case. While there are lots of beautiful fonts ...
user avatar
2 votes
1 answer
299 views

How to configure settings to be overridden for multiple languages, in VSCode?

VSCode allows users to set language specific editor settings, by doing something like this: "[scss]": { "editor.formatOnSave": true } But this is not enough, because: what if I ...
user avatar
2 votes
2 answers
40 views

Addings tags to xml and change their values incrementally

I have an xml-data, which contains a lot of different tags. The structure is like this: <category> <lesson> <textfilecard orderID="0"> <Question></...
user avatar
  • 25
1 vote
2 answers
92 views

How to move to certain symbol in the next line?

Let's take a couple of lines: asdkgjas;fwewgdsgflk : wthtklsjflasd djfghkdjfgndfgdfg : wreteqw'[erlw How could I move right away to the next line so that the cursor would appear after : (regardless ...
user avatar
  • 179
14 votes
10 answers
4k views

Are there shortcuts for text editors/processors to delete the rest of a line?

The cursor may stay in the middle of the line and there may be necessity to delete whatever stands from the right side of the cursor, but only till the end of current line. I don't know how this ...
user avatar
  • 179
0 votes
1 answer
3k views

Lightest way to add timestamps in Notepad++?

What is the lightest way to add a timestamp string within a Notepad++ text document? The method I know of is to use a plugin that gives Notepad++ Python functionality, and then write a small Python ...
user avatar
1 vote
2 answers
74 views

How to scroll to top in ISPF Edit or Browse?

Is there a command to scroll to the top of of the file in ISPF? Also, scroll to bottom? Similar to lower case g in vi. Also, is there anything like scroll to top of function or scroll to opening ...
user avatar
  • 113
0 votes
2 answers
589 views

How to find-and-replace text with regular expression

I have multiple lines like this(with multiple random numbers): value:"200 text.text.text.text value:"235437 text.text.11.text value:"12835 text.text.17.text value:"347783 text.text....
user avatar

1
2 3 4 5
15