• Notepad++ crashing

    10
    1 Votes
    10 Posts
    2k Views
    Hana EmadH

    <Html>
    <head>
    <title>العماد كلين0531610566
    </title>
    </head>
    <body>افضل شركة تنظيف منازل بجدة</body>
    </Html>

  • 0 Votes
    2 Posts
    579 Views
    EkopalypseE

    @Marc-Step

    would you mind sharing a code example which can be used to test?
    In addition it would be helpful to see your debug-info from 7.6 and 7.7.
    The info can be found on the last menu item, the ? menu.
    And if you make screenshots, upload it to an hoster and embed it here with a syntax like
    ![](url_of_the_uploaded_imagel) would be helpful too.

  • In rows with notepad

    2
    0 Votes
    2 Posts
    453 Views
    Alan KilbornA

    @oscar-remiccc

    So you have to pick out some sort of pattern to be able to do this. If your lines are always in pairs then it is fairly easy:

    Find what box: (?-s)^(.+)\R(.+)
    Replace with box: \1\s\2
    Wrap around checkbox: ticked
    Search mode: Regular expression
    Action: Press Replace All button

    Of course if your data is not as regular as it appears, then we will move on to something else…

  • coldfusion lexar plugin not highlighting tags in 7.7

    1
    0 Votes
    1 Posts
    300 Views
    No one has replied
  • "&" characters in JavaScript code are rendered as blanks

    7
    0 Votes
    7 Posts
    966 Views
    Alan KilbornA

    @Ken-Winter

    Settings (menu) > Style Configuator…

    See if you can change the global font. It isn’t the most user-intuitive thing to set up, unfortunately.

    BTW a lot of people have success in Notepad++ with the “Consolas” font.

  • Help, problem with decrypt

    2
    0 Votes
    2 Posts
    734 Views
    PeterJonesP

    @Џо-Ни said:

    header version is no longer supported

    See this FAQ from the author of the plugin. You need to install an older NppCrypt (1.0.1.5), then decrypt any files that were encrypted before, then update to the newer 1.0.1.6, then do a new encryption using the new tool.

  • Recover unsaved file, missing from backup

    5
    0 Votes
    5 Posts
    3k Views
    Alan KilbornA

    I closed accidentally a file called new 46 never saved

    Notepad++ will give you a prompt in this case, if you “accidentally” close a file, for example:

    Imgur

    If you answer No to this, Notepad++ takes you seriously.

  • Macros don't work

    13
    1 Votes
    13 Posts
    3k Views
    EkopalypseE

    @Santiago-Quintero

    let us try something different, goto https://notepad-plus-plus.org/download/v7.7.1.html and download one of the portable versions, the zip package or 7z package. You DON’T have to uninstall the current version just make sure, that you don’t have your current version running when redoing the test with the macros. If this works, then I suspect something corrupted your config files.
    So, the steps are

    download a portable version unpack it where ever you want make sure the installed version is not running start npp from the downloaded package create you macro and check if it works stop npp and restart npp and see if the macro still works.

    If this doesn’t work, then you need to explain in details what exactly you did in each step described above.

  • Does Notepad++ keep a History or Log of "Find in Files" made?

    3
    0 Votes
    3 Posts
    7k Views
    mobcdiM

    Thanks I had a check and it shows the same values as in the drop down lists in the UI and I’ve applied them as well. I also found the verbose backup option (that I hadn’t enabled) so I think I’m out of luck.

  • Find and replace ... HELP

    4
    0 Votes
    4 Posts
    638 Views
    PeterJonesP

    @Jin-Wook-Lee said:

    can you double check #2?

    sure.

    looks right to me.

    Imgur

    If it doesn’t work for you, maybe your data didn’t match your example, or something else is going on. Feel free to supply more details.

  • Automatically selecting files with searched word in it

    4
    0 Votes
    4 Posts
    763 Views
    Alan KilbornA

    @Lorenzo-Carrisi

    Good that you got something you could use from that!

    Actually, this is probably a good opportunity to show off macros in Notepad++.

    First, do some (one-time) setup:

    Press the toolbar button for starting macro recording In an editing tab view, press an arrow key to move the caret (this is just a dummy action) Press the toolbar button for stopping macro recording Press the toolbar button for saving a recorded macro; give it the name Bat file from Find results and save it Exit Notepad++ Restart Notepad++ Locate your shortcuts.xml file and open it in Notepad++ Do a find on Bat file from Find results and you should be left looking at something like this: <Macro name="Bat file from Find results" Ctrl="no" Alt="no" Shift="no" Key="0"> <Action type="0" message="2306" wParam="0" lParam="0" sParam="" /> </Macro> Replace the Action line with the following block, making the indent level of the block match that of the old Action line: <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam="(?-s)^Search.+\R" /> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <Action type="3" message="1602" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1702" wParam="0" lParam="770" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /> <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam="(?-s)^\tLine.+\R" /> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <Action type="3" message="1602" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1702" wParam="0" lParam="770" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /> <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam="\s\(\d+\shits?\)$" /> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <Action type="3" message="1602" wParam="0" lParam="0" sParam='&quot; .' /> <Action type="3" message="1702" wParam="0" lParam="770" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /> <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam="^\s+" /> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <Action type="3" message="1602" wParam="0" lParam="0" sParam='copy &quot;' /> <Action type="3" message="1702" wParam="0" lParam="770" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /> Save the shortcuts.xml file Exit Notepad++ Restart Notepad++

    That’s the end of the one-time setup. That will remain until you delete the macro created.

    To use it, each time you need to:

    Run a Find-in-Files search that results in several hit files Copy and paste the Find-result panel results (per the earlier instructions on how to do that) into an empty Notepad++ tab (an empty file called test.bat might be appropriate!) Go to the Macro menu and choose Bat file from Find results from near the bottom; you should observe your file of search results has changed into a bunch of copy batch file commands (this step “runs” the macro consisting of several replacement operations!) Save the file Continue from the earlier instructions at step get a cmd prompt in the directory containing...
  • How to enable this function? thanks!

    10
    0 Votes
    10 Posts
    2k Views
    Alan KilbornA

    For the record, I use Imgur through the account I’ve set up there. Perhaps the differences are now explained. Good to know, if these type of inconsistencies come up again here.

  • execute firefox

    9
    0 Votes
    9 Posts
    3k Views
    Kailin RainyK

    @Ekopalypse
    Thank you for answering, I found a better way. But really thank you!!

  • Is there something preview the result from HTML IN the program?

    3
    1 Votes
    3 Posts
    465 Views
    Kailin RainyK

    Thank you!

  • Creating a new coloring matching character

    15
    1 Votes
    15 Posts
    3k Views
    EkopalypseE

    @BigMat-Lecircuit

    there was a decision made long time ago that the angled bracket matching isn’t part of the builtin matching function
    as too much languages do use angled brackets as operators, which then would falsely color those operators.

    At the moment I do see two options for you.

    Open a feature request at github and define exactly how you want it to behave and for which languages (which itself shouldn’t use angled brackets as operators in their syntax) or Use one of the plugin scripting languages and make it as a feature for you.
  • 0 Votes
    8 Posts
    2k Views
    Vasile CarausV

    I have an alternativ answer, but must be improved:

    FIND: (^.*)(.+?\.)(.+?\.)(.+?\.)

    REPLACE BY: $3 $1 $4 $2

  • 1 Votes
    4 Posts
    962 Views
    Vasile CarausV

    Great answer, @PeterJones thanks a lot !

  • как убрать reload - how to disable reload popup

    2
    0 Votes
    2 Posts
    546 Views
    Alan KilbornA

    @Tair-Tairoff

    Adjust the setup to your liking at Settings (menu) > Preferences > MISC. > File Status Auto-Detection

  • Custom static function with parameter hints.

    3
    0 Votes
    3 Posts
    672 Views
    Martijn WieringaM

    @PeterJones

    I thought it had something to do with ::
    Based on your info, i now use this workaround:

    <KeyWord name=“myStaticFunction” func=“yes”>
    <Overload retVal=“myClass | string”>
    <Param name=“string sValue”/>
    <Param name=“bool bSort”/>
    </Overload>
    <Overload retVal=“myClass2 | string”>
    <Param name=“string sValue”/>
    <Param name=“bool bSort”/>
    </Overload>
    <Overload retVal=“myClass3 | array”>
    <Param name=“string sValue”/>
    <Param name=“bool bSort”/>
    </Overload>
    </KeyWord>

    I’ve added "myClassName | " before each return value so i can easily find the parameter list i need for given class…
    it’s not as perfect as it could/should be, but it will work for now. Hopefully they’ll make a fix in the future ;)

    Thanks for your help!

  • Пропало отображение тегов.

    2
    0 Votes
    2 Posts
    683 Views
    EkopalypseE

    @Aleksey-Sherbakov

    sorry, but I do not really understand your problem.
    Is it about highlighting your code? Or is it about the end result, your webpage?
    In both cases, can you explain in more detail what you see and what you expect to see?