Questions tagged [text-editing]

Text editing is the process of selecting and preparing text [files].

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Page Up action triggered while typing text in MS Word 2007 in Web Layout View?

I'm using MS Word 2007. It happens when I'm typing close to the bottom of the Web Layout View and suddenly it jumps to the previous page, not properly adjusting even if I keep typing. This is annoying ...
0
votes
0answers
11 views

How to use tab for text auto complete system wide?

Mac OS suggests completions of some text in some instances. A particular example would be when writing an email. The default way to choose the suggested text is to use the downward arrow to highlight ...
0
votes
1answer
31 views

Excel: Alt + Enter for multiple cells

I would like to change the first table into a wrap texted version of numbers & (xxx), making two lines in each cell. What is the best option for this, as I have >100 cells so it's not feasible to ...
0
votes
0answers
12 views

Pasting from Microsoft Word while preserving paragraphs

I have a problem with a lot of text written in Microsoft Word, which I need to paste into some web-page fields or even Notepad, and when I do, there is no space between paragraphs in the pasted text ...
0
votes
1answer
12 views

How do I indent with multiple cursors to the same horizontal position in VSCode

I'm looking for an easy way to do this in VS Code. (I'm writing an interpreter so there's lots of boilerplate!) One strategy I found is to add too much space then ESC and multi-line down again, ...
0
votes
2answers
36 views

Is using number+letter a safe separator for text? [closed]

Considering you have to delimit your text without using special characters, can using [0-9][a-z] (0e, 0f, etc.) be considered safe? In other words, in computer languages and in general text, is it ...
1
vote
1answer
707 views

How can I get “Ctrl+Shift+Right/Left” to select/mark a word in Eclipse?

I'm using Eclipse 2019-12 (Java) on Windows 10 and I cannot get Ctrl+Shift+→ to select/mark a word as it do in every other program I use. The same is true for Ctrl+Shift+←... The General -> Keys ...
0
votes
1answer
35 views

Use sed to replace part of a string leaving other part represented by regex unchanged

Consider you want to replace part of a sentence and leave other part represented by the regular expression (regex) unchanged. For instance, here's a text file text1.txt A Egg b Egg C Egg D Egg E ...
1
vote
2answers
46 views

How to remove version number from a list of programs in Notepad++

I want to remove/delete version number from my programs list in notepad++. How can I do it? Example: program 1 5.6.3 program 2 3.2.2 program 3 14.2.9 I want it like this: Program 1 Program 2 ...
1
vote
1answer
106 views

How to increment all numbers in the text that have space at least from one side?

I want to increment numbers which are written like this: add(1 ) or add( 1), but not like this add(1). I have one code that works in Notepad++ with Python Script plugin but it increments all numbers: ...
0
votes
0answers
77 views

Use PowerShell to insert *filename to .MD5 checksum file, without appending the text on a new line

I currently have hundreds of .md5 checksum files in a single directory, each of which contains only a hash. Unfortunately, I am verifying these checksums using a tool called the HashCheck Shell ...
0
votes
2answers
112 views

How do I concatenate a line to the end of the next line using Find and Replace?

I have a file of the format: Chapter 1 12:45 First Video 39:21 Second Video The video lengths are preceded by tab characters. I want to convert this into: Chapter 1 First Video 12:45 ...
0
votes
2answers
150 views

How to align two sections in one page to the top and to the bottom with complex layout?

I want to replicate this PDF page into a word document But I cannot make the bottom paragraph to become as I want to it to be seen. I've already seen and tried this question, but using that method, ...
1
vote
1answer
76 views

How do I delete BOTH lines of a duplicate pair in a text file in bash?

I want to delete both lines of a duplicate pair in a text file. There is no way to do this using sort -u file or awk '!a[$0]++' file which both delete duplicated lines. Somehow I would have to ...
2
votes
1answer
264 views

VSCode multiline select - how to delete without removing blank lines?

VSCode has the ability to start a multiline selection via: shift + alt + mouse drag or ctrl + shift + alt + arrow key The problem is that when I'm working across lines of code with empty lines ...
0
votes
1answer
20 views

Batch Text Snippet Insertion

I have the source code (essentially a bunch of text files) for some software created by a vendor. I have some customizations (essentially some text snippets inserted into the text files) that have ...
0
votes
0answers
32 views

