• Find in Files missing results since 7.7

    3
    0 Votes
    3 Posts
    287 Views
    magic144M

    @guy038 Thank you so much for the detail and the confirmation :)

  • 0 Votes
    5 Posts
    378 Views
    Joerg HinzJ

    Will get some more of it tomorrow. If it helps you helping me, what more could I ask for? ;)

  • Easier Rollback for edits

    18
    0 Votes
    18 Posts
    972 Views
    Michael VincentM

    @Moon-Watcher said in Easier Rollback for edits:

    Where do I send the check beer?

    Your welcome.

  • Renaming multiple names?

    5
    0 Votes
    5 Posts
    561 Views
    guy038G

    Hello, @ozzy-neil, @Ekopalypse, @alan-kilborn and All,

    From that link, below, giving the general structure of the JSON language :

    https://www.json.org/json-en.html

    Here is a work-around, using a regex S/R :

    First, at the very end of your JSON file, add this new JSON object, below : { "Steven Kourepenos": "Mark Skaife", "Jeff Rubin": "Russell Ingall", "Jaime Baker": "Craig Lowndes", }

    Note that the different couples Old names: New names, added, are not necessarily, listed in the same order than in the file itself. Luckily, it does not matter ;-))

    Now, open the Replace dialog ( Ctrl + H )

    SEARCH (?-s)("driverName":\x20)(".+?")(?=(?s:.+)^\2\h*:\h*(".+"))|(?s)\{[^{}]+\}\Z

    REPLACE \1\3

    Tick the Match case option, if necessary

    Tick the Wrap around option

    Select the Regular expression search mode

    Click once on the Replace All button ( or several times on the Replace button )

    So, assuming the original JSON test, with the new object containing all the couples of names, at the very end :

    { "drivers": [ { "driverName": "Jaime Baker", "carDesign": "21,fa7fed,000000,ffffff,fa7fed", "carNumber": "1", "suitDesign": "1,fa7fed,000000,ffffff", "helmetDesign": "1,fa7fed,000000,ffffff", "carPath": "mx5\mx52016", }, { "driverName": "Steven Kourepenos", "carDesign": "0,111111,cccccc,ed1c24", "carNumber": "2", "suitDesign": "13,111111,cccccc,ed1c24", "helmetDesign": "63,111111,cccccc,ed1c24", "carPath": "mx5\mx52016", }, { "driverName": "Jeff Rubin", "carDesign": "9,ffffff,1a4b9b,dff000", "carNumber": "3", "suitDesign": "23,ffffff,1a4b9b,dff000", "helmetDesign": "35,ffffff,1a4b9b,dff000", "carPath": "mx5\mx52016", }, ... ... ... ... ... { "Steven Kourepenos": "Mark Skaife", "Jeff Rubin": "Russell Ingall", "Jaime Baker": "Craig Lowndes", }

    After clicking on the Replace All button, you should get the expected file :

    { "drivers": [ { "driverName": "Craig Lowndes", "carDesign": "21,fa7fed,000000,ffffff,fa7fed", "carNumber": "1", "suitDesign": "1,fa7fed,000000,ffffff", "helmetDesign": "1,fa7fed,000000,ffffff", "carPath": "mx5\mx52016", }, { "driverName": "Mark Skaife", "carDesign": "0,111111,cccccc,ed1c24", "carNumber": "2", "suitDesign": "13,111111,cccccc,ed1c24", "helmetDesign": "63,111111,cccccc,ed1c24", "carPath": "mx5\mx52016", }, { "driverName": "Russell Ingall", "carDesign": "9,ffffff,1a4b9b,dff000", "carNumber": "3", "suitDesign": "23,ffffff,1a4b9b,dff000", "helmetDesign": "35,ffffff,1a4b9b,dff000", "carPath": "mx5\mx52016", }, ... ... ... ... ...

    If this S/R does the job, I’ll tell you, next time, how this regular expression works… !

    Best Regards,

    guy038

  • File "doesn't exist. Create it?" wrong extension when opening file

    4
    0 Votes
    4 Posts
    1k Views
    Alan KilbornA

    @PeterJones said in File "doesn't exist. Create it?" wrong extension when opening file:

    the old-style dialog is just evil

    LOL

    In my posting with the screenshots above, I also had the new-style-dialog setting unticked.

  • Find Across Files - Need Better support for Results Pane

    9
    0 Votes
    9 Posts
    786 Views
    PeterJonesP

    @MarkB-Dansko said in Find Across Files - Need Better support for Results Pane:

    Ok, how do I remove ALL PLUGINS from an NP++ install?

    Three easiest ways:

    use the -noPlugin command line argument, or close Notepad++, rename c:\program files\Notepad++\plugins folder to something else, then restart Notepad++ download a fresh .zip version of Notepad++ and unzip into separate directory, and run that copy as a “portable” Notepad++, which will have only default plugins installed

    If you find it works right without plugins, then you can do a search by renaming individual subfolders of c:\program files\Notepad++\plugins – if the folder name doesn’t match the name of the DLL inside, it won’t load that plugin. (So, for example, c:\program files\Notepad++\plugins\pythonscript could be renamed to c:\program files\Notepad++\plugins\x-pythonscript temporarily to disable the PythonScript plugin.

  • How do you revert command symbols (e.g. NUL) to actual characters?

    8
    0 Votes
    8 Posts
    6k Views
    PeterJonesP

    @DeeFeeCee said in How do you revert command symbols (e.g. NUL) to actual characters?:

    If you want I can send you a video

    Many users have problems with the HexEditor plugin (though some others use it successfully). I don’t know that we need a video to prove that.

    It also seems like the characters from x80–x9F are also rendered as their “replacement” characters

    x00-x1F and x7F-x9F are defined in the Unicode standard as control characters, which is why they are rendered as their “replacement” characters.

    Ÿ is the hex representation for 9F, but the character Ÿ itself is… looking it up U+0178

    In some of the ANSI-style 8-bit encodings, Ÿ was at codepoint 159 (x9F). In Unicode, Ÿ is U+0178.

    Your code looks like it might work, I just don’t have time today to try it out.

    Hope it works for you. If it does, and you are able to do animated screenshot, that would be great to share

    I really liked the animation, too!

    I use screentogif.exe, which is free and really easy to use.

  • View>Function List python functions showing up outside of tree

    4
    0 Votes
    4 Posts
    809 Views
    MegMMM

    Wow, so I just tried deleting all the comments that were left and when I deleted

    ### Keep

    and saved, it repositioned the methods correctly. So I’m not sure if that’s a bug or intentional. Can anyone explain? Thank you!

  • Suggestion-A tool to change the program icon

    13
    0 Votes
    13 Posts
    699 Views
    PeterJonesP

    My question for @Emmad-Kareem would be: what other apps that you use do provide such a feature?

    Have you asked the Excel developers to allow you to choose what icon you associate with spreadsheets? Do you expect IE/Edge/Chrome/Firefox/Opera to give you the option to choose a different icon for html files on your computer? Do you expect [insert your music-listening program here] to allow you change the icon for music files associated with that program?

    I have wracked my brain over all the different types of files I regularly use with default associations, and cannot come up with any type where my preferred application allows me to choose any icon I want for files they handle. If you know of any, I would be curious.

    Instead, in my experience, the general philosophy is, “if you want our program to be the default for a filetype: great, we’ll automatically choose an icon for you. If you don’t like that icon, it’s up to you, using the already-existing registry tools built into the OS (or any other third-party registry-editing tool you so desire) to do the change; you’re allowed to do it, but we’re not going to spend our time to do it for you”.

    (re: third party registry tools: nirsoft has the FileTypesManager, which can be used to manage all sorts of things to do with the verbs/actions and icons and programs associated with various file types / extensions)

  • Update Error - Unsupported 16-Bit Application

    3
    0 Votes
    3 Posts
    614 Views
    Alan KilbornA

    @Ekopalypse said in Update Error - Unsupported 16-Bit Application:

    the second r

    Gotta be a typo; the OP must have retyped the contents of a message box, and got it wrong. BTW, I’ve noticed that a lot of the message boxes in N++ have a hidden ctrl+c copy capability. Probably the the OP’s message box wasn’t one of these.

  • Updating Notepad++ Using Zip File

    13
    1 Votes
    13 Posts
    4k Views
    PeterJonesP

    @Loren-Schoepke said in Updating Notepad++ Using Zip File:

    Didn’t have a “Notepad++” folder". Not sure, but I think this gets created if you do an install. I just used ZIP file.

    You are correct. By default, an installer-version will use %AppData%\Notepad++ for storing configuration files and a zip (“portable”) version will just use the zip directory (because that’s part of what makes it “portable”).

    If you would like to maintain a separate %AppData%\Notepad++ but use the zip version, you can delete the doLocalConf.xml from the Notepad+±unzip directory; after that, the next time you run Notepad++, the %AppData%\Notepad++ folder will be created and populated; however, it might* not use the same settings that were in your zipfolder before. (*: caveat = I’ve only tried the deletion of doLocalConf.xml to auto-populate %AppData%\Notepad++ once, and wasn’t specifically looking for this feature, so I didn’t store it in long-term memory; I know it created the folder properly; my memory says that it used default config files, not copies of what’s in your zipfolder, but I could be wrong.)

  • Remove/Replace everything between two strings?

    5
    0 Votes
    5 Posts
    3k Views
    Matthew KampffM

    THANK YOU. Worked perfect. Thank you thank you

  • Show/Hide/Toggle the "Function List" window via Lua Script or Shortcut

    4
    1 Votes
    4 Posts
    740 Views
    Alan KilbornA

    @Emma-Walker said in Show/Hide/Toggle the "Function List" window via Lua Script or Shortcut:

    Clipboard History

    Clipboard History is a bit different. Once it is shown, executing the command again doesn’t close its window, it merely switches focus to it. There appears to be no keyboard-capable way of closing it; you have to use the mouse if you really want it closed, AFAICT.

  • Non-ASCII UDL delimiters

    2
    0 Votes
    2 Posts
    280 Views
    EkopalypseE

    @Wil-Fabrick said in Non-ASCII UDL delimiters:

    a certain range of characters for Comments and Delimiters,

    Seems so, like what fits in a char variable.

  • How to set "Font Name" for specific language?

    2
    0 Votes
    2 Posts
    522 Views
    EkopalypseE

    @Сергей-Друзь said in How to set "Font Name" for specific language?:

    I want the font to apply to the whole code except for keywords. Any ideas on how to solve the problem?

    If I understand correctly, then don’t mess with global styles.
    Define your DEFAULT style of the UDL LANGUAGE

    d0e361ff-289e-4697-8ac1-1b207d34827d-image.png

  • Erase what is not

    10
    0 Votes
    10 Posts
    663 Views
    Raffaele PretolaniR

    @PeterJones

    PERFECT!
    That’s exactly what I was looking for.
    Thank you very much, and sorry if I wasn’t clear.

    THANKS!

  • How to update shared copy of Notepad++

    2
    0 Votes
    2 Posts
    238 Views
    Alan KilbornA

    @Loren-Schoepke

    Responses to your earlier question did not satisfy?

  • How to change the color of the text selection?

    6
    1 Votes
    6 Posts
    3k Views
    Alan KilbornA

    But if you do that, remember, when you double-click a word it will still show in a combination of the two different color types.

  • Not able to save a file as .txt.

    7
    1 Votes
    7 Posts
    664 Views
    guy038G

    Hello, @gordonradford, @alan-kilborn and All,

    Alan, you said :

    I’d also advise turning on Windows’ ability to show you the extension

    Personally, it is, always, one the my first actions, right after installing any Windows operating system ;-))

    You also said :

    Why rely on having to look to another column to determine what your file type is?

    Well, I would say that this column isn’t completely useless as it allows you to sort your files according to their file type !

    Finally, you added :

    IMO, hiding file extensions is a crazy concept

    Oh, yes, you’re a thousand times right !

    BR

    guy038