notepad++

Remove line breaks only if surrounded by quotes

霸气de小男生 提交于 2019-12-22 09:27:13
问题 I have a large amount of data in a text file that has been giving me some issues. A lot of the records in the file have line breaks in between the record. For example this is what my data looks like currently: 30670169, Corvette, EL-P078675, EL-P078675, Chevrolet Corvette C6 Color Matching Millenium Yellow License Plate Frame, "Made from high-quality billet aluminum, this stylish license frame is custom painted to precisely match the color of your C6 Corvette. It features an engraved OEM

Notepad++ color highlight with their value

夙愿已清 提交于 2019-12-22 09:18:15
问题 Last night, last usage of Notepad++, color codes backgrounds were highlighted with their value like below. But now, background colors are not shown like this. I did not find settings. Please could you help me, how can I set the settings like first picture? 回答1: It's Notepad # ("sharp"). For some reason it can't be "validated" and is disabled after the update. You can go to the link below or download it directly from the Plugin Manager withing N++. Link to Notepad# Also, Try "Quick Color

Find and KEEP all DUPLICATE lines (instead of unique lines) in a text file

此生再无相见时 提交于 2019-12-22 08:15:25
问题 I am aiming to identify and keep DUPLICATE, TRIPLICATE, etc. lines, i.e., all lines that occur more than once in Notepad++? In other words, how can I delete all unique lines only? For example, here are seven (7) separate lists and the desired true duplicate lines of each lists (shown as 7 columns, regard each column as an individual list or file!). (The lists here are shown side by side only to save space , in real life, each of the 7 lists occurs alone and independently from the others and

Eclipse plugin for Notepad++

三世轮回 提交于 2019-12-22 05:14:37
问题 I have tried associating Notepad++ as the default editor for some of my file types inside eclipse. However, they open in an external window. I would like them to open inside my IDE. Is there any Eclipse plugin for integrating Notepad++ inside Eclipse as an internal editor? 回答1: The closest existing project is Jintilla, which provides an integration path for Eclipse to use Scintilla. Install it by placing the JAR file in the plugins directory, then restart Eclipse. 来源: https://stackoverflow

Eclipse plugin for Notepad++

拟墨画扇 提交于 2019-12-22 05:14:37
问题 I have tried associating Notepad++ as the default editor for some of my file types inside eclipse. However, they open in an external window. I would like them to open inside my IDE. Is there any Eclipse plugin for integrating Notepad++ inside Eclipse as an internal editor? 回答1: The closest existing project is Jintilla, which provides an integration path for Eclipse to use Scintilla. Install it by placing the JAR file in the plugins directory, then restart Eclipse. 来源: https://stackoverflow

regular expression to add characters before and after numbers

我怕爱的太早我们不能终老 提交于 2019-12-22 03:48:25
问题 I have a list of numbers between square brackets, and I need to add words before and after the exact numbers (i.e. keep the same numbers). I use notepad++ to replace, but if you have a solution with other program please advise. Example: text [121] othertext moretext [16] othertextmore andtext [5940] othertextplus outcome: text xxxxxxxxx [121] xxxxxxxxx othertext moretext xxxxxxxxx [16] xxxxxxxxx othertextmore andtext xxxxxxxxx [5940] xxxxxxxxx othertextplus The numbers are of course \d+ but I

Disabling drag-and-drop of text in Notepad++

蹲街弑〆低调 提交于 2019-12-22 03:47:34
问题 I have a touch screen, and this makes it inconvenient for me to have drag-and-drop enabled in Notepad++. I never used drag-and-drop anyway. However, I cannot find how to disable drag-and-drop for text in Notepad++. Is it possible to disable this? Note that I am talking about text drag-and-drop. The only option I could find in the application's settings was related to the drag-and-drop of the tab bar. 回答1: TL;DR: Build Notepad++ from here Note: This question was asked here and here. There is

How can I do a non greedy regex query in notepad++?

独自空忆成欢 提交于 2019-12-22 03:43:16
问题 I am writing a paper with latex and accidentally wrote \cite[] instead of \cite{} . I could just go over the whole document by hand but I want to know how to do this in notepad++ using regexes. I initially tried \\cite\[(.*)\] and replace with \cite{\1} which works for simple cases such as \cite[hello world] blah blah However if there are two or more citations in a paragraph it matches all of them. So for example \cite[aaa]\cite[bbb] something here \cite[ccc] matches the whole line How can I

find search item plus 4 lines before and after

China☆狼群 提交于 2019-12-21 22:29:16
问题 I am using notepad++ and would like to find the context in which a particular string occurs. So the search string is 0wh.*0subj and I would like to find this search item plus 4 lines immediately before and after it. eg: xxx means whatever is on a new line. the search result should be: xxx xxx xxx xxx 0wh.*0subj xxx xxx xxx xxx I have tried using \n\r but its not working. Any assistance afforded would be greatly appreciated. Regards 回答1: This will work in Notepad++ (tested): (?m)(^[^\r\n]*\R+)

Notepad++ plugin - find and highlight text

家住魔仙堡 提交于 2019-12-21 20:17:10
问题 How do I set and remove color for the find text in a scintilla document by writing plugins for notepad++ in c# . I tried the following code: Win32.SendMessage(PluginBase.GetCurrentScintilla(), SciMsg.SCI_STYLESETBACK, 0, 0xFFFF00); Help me to highlight a particular text. 回答1: If you want to change the selection background color, then try: Win32.SendMessage(PluginBase.GetCurrentScintilla(), SciMsg.SCI_SETSELBACK, 1, 0xFFFF00); If you want to change the selection foreground color, then try: