• finding files using reg-ex

    14
    1 Votes
    14 Posts
    2k Views
    Alan KilbornA
    Another variant on this general theme that is handy is finding two words, in either order, with a certain degree of proximity. This way I can find, in my notes, words that I may not know the exact phrasing for, but that I know are going to be there, and be close to each other, when I need to look up something. So, say I want to find foo close to bar, say within 50 characters. Maybe bar occurs before foo, but maybe not. Here’s what I’d search for: (?s)(foo)(.{0,50}?)(bar)|(?3)(?2)(?1)
  • Style Configurator font size is unreadably small

    2
    0 Votes
    2 Posts
    289 Views
    Alan KilbornA
    @Peter-Brawley I don’t think it is possible. But why don’t you paste a screenshot of it, so others can judge the “smallness”. Maybe it is something happening only for you?
  • UDL Similar Delimiters

    6
    0 Votes
    6 Posts
    1k Views
    PeterJonesP
    @BGM-Coder , Sorry. I cannot force the developers to update UDL. There are plenty of issues requesting updates – and you can feel free to add more – but there seems to be a lack of interest in working on that component. (My thought has been for years now that the developer has an idea that he’ll write a new/better UDL system “some day”, but that he keeps getting distracted with general maintenance and other, easier-to-implement features.) In theory, someone who had the skills could write a custom plugin-based lexer, similar to the GEDCOM Lexer available in Plugins Admin, which could handle your specific needs. Or, even better, someone could write a plugin-based lexer to basically replace the UDL system, but with more powerful syntax (full regex and full unicode support in every field). I don’t have enough of the right skills, or the time, to devote to something that major, unfortunately.
  • Function List no longer works

    16
    1 Votes
    16 Posts
    6k Views
    donhoD
    FYI: https://github.com/notepad-plus-plus/notepad-plus-plus/commit/814e6591b5c37da7c6d84c4b67a6e73d645a318f
  • No colours on highlighting

    3
    0 Votes
    3 Posts
    812 Views
    prahladmifourP
    Hello,@Frank-Hager Please follow these steps, To No colors on highlighting Step 1: Go to settings -> Style Configurator. Step 2: Select the language that Notepad++ has chosen, usually based on filename extension. You can also change this manually under the Language menu setting. Step 3: Go through the Styles until you find the style that applied the highlighting. You can tell because the Background colour will match the highlighted color. Step 4: Change the Background color to white. I hope this information will be useful to you. Thank you
  • Arduino language support

    6
    0 Votes
    6 Posts
    9k Views
    JP RoyJ
    @PeterJones I went with the 2nd option of keeping the Arduino UDL and creating the arduino.xml and modifying the overrideMap.xml and it worked ! Thank you very much for your awesome support !!
  • Duplicate same lines with regex search

    2
    0 Votes
    2 Posts
    430 Views
    Alan KilbornA
    @Marcin-Snieg Here’s an example of one way of doing it: create this text on a line: abc abc abc abc abc abc search for abc(?-s).* in regular expression search mode run a “Find All in Current Document” search The result: [image: 1606404113347-43a974e4-acd4-4c31-acb6-705124c7f696-image.png]
  • 0 Votes
    3 Posts
    1k Views
    Chris SeddonC
    Smashing, thank you for the prompt solution!
  • Find and remove everything else

    17
    0 Votes
    17 Posts
    5k Views
    guy038G
    Hi, @anthony-noriega, @alan-kilborn, @terry-r and All, Oh, yes, Alan. You’re right ! Of course, I already downloaded the portable v7.9.1 version but I’m still “stuck” with the v7.8.5 version which explains why I didn"t notice this recent enhancement ! So, thanks to @scott-sumner, we just have to use the (?-s)/\.\*\K(.+?)(?=\.\*/) regex, click on the Mark All button to get all the keywords and, then, click on the Copy Marked Text button and paste the results on a new document. Nice ! BR guy038
  • Save Session/Load Session + Toggle Bookmark DOESN'T WORK

    6
    0 Votes
    6 Posts
    605 Views
    Alan KilbornA
    @Vasile-Caraus said in Save Session/Load Session + Toggle Bookmark DOESN'T WORK: Please fix it. it’s not about me, it is about improving a software It seems odd that someone who has been around the forum enough to post 275 times doesn’t know the proper PROCEDURE for filing a bug report. If you end up going that route, be sure to heed my advice from earlier, in your report: How about being thorough and presenting a small, completely reproduceable example
  • Has anyone seen this error?

    1
    1
    0 Votes
    1 Posts
    247 Views
    No one has replied
  • "an exception occured due to plugin: ccc.dll"

    3
    1
    0 Votes
    3 Posts
    666 Views
    pbarneyP
    Thanks for the reply. The odd thing is that it doesn’t always trigger. It seems to go funky for a few days and then return to normal. It may be a layout thing in my source code or a particular file structure that’s tripping it up. But it’s working today, so it’s back on the shelf for now!
  • 0 Votes
    2 Posts
    421 Views
    Alan KilbornA
    @Sam-0 I would guess that File menu’s Save Session and Load Session might be useful to you, and probably the Session Manager plugin deserves a look as well.
  • 'Replace All in All Open Documents' problem in 7.4.1

    18
    0 Votes
    18 Posts
    15k Views
    Alan KilbornA
    @Hugo-Alves You might want to be a bit more specific about what the “same problem” is, after all, this thread is a bit old and several things were discussed above. Also, while 7.8.6 isn’t “ancient” by any means, maybe try something more recent?
  • Markdown files

    3
    0 Votes
    3 Posts
    1k Views
    theamazingjmoT
    @PeterJones No worries, it’s not like it’s difficult to associate .md with Notepad++ myself. I was just curious.
  • UDL: Help with lua.

    7
    0 Votes
    7 Posts
    2k Views
    PeterJonesP
    @Moises-Napoles said in UDL: Help with lua.: I wanted to edit the notepad++ lua file but changes that I make on the file doesn’t reflect on notepad++ If you want to just add keywords, just use the Style Configurator … it’s easier that way. if you insist on editing the config file manually, you need to understand and follow the sequence in https://npp-user-manual.org/docs/config-files/#editing-configuration-files, or use a different editor to edit the config file (while Notepad++ is not running).
  • 0 Votes
    4 Posts
    742 Views
    TroshinDVT
    @PeterJones said in JavaScript autocompletion function parameters not defined in javascript.xml: : These api-files can serve as a base for built-in help for language methods. If someone thread will fill them in and make the interface in the form of a tree and a text field. [image: built-in_help_exam.gif] And I would make a plugin with this interface. There is only one detail: not everyone understands English and it is desirable to distribute api files to directories with translations. Like “Api \ ru”, “Api \ fr”, etc.
  • Suddenly npp doesn't appear on screen anymore

    9
    0 Votes
    9 Posts
    885 Views
    EkopalypseE
    @Terry-R Thx, I had to look this up but no, no DP port. Maybe it is time to invest in a new system but … I’m a scrooge …
  • How to enable a new FunctionList?

    4
    0 Votes
    4 Posts
    2k Views
    Alan KilbornA
    @chamisso-chen said in How to enable a new FunctionList?: Not only the function definition will be shown, but also the invoking position is shown as well. IIRC, that is a known issue with no current resolution.
  • NppExport that notepad++ comes with is outdated

    3
    0 Votes
    3 Posts
    705 Views
    Alan KilbornA
    @PeterJones I think OP is talking about the version of NppExport that ships with Notepad++ releases. He’d like to see the newer version actually included there. Of course, it begs the (related) question of why any plugins actually come bundled with N++. Seems unnecessary, to me.