• begining and end of line

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Pouemes44P
    @Scott-Sumner said: Find what zone: (?-s)^word1.*\R Replace with zone: $0word2\r\n Match case checkbox: your choice if you need it ticked or not Search mode: Regular expression thanks scott works perfectly
  • Rare Null Write Glitch

    19
    1 Votes
    19 Posts
    12k Views
    chcgC
    See https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2883#issuecomment-360502864 might be interesting: After a Notepad++ crash with nullified file(mostly after save the file), you can try to restart notepad++! by executing the .exe directly. It comes up with a message that ‘another program changed your nullified file’ and it will ask to reload the file. DON’t reload (it is nullified in the original map) but after give your answer (DON’t reload) Notepad++ comes up with the nullified file: magical is not? Somewhere in memory it is keep alive!! Hopefully this saved other people some headaches!! It was for me.
  • 0 Votes
    9 Posts
    12k Views
    Claudia FrankC
    @dreamforceinc the result is stored in variable msg_result, so something like SCI_SENDMSG 2087 echo $(MSG_RESULT) would do the job. Cheers Claudia
  • 0 Votes
    8 Posts
    5k Views
    ?
    It appears this is a Scintilla bug. Scintilla is a vital component of NP++ and several other text editor-type programs, which are probably all exhibiting this behavior. Bug reports: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3895 https://sourceforge.net/p/scintilla/bugs/1983 If you, like me, value ‘tap twice’ word selection over ‘tap twice and drag’ multi-select, follow this workaround: Go into Windows 10 ‘Touchpad settings’ Disable ‘Tap twice and drag to multi-select’
  • "Style found token" not an option anymore

    Locked
    5
    1 Votes
    5 Posts
    2k Views
    Chuchulo HatyzakC
    Great, thanks. Ch
  • 1 Votes
    3 Posts
    2k Views
    Scott SumnerS
    @jacobscrackers So as an example, try this in the Run (menu) -> Run… -> The Program to Run box: cmd /K echo $(FULL_CURRENT_PATH) As to "can I set a default for a particular file type? ", you’ll have to be more specific…
  • changing modified date

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    Scott SumnerS
    I can almost taste the cookies …
  • Append character at end of line

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Rod NunleyR
    That did the trick. Exactly what I needed. Thanks much.
  • Can't log into local server with NppFTP plugin

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    Thomas RyanT
    @chcg Thank you chcg I think am in way over my head… will persevere though.
  • how to remove repeated lines created from hex please help

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    Dahaka pD
    @MAPJe71 Thank you very much , am testing now . @ Scott Sumner I did several searches at google but not point me to here , i didn’t search here but next time i’ll do , Thanks for the screen shoot .
  • Find & Replace options

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC
    @Kieren-Baillie said: with regular expression checked and a look ahead regex in find what like (?-s)^.*(?=\Rfile = open\(first_program_used\)) you should be able to to find the line prior to file = open … Note: in replace with you need to escape the \first by \\first so it looks like first_program_used = main_address + r"\\first_program_used.txt" Cheers Claudia
  • 0 Votes
    3 Posts
    2k Views
    guy038G
    Hi, @Jesper-Bødewadt-Møller, I would use this strategy : If we find some digits, right after the syntax %X, just rewrite this NON wanted block, as it ! If we find other 3 digits elsewhere ( which are good candidates ), replace each one with a 4 digit This simple way avoid us to verify where a 3 digit is found ( inside a %X... block or elsewhere :-)) So, open the Replace dialog ( Ctrl + H ) SEARCH (?-i)%X\d+|(3) REPLACE ?{1}4:$0 OPTIONS Wrap around and Regular expression ticked ACTION Click on the Replace All button For instance, assuming the initial text below : abc3.%X31 def abc3%X11223def abc3%X773777.3def abc3%X31 333def abc3% X321 333def abc3%X 321 333def abc333.%X333333.333def It would be changed into : abc4.%X31 def abc4%X11223def abc4%X773777.4def abc4%X31 444def abc4% X421 444def abc4%X 421 444def abc444.%X333333.444def Remark : Just note that the 3 digits are replaced by a 4 digit , in the parts % X321 and %X 321, as they are not exactly of the form %Xdigitdigit…digit !! Notes : The modifier (?-i) forces the search to be NON-insensitive to case ( so sensitive ! ) Then the regex engine looks for, either : The exact string %X, followed by, at least, one digit ( %X\d+ ) Any digit 3, stored as group 1, because of the surrounding parentheses ( (3) ) In replacement : If group 1 exists ( second alternative ), we replace with a single 4 digit ( part before the colon ) ELSE, we just rewrite the entire matched string %X##### ( regex $0 , after the colon ) Best Regards, guy038
  • Where in Notepad++ is the guide for Bold, Italics, etc?

    Locked
    7
    0 Votes
    7 Posts
    128k Views
    Claudia FrankC
    @Libby-Len-Traubman so I assume your initial question about bold, italic was also related to html programming? If so, yes you can use npp to create webpages but notepad++ doesn’t have any help file how to create a webpage. What you can do is to use web resources like https://www.w3schools.com/ and once you’ve written your code use run menu and one of the browser functions like launch in firefox etc… But, again, notepad++ does not provide all those browsers it just assumes that you have, at least one, installed, and tries to start it with the current document open as parameter to the browser executable. Cheers Claudia
  • Nppnetnote not found

    5
    0 Votes
    5 Posts
    2k Views
    chcgC
    Now also an unofficial x64 version is available via pluginmanager.
  • 0 Votes
    6 Posts
    7k Views
    chcgC
    @kingtls I’m using n++ heavily now for over 10 years and never observed that behaviour on my own. So it seems to be a rare case and not easy to track. There are also multiple root causes in a widespreaded environment (WinXP-WIn10, Wine, 32bit/64bit, different plugin installations, etc.): some of the issues happen due to power fails, which might need a transaction save file system to avoid editing data on a network drive with corruption due to network errors coredumps either by n++ itself or some plugin And at least the reproducible issues I think get fixed.
  • Regex help needed editing the function list xml file

    3
    0 Votes
    3 Posts
    2k Views
    MAPJe71M
    @Florent-Pagès as available in Notepad++ v7.3.2.0 which was enhanced in v7.5.1.0 i.e. allowing $ in identifiers and whitespace before the left/open parenthesis.
  • 0 Votes
    2 Posts
    1k Views
    PeterJonesP
    @Clayton-Moudy , It’s going to be hard for us to debug, given the few details you’ve given. The more you can tell us, the easier it is for us to help you. I’ve had to guess at your input file. (In this forum when you post, you can just prefix four more spaces on the quoted material, and the forum will properly mark it as preformatted code, so it’s easily set apart. I also included a comment-line… and will possibly need a first line that doesn’t indent) # comment-line with no extra spaces to align forum formatting two) spaces three spaces) four spaces five spaces no spaces one space two spaces) three spaces four spaces five # blank line to align forum formatting Other than the # lines, is that an accurate representation of your file? What is the difference between the two computers? Could you grab the ? > Debug Info > copy for each computer’s Notepad++, and paste in a reply – and mark which one does it right, and which does it wrong? What other settings are different between the NPP installations on each?
  • 0 Votes
    4 Posts
    2k Views
    chcgC
    For the compare plugin see: https://github.com/pnedev/compare-plugin/releases
  • 7.5.4 64 bit no plugin manager

    5
    0 Votes
    5 Posts
    24k Views
    MatthewMcDM
    Resolved this on a new machine by installing 7.4.2 (https://notepad-plus-plus.org/download/v7.4.2.html) and then let the upgrader do it’s job.
  • edit m3u iptv list file - hide line number in results

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC
    @SiberMedya I assume you want to copy the result without the line numbers, correct? If so, right-click into the result window, select all and copy and paste in a new document. Even it looks like you copy everything, it copies only the found items. Cheers Claudia