• Find and Replace Window

    4
    0 Votes
    4 Posts
    258 Views
    Alan KilbornA

    @Marc-Surprenant said in Find and Replace Window:

    It helps but i would still like it bigger

    There is a feature request already in place for this. You can see it HERE and if you want to add your thoughts there, developers will see that multiple people want this.

  • CSS "in block" on Notepad

    3
    0 Votes
    3 Posts
    240 Views
    Alan KilbornA

    @Livieishere

    I presume you didn’t create this file, but rather were given it or obtained it from somewhere.

    I don’t know much about css, but I’d presume that it isn’t required to have line-ending characters.

  • Macro automatic execution at NP++ opening/startup

    2
    0 Votes
    2 Posts
    187 Views
    EkopalypseE

    @Christophe-MERCEY

    two alternatives are
    a) using NppExec and its option to Execute this script when Notepad++ starts
    or
    b) a scripting language plugin like PythonScript

  • Replace variable chain of text then adding pattern before and after

    6
    0 Votes
    6 Posts
    557 Views
    Alan KilbornA

    @VenomNihil said in Replace variable chain of text then adding pattern before and after:

    the ^ doesn’t work with the spacing but I supposed is because I posted a screenshot. But just using " item " instead does the job.

    Yes, it is tough to work from a screenshot; that’s why we have suggestions to not post them for this type of problem, or to post both a screenshot and the literal text. Apparently we failed to noticed this part of your original posting:

    cc43d5be-7554-4e41-b60e-93ed8aed5213-image.png

  • Function Completion: cycle through choices

    16
    2 Votes
    16 Posts
    913 Views
    EkopalypseE

    @Michael-Vincent - cool, a nice one, thx.

  • Silent uninstall of .exe or .msi file needed

    3
    0 Votes
    3 Posts
    10k Views
    PeterJonesP

    @Harrison-Costas ,

    I said,

    quite a few hours before I could check my home machine

    I just checked. According to the registry Key section I mentioned, the UninstallString is "C:\Program Files\Notepad++\uninstall.exe" and QuietUninstallString is "C:\Program Files\Notepad++\uninstall.exe" /S

  • What are these extra panes???

    2
    0 Votes
    2 Posts
    251 Views
    Alan KilbornA

    See FAQ entry HERE.

  • Customized settings Migration

    2
    0 Votes
    2 Posts
    206 Views
    Terry RT

    @Swati-Rohatgi
    There is no formal method guaranteed to work everytime.

    However you may want to search the forum for helpful hints that users have identified to make the process as painless as possible. Try this post as a starting point.

    Terry

  • Delete the line number 15 in multiple files

    14
    0 Votes
    14 Posts
    3k Views
    PeterJonesP

    @ADEYINKA-ADEWOYIN ,

    You do realize that @Alan-Kilborn already answered that question for you: the regex he showed worked for him. If it doesn’t work for you, you will have to provide more details , because that regex will work to delete the first line of the files. He even asked you to provide more details to explain how the given regex doesn’t work for you.

    You really need to read this FAQ and see the referenes below.

    That said, can be simplified: a large part of the original expression was only needed because the original post wanted to delete line#15, not line#1. To delete the first line is simpler: FIND = (?-s)\A(^.*$\R?), REPLACE is empty, and SEARCH MODE must be REGULAR EXPRESSION.

    ----

    Useful References Please Read Before Posting Template for Search/Replace Questions FAQ: Where to find regular expressions (regex) documentation Notepad++ Online User Manual: Searching/Regex
  • Insert new line only if the line has less than X characters

    3
    0 Votes
    3 Posts
    207 Views
    Selin09010938S

    @Alan-Kilborn

    Thank you so much. It worked. I was able to beautify the txt like I wanted after applying your solution with extended expressions.

  • How to exclude some folders from find in files

    4
    0 Votes
    4 Posts
    3k Views
    SinghRajenMS

    I was also looking for this. Thanks @PeterJones !

  • Why is UDL coloring keywords that are in words?

    2
    0 Votes
    2 Posts
    165 Views
    PeterJonesP

    @Leahnn-Rey ,

    Use “Folding in code 2 style (separators needed)” [FiC2] instead of “Folding in code 1 style” [FiC1].

    The FiC2 requires spaces or newlines before and after the open, middle, and close keywords, whereas the FiC1 does not.

    Generally, FiC1 should be used for things like { and } as block-markers to fold on, whereas FiC2 is useful for words.

  • search in C-files and give me the name of the C-function

    6
    0 Votes
    6 Posts
    675 Views
    Klaus KonzeptK

    Hi Vitalii,

    cool things are out there, thanks you for your hints.
    I even didn’t know ctags.

    Klaus

  • java function list is not working in new versoin

    Locked
    2
    0 Votes
    2 Posts
    202 Views
    PeterJonesP

    @Manpreet-Singh ,

    Discussion will continue in another version of your topic

  • FunctionList with UDL

    3
    0 Votes
    3 Posts
    492 Views
    Akil Turner-RichardsA

    @PeterJones Thanks so much! This is exactly what I wanted. Appreciate the swift response.

  • Exclude word from search filter

    2
    0 Votes
    2 Posts
    2k Views
    PeterJonesP

    @kendall-loftin ,

    You can use negative lookbehinds to guarantee that “the text before house is not future and is not tech and is not bass”:

    FIND = (?:(?<!future )(?<!tech )(?<!bass ))house Search Mode = Regular expression

    You can combine that with your whole line matcher, which used to be something like (?-s)^.*house.*$ to become:

    FIND = (?-s)^.*(?:(?<!future )(?<!tech )(?<!bass ))house.*$

    … that will then match the whole line, not just the individual “house” on that line

    ----

    Useful References Please Read Before Posting Template for Search/Replace Questions FAQ: Where to find regular expressions (regex) documentation Notepad++ Online User Manual: Searching/Regex
  • Combining Lines

    3
    0 Votes
    3 Posts
    336 Views
    Alan KilbornA

    @Katherine-Curran

    Find: (?-s)^(.+?):(.+)\R\1:(.+)
    Replace: ${1}:${2}${3}
    Wrap around: ticked
    Search mode: Regular expression
    Press Replace All repeatedly until the status bar of the Replace window indicates 0 replacements made

    Example:

    John Doe: Hello. John Doe: How are you today? John Doe: I hope that you are well. Bob Doe: Hello. Bob Doe: How are you today? Bob Doe: I hope that you are well. John Doe: Hello. John Doe: How are you today? John Doe: I hope that you are well.

    After the first Replace All press:

    John Doe: Hello. How are you today? John Doe: I hope that you are well. Bob Doe: Hello. How are you today? Bob Doe: I hope that you are well. John Doe: Hello. How are you today? John Doe: I hope that you are well.

    Status bar indicates 3 replacements made.

    After the second Replace All press:

    John Doe: Hello. How are you today? I hope that you are well. Bob Doe: Hello. How are you today? I hope that you are well. John Doe: Hello. How are you today? I hope that you are well.

    Status bar indicates 3 replacements made.

    After the third Replace All press:

    John Doe: Hello. How are you today? I hope that you are well. Bob Doe: Hello. How are you today? I hope that you are well. John Doe: Hello. How are you today? I hope that you are well.

    Status bar indicates 0 replacements made. (Data transform was actually complete with the previous press, but that can only be determined via visual inspection).

  • imported 3 UDL for AHK removed 2 still 3 entries

    2
    0 Votes
    2 Posts
    212 Views
    PeterJonesP

    @Peer-Gynt ,

    Did you exit Notepad++ and re-start it after removing the old files?

    If that doesn’t work, go into the User Defined Language dialog, select each of the “AutoHotkey” languages and click Remove. Restart notepad++ and make sure they are all gone. Then re-save the dark-mode-AHK into the userDefineLangs folder, exit Notepad++ and restart. There should only be one now.

    (If you put the XML into the userDefineLangs folder, you do not ever have to use the Import button in the User Defined Language dialog)

  • Where to find plugin files

    4
    0 Votes
    4 Posts
    331 Views
    Alan KilbornA

    @Ekopalypse said in Where to find plugin files:

    See here for the … three json files

    Also note that info is available directly within Notepad++:

    Open Plugins (menu) > Plugins Admin… On the Available tab (or the others), click on any plugin of interest It will give you an idea of where to obtain, here’s an example:

    8bf71639-0a06-439c-b250-70246f76ff5f-image.png

  • stylesheet

    7
    0 Votes
    7 Posts
    604 Views
    PeterJonesP

    @G-H2LLS said in stylesheet:

    thank you for taking the time to answer me, I’m French and I don’t speak English yet

    The standard language of this forum is English. So if you post in your native language, we have to translate your post into our own language, using our browser’s “Translate this page” tool or by pasting the contents of a post into an external translator like translate.google.com or deepl.com. So if you are having trouble understanding our English replies, you can similarly use your browser’s translate function or an external translation site to translate the answer back to French so you can understand it.

    La langue standard de ce forum est l’anglais. Donc, si vous postez dans votre langue maternelle, nous devons traduire votre message dans notre propre langue, en utilisant l’outil “Traduire cette page” de notre navigateur ou en collant le contenu d’un message dans un traducteur externe comme translate.google.com ou deepl.com. Ainsi, si vous avez du mal à comprendre nos réponses en anglais, vous pouvez de la même manière utiliser la fonction de traduction de votre navigateur ou un site de traduction externe pour retraduire la réponse en français afin de la comprendre.

    Traduit avec www.DeepL.com/Translator (version gratuite)