• 1 Votes
    4 Posts
    444 Views
    mccrispyM

    @PeterJones Thanks for the repro work! I had a strong suspicion that the location of <LanguageAutoComplete> is hardwired (why would it not have been included in <UserLocations> if there wasn’t some reason - presumably technical - for it?)

    Frankly, I consider it a Security issue to have user configurable files in %ProgramFiles(x86)% (I’m not alone in this regard!). Now on my machine Controlled Folder Access is enabled and I’m not sure how that interacts with UAC folder virtualisation (VirtualStore) for x86 apps and I’m not about to find out by experimentation. I’ll give it a few days then log a (security) bug.

  • Change the extension of the .txt file

    11
    0 Votes
    11 Posts
    9k Views
    Fake TrumF

    @PeterJones It is not always convenient like this. Perhaps today I am lucky, to meet you. I am using google to translate. And my question was brief, so Google did a good job. Once again very thank you for this

  • about selection

    47
    0 Votes
    47 Posts
    11k Views
    cisco779kC

    @guy038 tanxs you so much for your explanation and for modification to your reg-ex!
    now it works very well!
    I never said I had an example like yours, but maybe it’s my fault that I didn’t explain myself well …
    everything is working fine now. always thanks for your regex!
    cheers

  • Recent update changes language colors

    6
    1 Votes
    6 Posts
    2k Views
    Emma MorrisE

    Alright, thanks for your help everyone! Deleting the langs.xml file fixed it.

  • Ubuntu - no font displays 'ł' and some other Polish characters

    1
    1 Votes
    1 Posts
    198 Views
    No one has replied
  • XML Tools 3.0.3.3 delay N++ start for TWO minutes

    3
    0 Votes
    3 Posts
    251 Views
    JoseLuis C.B.J

    Thanks a lot @Ekopalypse. It works perfect (as expected!!)

  • How can I search a specific numbers in between two numbers?

    3
    0 Votes
    3 Posts
    969 Views
    guy038G

    Hello, @BDz48, @gurikbal-singh, and All,

    Don’t forget to select the Regular expression search mode for a correct result of the @gurikbal-singh’s regex

    Now, if you do not want a match when the number 6.. is surrounded with other numbers as, for instance, in text 497954316579791310932, use the regex \b(6\d\d|700)\b

    Best Regards,

    guy038

  • Type of duplicate lines

    25
    0 Votes
    25 Posts
    5k Views
    Sarah DuongS

    @astrosofista Yes, that is exactly what I need. It seems that there are some symbols I cannot write . It replaces the color or does not display when accompanied by another symbol.

  • Version 7.8.5 ( 32bits) not able to replace a comma correctly

    5
    0 Votes
    5 Posts
    322 Views
    guy038G

    Hi @mark-marques, @ekopalypse, @alan-kilborn and All,

    To control which plugin(s) is/are loaded on Notepad++ start :

    Close any opened N++ instance

    Reach your active plugins location

    For any plugin , NOT desired, simply change the name of its folder ( for instance, add a simple character at beginning or end of each name ! )

    Restart Notepad++

    For instance, my own 7.8.5 plugins folder contains the following subfolders :

    BetterMultiSelection ComparePlus Config doc DSpellCheck ElasticTabstops mimeTools NppConverter NppExport NppPluginDemo

    If I want to open Notepad++, without, let’s say, the DSpellCheck and the Npp PluginDemo plugins, simply rename these 2 subfolders, like below :

    BetterMultiSelection ComparePlus Config doc -DSpellCheck ElasticTabstops mimeTools NppConverter NppExport -NppPluginDemo

    OR

    BetterMultiSelection ComparePlus Config doc DSpellCheck_0 ElasticTabstops mimeTools NppConverter NppExport NppPluginDemo_0

    Best Regards,

    guy038

  • Compile and run didn't show cmd

    4
    0 Votes
    4 Posts
    257 Views
    EkopalypseE

    @Darisky

    Sorry, but I don’t understand your last post.
    Did you try my suggestion about using hello.cpp instead of hello.

  • BUG: syntax highlighting not working

    11
    0 Votes
    11 Posts
    10k Views
    alindbergA

    I had the same issue for PHP files.

    The solution was to include the opening tag <?.

    The file I was using was just a scratch bit of PHP thus no tag was included. The same is true for HTML files. The opening tag, <html would be required.

    Languages like Javascript, SQL, etc., that don’t require tags work as expected.

  • Removing Spaces after | sysmbol

    6
    0 Votes
    6 Posts
    480 Views
    astrosofistaA

    Sorry people, here is the working link to the animated gif (couldn’t edit it in time):

    https://giphy.com/gifs/eKh1aKIxZOEUB2308F

    @astrosofista said in Removing Spaces after | sysmbol:

    Hi:

    OK, just for the non-regex oriented people in the list, let me suggest you an alternative approach to delete those unwanted blank spaces.

    This little thingy requires the BetterMultiSelection plugin to get the job done, as follows:

    giphy

    In case you couldn’t read the instructions while the gif is playing:

    Insert a multi-selection ( Click, Shift + Alt + Down Arrow ) Press the End key Then, Control + Left Arrow Finally, press Back-Space.
  • feature request - word wrap per tab

    17
    3 Votes
    17 Posts
    3k Views
    PeterJonesP

    @Stan-Dm said in feature request - word wrap per tab:

    +1 for this feature request, I have to flip my word wrap settings back and forth all the time, it’s getting annoying!

    Might be a good idea. But +1-ing it here won’t affect the status of the feature request at https://github.com/notepad-plus-plus/notepad-plus-plus/issues/5232 .

    if it’s annoying for you, both this forum and the issues page show a PythonScript workaround that you can use while you are waiting to see if the feature is ever accepted or implemented. But given there’s a simple PythonScript workaround, there’s a good chance it never will be. (The developer philosophy for this project is that if it can easily be or has been implemented using a plugin, it’s not likely to be implemented as a native feature.)

  • Autocorrect: Shortcut Key to Hide Popup When Editing Text?

    2
    0 Votes
    2 Posts
    579 Views
    Alan KilbornA

    @John-BPC

    The Escape key, maybe?

  • How could one in the search exclude files, e.g. all images?

    10
    0 Votes
    10 Posts
    843 Views
    CletosC

    Alright, thank you!

  • Open links with single click instead of double click?

    3
    1 Votes
    3 Posts
    2k Views
    Alan KilbornA

    @Stan-Dm

    Why do you need it?
    It would annoy most people, because a single click is what you do when you want to reposition the caret in a text editor. If doing so took one off to browser-land it could get annoying fast.

  • Localize Notepad++ context menu items

    5
    0 Votes
    5 Posts
    830 Views
    Luca L 0L

    @Alan-Kilborn
    I’ve found a workaround anyway (I put npp in ‘C:\Users\<user-name>\Util\npp’ in my case) :

    Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\MuiCache] "C:\\Users\\<user-name>\\Util\\npp\\notepad++.exe.FriendlyAppName"="Notepad++"
  • Macro Sidebar

    7
    2 Votes
    7 Posts
    2k Views
    Alan KilbornA

    @maxitrol said in Macro Sidebar:

    This is great idea.

    Hmm. :-)

    Windows tool that would allow me to enter text snippets which I can later simply copy paste

    Well, Notepad++ offers some text snippet plugins…
    At the Windows level, maybe what you want is a clipboard utility? There’s a good one called Ditto out there.

  • Una sola linea

    3
    0 Votes
    3 Posts
    2k Views
    EkopalypseE

    @Ignasi-Viñas

    gpx? Isn’t that guitar pro tab file format? If so, it is binary, isn’t it?

  • Search for 2 strings with AND not OR

    9
    0 Votes
    9 Posts
    3k Views
    Alan KilbornA

    My bad. I should have stated the original search like this, I suppose:

    Find what box: (?-s)^(?=.*def)(?=.*phone).+
    Match case checkbox: unticked or ticked <------ as you need

    Not everyone knows that:

    leading off your regex with a variant of (?i) will search case INSENSITIVELY (the i is for Insensitive) leading off your regex with a variant of (?-i) will search case SENSITIVELY (the -i is for NOT [or “minus”] Insensive)

    and that these little strings, if used, override the setting of the Match case checkbox, since they are logically processed after the checkbox setting.

    However, the misunderstanding could have been avoided had some sample data been provided along with the original question.