Import text or Excel file with title and text in separate columns into PowerPoint (one slide per row)

It is easy enough to open a text file in PowerPoint such that the data on each line is imported as title in a separate slide. This is great. However, can someone please advise how to import a body ...
4
votes
1answer
95 views

How to edit text like this under VSCode and Sublime Text3? What is this function called?

This is my GIF recorded in Pycharm: How can I click anywhere to enter text like this?
0
votes
1answer
46 views

Word “Find” search to find sentences with too many words

I would like to find sentences with more than 25 words, as in, more than 25 words between two periods or any ending point of the sort (.?!) while ignoring commas. Is there any capability that can do ...
0
votes
0answers
122 views

split a two-column pdf into two one-colunm pdfs

I have a true pdf, +1000 pages long, written in two columns because when copy and pasting text, before reaching the bottom of one column, the cursor jumps indiscriminately in a haphazard fashion to ...
1
vote
1answer
41 views

Copying specific field of a website in a word file with a single operation

I'd like to copy the field title of each occurences here in a word file with a single operation. Example of titles: Bilocale piazza del Popolo, Piazza del Popolo, Roma Trilocale via dei Banchi Vecchi,...
1
vote
1answer
69 views

How to replace bullets with footnotes (with superscript numbers) in Word

I have a Microsoft Word document that has slightly over 600 numbered / bulleted lines (i.e., paragraphs).  Something like this: Once upon a midnight dreary, while I pondered, weak and weary,¶ ...
0
votes
0answers
14 views

Add inline annotations to PDF on Linu

I see that some PDF books from archive.org are images covering text streams (generated from OCR apparently) so that you can copy and paste the text while viewing the scan. Is there a way on Linux ...
0
votes
2answers
51 views

Need help sed, awk or other tool that can manupulate text files

I have a text file Test.m3u that contains file names: FileName1.mp4 FileName2.mp4 FileName3.mp4 I need to make a playlist in the following form: #EXTM3U #EXTINF:FileName1 PATH/FileName1.mp4 #...
2
votes
1answer
665 views

What Regular Expression Can I Use To Search And Replace The Following in MS Word?

I have lots of text in Microsoft Word similar to the following: 1 The quick brown 2 fox jumps over 3 the lazy dog. I need some help to find a regular expression that finds the numbers and inserts ...
0
votes
1answer
14 views

Filter a set of data to a specific number of characters before and after a searchword // JSON,CSV

I have the problem that I have to deal with a set of data given in a JSON/CSV file. I am having four items per entry and one of them has ±5000 characters. I need only a certain range of information ...
0
votes
2answers
48 views

Add scientific names to text in Microsoft Word

