• Using OR in replace. How to adress given group?

    6
  • How do I insert a cross reference link to a section within my file?

    2
    0 Votes
    2 Posts
    1k Views
    PeterJonesP

    Notepad++ is a text editor. Cross references are a feature of either a Word Processor or of a markup/markdown language for formatting text – but Notepad++ cannot be aware of the effectively-infinite number of possible markup languages available for making links between two places in the same document, and as an editor, isn’t really responsible for such things even when you’re editing a common language like HTML or Markdown. For markup languages, it’s up to the rendering application to provide those links.

    If you mean, “how do I add an HTML link” or “Markdown link”, those aren’t questions for a Notepad+±specific forum

  • Monitoring

    5
    0 Votes
    5 Posts
    3k Views
    Suzanne BrownS

    I did take a look at tail -f via “man tail” in Linux. seems like it would have very good application in big data.

  • Deletion of any line based on above mentioned Two Lines

    4
    0 Votes
    4 Posts
    449 Views
    guy038G

    Hello, @nitish-singh, @gurikbal-singh, @peterjones and All,

    As some of the lines of the XML file are, likely, preceded by some leading blank characters, the solution, below, should be preferred :

    SEARCH ^\h*<isRetrievable>false</isRetrievable>\R\h*<idName></idName>\R\K\h*<readOnly>true</readOnly>\R?

    REPLACE Leave EMPTY

    Best regards,

    guy038

  • NPPexport doesn't export colors in source code anymore

    3
    0 Votes
    3 Posts
    522 Views
    Michael VincentM

    @RickX62

    See this thread. Read all the way through if you’re interested, or just see the last post, which provides the fix in the official repo.

  • ReadOnly flag

    3
    2 Votes
    3 Posts
    924 Views
    Nachitous .-N

    That’s good enough.
    Thank you :)

  • Regex] Rounding numbers python script does not run properly

    28
    0 Votes
    28 Posts
    3k Views
    Alan KilbornA

    @Ekopalypse

    No, I’m not trying to “parallel” the text in the real editor and the hidden. If I set as the hidden editor’s entire text the match from the search, doing the replace on that guarantees the replace will succeed and the entire text left in the hidden editor’s buffer will be the replacement preview text. Long to explain but it seems to work.

  • Opening sql file with Notepad++

    6
    0 Votes
    6 Posts
    18k Views
  • Copying Notepad++ to new drive

    4
    1 Votes
    4 Posts
    762 Views
    PeterJonesP

    @Steven-Haymes said:

    just putting them in the %ProgramFiles(x86)%\Notepad++\plugin folder?

    Technically, for the v7.6.3 and newer, in subdirectories of the plugin folder; but yes.

    there are no Registry settings, ini files and such

    Notepad++ doesn’t handle the settings or ini files for plugins – they handle those themselves. And typically, they use the %AppData%\Notepad++ structure, which you’ve already copied over.

  • Color change of highlight/line

    7
    0 Votes
    7 Posts
    16k Views
    Steven HaymesS

    @Dracken_Darck said:

    @Alan-Kilborn
    I did try to help the user in the other thread :o…
    but I had the feeling… your answer wasnt helpful :p And I invested my time to render 2 videos for him ;)
    link text
    Awesome, thank you very much Steven :) THATS the kind of Help I wanted^^, I just didnt knowed what entry is for this colors, I had the fear, that it isnt editable :(

    Thanks very much!

    You are welcome. I used to spend a lot of time working in RGB space for many years…

    S

  • How can I increase font size of Notepad++'s explorer?

    2
    0 Votes
    2 Posts
    480 Views
    Prahlad-Makwana4145P

    Hello , @이상철

    In notepad++ you can check out the “Reduce” option and that found in following step :-
    step 1 :- Goto the Settings.
    step 2 :- In Settings select Preferences.
    step 3 :- In Preferences select General
    step 4 :- In General select Tab Bar(Section) In “Reduce” are there…

    Thank you, I think that info is useful for you…

  • highlighting log files

    15
    0 Votes
    15 Posts
    8k Views
    EkopalypseE

    @Alan-Kilborn

    No, unfortunately not that easy.
    I’m using cffi to build the plugin and I haven’t figured out how to add boost::regex to it and make it compile.
    Currently I’m investigating how to make a python extension module using cython
    or cppyy or maybe nuitka (I’m unsure, it seems to be an exe builder).
    I’ve read that cython can handle boost templates very well so …

  • Sorting Login Information

    3
    0 Votes
    3 Posts
    554 Views
    Alan KilbornA

    @Nicholas-Wetzel

    Peter wrote (and copied) a lot. I can write a lot fewer:

    This is a job for programming, not Notepad++.

  • Find corrupt files

    2
    0 Votes
    2 Posts
    548 Views
    PeterJonesP

    @Vasile-Caraus said:

    I want to find in all my 4.000 text files those that are corrupt

    Assuming you knew what text should be in a good file, which you could guarantee was in a corrupt file, you could use the Notepad++ find-in-files feature to look for files that did have that – but that would find the non-corrupt files, not the corrupt ones.

    Assuming you knew that all your good files were pure ascii, and the corrupt ones all guaranteed to have something outside of the normal ASCII range (ie, in code points 128-255), you could find-all-files for something like [\x80-\xFF].

    If your “good” files are in a full 8-byte encoding (a 1-page European or Asian encoding), or if your good files use a unicode encoding like UTF-8, it would be very difficult to identify “corrupt” vs “good”, because multi-byte encodings will use most or all 8-bit bytes as valid somewhere in the sequence.

    If you need more help than that, you’ll have to provide more information, like defining what you mean by corrupt, and whether there are certain similarities between all good files or between all corrupt files.

  • Text cursor very slim and not in resize !

    4
    0 Votes
    4 Posts
    372 Views
    selevoS

    @Ekopalypse very thank’s
    it’s now good!
    https://vk.com/doc-73481857_512987162

  • Regex partial replacement syntax? Grouping not working

    9
    2 Votes
    9 Posts
    820 Views
    Alan KilbornA

    @Pam-Rathmell

    Moving in a backward direction is tricky for regular expression engines. It mostly works okay, but it does strange things often enough that even Notepad++ at one time disabled it (searching ‘up’ when the Search mode was Regular expression). That disabling has mostly gone away now it seems.

    I guess you have stumbled upon one of the odd situations.

    I wanted to see what Pythonscript’s regular expression replacement function would do with your situation, and in trying to get it working I started with a simpler search, and I discovered that attempting to search backwards, even very simply, gives no matches at all. :(

  • Regex find single N occurrence of ',' to replace

    5
    0 Votes
    5 Posts
    1k Views
    Alan KilbornA

    Okay, okay, everyone has called attention to my regex…now @guy038 will come along and do the same solution in about half as many characters. :(

    BTW, I made a fat-finger mistake in the regex, but the beauty of it is that it still works. [The final character should be , (comma) instead of . (period).]

  • Notepad++ Backup Folder Empty?

    11
    0 Votes
    11 Posts
    2k Views
    PeterJonesP

    Don mentioned that location in his documentation announcement, but made it clear that github.io rendering is just a “temporary” location and presentation for the documentation – his eventual goal is to send it someplace else, where the “URL will be different and the visual design will be 100 times better”… but until that time, I’m going to link to the github.io, because I think it’s more user-friendly for non-techies than just the github.com display.

  • Am i using the updated C++?

    5
    0 Votes
    5 Posts
    620 Views
    Steven HaymesS

    PS: If you are new to programming, C/C++ is not the best language to learn how to program. Once you get into pointers and addresses which are central to C/C++, it is going to get real weird real fast. I learned C back in the 1980’s from some AT&T engineers. Today, if you want to learn how to program, Python is an excellent starting language.

  • Some XML files won't open decently in Notepad ++

    4
    0 Votes
    4 Posts
    3k Views
    PeterJonesP

    @supasillyass said:

    I don’t think it can be done automatically upon opening a file (anyone?).

    Natively, no. But with one of the scripting plugins (like PythonScript), you could create a callback on the file-open event, and have it run the appropriate XML Tools command when it sees the right extension or right file type.