• Find One Line of Text, Then Backup the next Line Above & paste

    6
    0 Votes
    6 Posts
    2k Views
    Bill HolderB
    Thanks for all the hard work. It seems to be working, just a few minor glitches. But they are probably on my end. Will let you know more as to what I find later on. Again, Thanks A Lot Bill
  • Functionlist Changes broke my custom functions.

    3
    0 Votes
    3 Posts
    411 Views
    Pat SinclairP
    Alan: Thanks so much for the response. I am using UDL, these languages have the extensions configured etc. However, I took the parser and put it in like it used to be, changed the id etc… for instance: <parser displayName="p" id ="pcode.xml" commentExpr="(?m-s:;.*$)" > <function mainExpr="^DEFINE\s+\K\w+" /> </parser> I changed the overridemap.xml to contain the following, still no love. <association id= "pcode.xml" userDefinedLangName="PCODE" /> Language definition: [image: 1614387249434-pcodelang.png] Any tips…??? Pat
  • [nsfw] Help extracting links from page source code

    regex urls
    5
    0 Votes
    5 Posts
    1k Views
    Ravi KR
    @guy038 This is exactly what I wanted. Thanks for that complex RegEx. No issues.
  • MISC Clickable Links is GONE! How can I turn off links now?

    4
    0 Votes
    4 Posts
    2k Views
    PeterJonesP
    @Alan-Kilborn said in MISC Clickable Links is GONE! How can I turn off links now?: Whenever a setting “disappears” from Notepad++'s preferences, try looking around the user-interface. ++ Also, I and the rest of the npp-user-manual.org maintainers do our best to keep the manual up-to-date with the most recent Notepad++ version. The preferences doc gives a thorough description of each “page” of the Settings > Preferences dialog, and even tries to indicate when a given menu entry has been moved. If you search for “click” or “clickable”, you will quickly see where that option currently resides.
  • customizing code folding

    2
    0 Votes
    2 Posts
    477 Views
    Alan KilbornA
    The picture: [image: 1614344570355-ae4913f3-ed91-46bf-b734-b072b3be6c41-image.png] how can i change the red color in this picture? You change most colors in Notepad++ in the Style Configurator, found on the Settings menu, so specifically for your case: [image: 1614344681953-9f90edc0-c8bc-4254-9d05-66618113bf4a-image.png] Select a “foreground color” to your liking.
  • Help with FIND

    6
    0 Votes
    6 Posts
    574 Views
    guy038G
    Hi, @antonio-rosciano and All, However, note that the latest version of N++, as of February 26, 2021, is version 7.9.3 ! ! BR guy038
  • Regex: Select everything (the whole line) to the dot but not more dots

    7
    0 Votes
    7 Posts
    6k Views
    Vasile CarausV
    thank you all !
  • 0 Votes
    4 Posts
    837 Views
    EkopalypseE
    @Jaacov-Molcho but not for all Hebrew characters but the same characters are fine directly in Npp? If so, it could be a problem with the font or with the rendering of the font. Are you already using the same font? (Change Console Font from NppExec menu!?) If it is a rendering problem, then I doubt it can be solved easily.
  • Hi. Can someone help me?

    2
    0 Votes
    2 Posts
    322 Views
    Alan KilbornA
    @Alexandru-Tanasa I think forget the browser part of the question as that is off-topic for a Notepad++ forum. Did you get the tab character appearing for sure in Notepad++ after your replace operation? Best way to tell for sure might be turning on visible whitespace by: View menu > Show Symbol > Show White Space and TAB and then tab characters will appear like this (orange arrows): [image: 1614258468858-b6ff66c4-2a0c-417e-a61a-51a0aa8de558-image.png] But again, this may just be helping you in Notepad++. You will have to go elsewhere to find the answer to your browser question.
  • customize delimiter highlighting

    9
    0 Votes
    9 Posts
    2k Views
    Michael VincentM
    @mathlete2 said in customize delimiter highlighting: Batch @PeterJones The batch lexer is improved in Scintilla 4.4.6 which looks like it may be updated with the next Notepad++ release. Cheers.
  • 0 Votes
    10 Posts
    5k Views
    Alan KilbornA
    @Doug-Ewell said in Dual monitor with different resolutions didn't scale well with latest 7.9.3: I’d like to see this as a user setting, I did some looking into the change in this in N++ code between 7.9.2 and 7.9.3. It’s something called a “manifest” file change. It’s a build time thing, not a runtime thing, so (with my limited knowledge) I don’t think it could be a “user setting”.
  • Search in *.txt Files for a string that's not in and add it

    4
    0 Votes
    4 Posts
    443 Views
    OdyseusO
    @Terry-R said in Search in *.txt Files for a string that's not in and add it: (?s-i).?Keyword=notIndexedvalue.\K|(.*\K) Hello Terry, thank you so much… Works very fine for me…
  • 0 Votes
    2 Posts
    326 Views
    guy038G
    Hello, @alexandru-tanasa and All, Which kind of text or literal text needs to be bold ? Which file type are you using ( For instance, a Markdown file with extension md ) How you presently obtain the change of ‘some_text’ into ‘some_text’ ? Note : You can use the </> option to write raw text, in your next post ! Best Regards, guy038
  • 0 Votes
    12 Posts
    3k Views
    Ohm DiosO
    Re: First thanks to @PeterJones, @Alan-Kilborn, @guy038. And sorry again for showing my lack of coding. I am an Electrical Engineer almost 14 years in that filed. Last few years into computer programming learning and studying on my own and one day found notepad++ after that I must say I am addicted to that. Whenever I have problems I refer forums(including notepad++) and study materials. I usually spent a lot of days for finding solution. After everything fails then only I will put my query here. From now onwards I will spend more efforts to studying and understand. @guy038 Dear sir, You are not only providing a solution, Its Love. Again all, Sorry for Taken your valuable times and assure you I won’t come again without 100% tried my self after studying the required materials. Best Regards, Ohm-Dios
  • Replacing a value with many different values

    5
    0 Votes
    5 Posts
    3k Views
    prahladmifourP
    Hello,@Felix-Gladitz Please try this command, To Replacing a value with many different values Take a look at Sed. You can easily achieve your goal with only one command line sed -e “s/Text_1/TextA/” -e “s/Text1/TextB/” <your_file.txt>your_file_new.txt I hope this command will be useful to you. Thank you.
  • Changing Data inside XML element

    27
    0 Votes
    27 Posts
    12k Views
    Michael VincentM
    @guy038 said in Changing Data inside XML element: See, also, an interesting helping post, of @ArkadiuszMichalski, regarding how to test new N++ builds ! https://github.com/notepad-plus-plus/notepad-plus-plus/issues/9493#issuecomment-781344297 Seems to be official now: https://github.com/notepad-plus-plus/notepad-plus-plus/wiki/Testing Good job @ArkadiuszMichalski ! Cheers.
  • Notepad++ "Projects" info

    17
    3 Votes
    17 Posts
    11k Views
    ArkadiuszMichalskiA
    Looks like changing name in file item changes also it path. This not happend when we rename folder item. For me it looks like a bug, both the name for folder/file item in list is just a label (which can be changed) but the real source should be indicated by path.
  • How to make Notepad++ default for Windows 10?

    2
    0 Votes
    2 Posts
    2k Views
    PeterJonesP
    @Pericles-Christofilopoulos , I would like to know how to make Notepad++ the default program for Windows 10 I hope you don’t mean “make Notepad++ the default program for all file types in Windows 10” – I would hate to have .bat automatically edit instead of running, or .xlsx files open up as gibberish in Notepad++ instead of opening in my spreadsheet program, or … If you mean “make Notepad++ the default program for a given file type in Windows 10”, that seems a much more reasonable request. There are multiple ways to try, depending on how you like doing things, and whether Windows 10 is feeling in a cooperative mood. In Windows Explorer, right click, and **Open With…*, setting it as the default for that extension. This will often work, except when it doesn’t. (Sometimes, conflicting background Windows settings will mean it won’t find Notepad++ , even if you navigate right to notepad++.exe; and sometimes, Windows refuses to save that) Open Notepad++ as Administrator, then Settings > Preferences > File Association, and use the -> button to register Notepad++ with the selected file extension(s) Use the registry There are some who like to trick Windows into running Notepad++ anytime that windows would try to run notepad.exe – enough that there’s a section in the usermanual about it … but using the registry to trick Windows into thinking it’s launching a different program seems a foolish thing to do (and seems to me a feature that could be abused by hackers), when you can use the registry to teach Windows to do the right thing Personally, plaintext files are the only file type I associate with Notepad++; everything else, I use the Windows RightClick > Edit with Notepad++ entry that you can get when you install Notepad++ (or can manually install). Here are some other posts on similar queries I have participated in; these other topics might help you with problems you run into while fighting the quagmire that is Windows 10 File Association: https://community.notepad-plus-plus.org/post/62576 https://community.notepad-plus-plus.org/post/62091 https://community.notepad-plus-plus.org/post/61540 https://community.notepad-plus-plus.org/post/56688 https://community.notepad-plus-plus.org/post/54317 https://community.notepad-plus-plus.org/post/52315 https://community.notepad-plus-plus.org/post/50774 That’s about a year’s worth. Probably far enough back in my search.
  • How to add a gap between letters and border of N++ window?

    25
    3
    1 Votes
    25 Posts
    7k Views
    PeterJonesP
    @Nikola , if the border was only white not gray Settings > Style Configurator > Language: Global Styles > Style: Fold Margin, change the Background Colour to white (or whatever non-gray color you prefer) I wanted to try the trick with Pyton Script plugin but I would need step by step instructions Plugins > Plugins Admin: in the Available tab, enable ☑ Python Script and Install. Notepad++ should restart after installing the plugin Plugins > Python Script > Scripts: in the resulting sub-menu, Ctrl+Click on the Startup (user) (if you normal-click, it will run the script; ctrl+click will edit the script – you want to edit it) It will open a file in Notepad++. At the end of that file, add the lineseditor1.setMarginLeft(30) editor2.setMarginLeft(30) and save that file. Plugins > Python Script > Configuration…. Change the Initialisation: drop-down to ATSTARTUP, and click OK Exit and restart Notepad++. This should set wider margins. If it’s too wide or too narrow, use a smaller or larger number than 30 (bigger number means wider) If it doesn’t work for you, show us your ? > Debug Info, and give us screenshots showing your edited startup.py open in Notepad++, and maybe with the Plugins > Python Script > Show Console showing, so we can see if there are any unexpected error messages
  • 0 Votes
    2 Posts
    589 Views
    astrosofistaA
    Hi @Janaranjan-Sahoo Probably you have already done this, but anyway here it goes: For a basic and visual explanation of the Multi-Editing feature, first off read Notepad++ User Manual. Then, for more advanced examples involving the BetterMultiSelection plugin, please take a look at these problem-solving animations and follow the instructions to better grasp how the plugin works and enhances the standard Multi-Editing feature: https://community.notepad-plus-plus.org/post/53667 https://community.notepad-plus-plus.org/post/54925 https://community.notepad-plus-plus.org/post/51906 https://community.notepad-plus-plus.org/post/53168 (explanation) https://community.notepad-plus-plus.org/post/51915 https://community.notepad-plus-plus.org/post/51786 Take care and have fun!