I regularly need to add scientific names after bird makes in reports. There are three bird names sprinkled around the text below: Tennessee Warbler (Leiothlypis peregrina), Green Warbler (Phylloscopus ...
0
votes
1answer
229 views

awk and sed append end of line each related line

I want to do some line manipulation but am stuck in the line by line processing. My file looks like this: 10.10.10.10 ABtest 10.10.10.11 ABprod I want to append a string at each line according to ...
0
votes
0answers
167 views

MS Word – How to add HTML tags around bolded text?

Last thread that I could find related to this was: Replace bold text with <b>...</b> in MS Word without macros. Unfortunately, the most recent comment is the issue I'm coming up with, ...
1
vote
1answer
34 views

Notepad++ switching between documents mid-editing

I have an issue with Notepad++ that makes using it a total sore. Essentially, Notepad++ will just switch between documents WHILE I am entering text. So before I know it, I am continuing a sentence ...
1
vote
0answers
93 views

Line wrap txt file in Intellij

I'm copying some text from notepad over to intellij. Is there any way to get it to wrap when the lines exceed a certain length? Text in notepad When I copy it in intellij the line just doesn't wrap: ...
1
vote
1answer
300 views

How to replace newline with space except when it's the only character in a row

I have some text like: from her patient scrutiny and judicious criticism. J.K. WASHINGTON, D.C. April, 1919. And want to leave it like: from her patient scrutiny and ...
0
votes
2answers
491 views

Add '#' in XML file using Batch script

I am very new to batch scripting.  Could you please let me know how I can add "#" in an XML file – second line first letter – and save it in Windows. As per the above screenshot, I need to add one ...
4
votes
2answers
636 views

Powershell and regex: List of Notepad++ “backup on save” files. Edit name, sort by lastwritetime

# Microsoft Windows [Version 10.0.17134.648] # powershell 5.1.17134.48 # Calculate time to complete task using Notepad++ "backup on save" feature. Create a copy and paste table of files sorted by ...
2
votes
2answers
360 views

MS Word: Create cross-reference linking to the top end of a figure, instead of figure labeling text below the image

I've a problem with Microsoft Office Professional Plus 2016: After I have created a caption text below a figure, and then inside my text set a link to this image, the link will lead me to the labeling ...
0
votes
2answers
485 views

How to remove lines that not containing any uppercase letters or lowercase letters or numbers notepad++

I want to keep only lines that contain at least 1 uppercase letter at least 1 lowercase letter at least 1 number Example: :soTest.@1rTr :$TEST%.TER12TB& :-G5O6D$G%R@RS :sbg^45re$55 :@65RR$#...
0
votes
1answer
395 views

How to delete multi-line comment in Notepad++

I have an XML file saved in Notepad++ and I want to delete multi-line comments (from <!-- through -->).  How can I do this globally (without going line by line)?  For example, <Text> <...
0
votes
1answer
104 views

Match first and last character(s) of any word

I searched a lot but didn't find any help. I want to use a regex for matching first (one or more) and last characters (one or more) of any word, not only find but it has to match with first and last ...
1
vote
0answers
67 views

Replace lines that have no digits with some constant word [closed]

I have a file with about 10000 lines like the examples shown below.  I need to replace the lines that do not contain any digits with some word; e.g., input.  How I can do this please? Example: The ...
1
vote
2answers
14k views

Can Notepad++ automatically split a text file into multiple files?

I have a text file that contains a massive amount of words that I would like to make into a number of different text files. Specifically I need to take every 100 words in this file and make a ...
1
vote
1answer
67 views

How to activate the splitter in Notepad++?

The Notepad++ v7.6.2 release notes reveal a new feature: Add new feature: double click splitter resets panes to equal size. How does one enable the splitter to begin with?
1
vote
4answers
117 views

awk, sed, or other text processing suggestions, please

I have the following repeating pattern of text that needs to be reformatted. Normally this should be easy, even with a standard text editor, but in this case I need to expand the information in the ...
0
votes
1answer
28 views

How can i choose an exact character in a txt file?

I use Search and Replace software, I need to erase a "-" character in many txt files. The "-" always appears between two numbers but the numbers are always different (f.e: 1234567-8 or 34569-0). there ...
0
votes
1answer
43 views

Move characters between two strings to end of line

I need to move (in a text file) all the characters between ">" up to and including "_" to the end of that line. From this: [[[>AVA_M427014_ MAKNISRTAQMRVAIEEL >AVB_L427D15_ ...
0
votes
1answer
66 views

Find out which ending is the most common in a language [closed]

I would like to work out what the most useful TLDs are for domain hacking (i.e., creating short FQDNs that spell words by combining with a TLD, e.g., ho.me) in English. Here is a list of public ...
1
vote
1answer
2k views

How to delete same lines in Notepad++?

I want to find out if there are any extra files between a long list of files that I generated. Because I`m weak at explaining stuff with words, I'd rather illustrate. This is an illustration of the ...
1
vote
1answer
169 views

Notapad++ column editing: how to deselect a clicked location?

1- There is an option in NP++ to hold Ctrl while clicking in multiple locations in the text file, so the cursor stays there for multi-editing. I want to know how to de-select a clicked location? I ...
0
votes
1answer
808 views

How to remove invisible characters from text copied from PDF

If I copy some text from a PDF, the text appears correct, however the text editor considers the text to be one long sequence. How the line appears in notepad: The only way I have been able to ...
1
vote
1answer
72 views

How can I sort the output of awk, disregarding a certain character?

I am trying to print out the Chinese font I have in my laptop, and sort the output with respect to their name that could be referred to in LaTeX. This could be done with the following command: fc-...
1
vote
0answers
95 views

Please make my terminal behave like a word processor because I'm old and jaded

How do I make the terminal input behave like a multi-line word processor that lets me select text, delete some text (no hex codes), move around, then only really send it over the wire when I press ...

1
2 3 4 5
9