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

    4
    0 Votes
    4 Posts
    746 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
    608 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
    568 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
    3k 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
    673 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
    256 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
    493 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
    558 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
    219 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
    2k 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
    588 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

  • Find All Occurrences Macro

    4
    1 Votes
    4 Posts
    737 Views
    Michael VincentM

    @guy038 said in Find All Occurrences Macro:

    Why don’t you use your macro, via its shortcut ( search of TODO:|BUG:|FIX:|REFACTOR:|DONE:|INFO: ) to get one instance of the title, presently needed, and then, simply use the Ctrl + F3 or Ctrl + Shift + F3 shortcuts to move around to the next or previous similar title ?

    Thanks, and not to be rude, but that kind of defeats the purpose. Maybe I should have explained a little better. When I mean “Find all Occurrences” I want the search results window to pop up with all occurrences the same as when I:

    highlight a word press CTRL-F press “Find All in Current Document”

    By making this a macro, I can then add it to the context menu and then a right-click on any word will have a click away, “Find All Occurrences” which will open the clickable search results window.

    Hope that better explains, seems it may not be possible though. Shame the $(CURRENT_WORD) variable can be used in the shortcuts.xml file for the <UserDefinedCommands> commands section, but not the <macros> section.

    Cheers.,

  • Add number in each word by Notepad++

    23
    1 Votes
    23 Posts
    2k Views
    CohenmichaelC

    @Ekopalypse

    Thank you so much. The script works very well !
    Thanks again for your precious help :)

  • Change "@" to a number, 1,2,3,4,5...

    9
    0 Votes
    9 Posts
    465 Views
    PeterJonesP

    @Ekopalypse said in Change "@" to a number, 1,2,3,4,5...:

    don’t expect text

    I’d phrase that as “don’t expect words”; it still decodes to ASCII characters which have meaning in the order in which they are presented, which by most definitions is “text”.

  • Replace second occurrence of a tag in multiple files

    8
    0 Votes
    8 Posts
    842 Views
    Anonymous GuyA

    @PeterJones @dinkumoil @dinkumoil
    <big>Thank you!</big>
    I’ve tested all three methods you provided and all of them worked. I’ll surely save this offline and come back to it in the future and try to understand it even better. Thank you for taking the time and effort to reply in such detail to my topic, appreciate it a lot. Always amazed at how a few simple lines can make your life much easier, I’ve optimized my workflow in many ways using portable software, renamers and many other things and can edit solutions from others but sadly I’m not yet able to come up with solutions like yours from scratch. Now that I think about it maybe I can give something in return. Search for “everything” by voidtools on Google, in case you don’t know about it… it’s great for personal use or much more. It scans all your drives (or mapped network locations) relatively fast (minute or two for say single 1TB drive), creates database and than you are able to find files with search terms like part of name, or for example search “june .doc” and it will find salaryjune2019.doc from parts of file name. I use it at work to search files on over 70 TB of data. It’s free, hope you find it useful, thanks again for your help and have a great day!

  • How to replace content in many files with content from one..

    3
    0 Votes
    3 Posts
    241 Views
    EkopalypseE

    If I read correctly, what about using something like this?

  • vector <T> too long

    2
    0 Votes
    2 Posts
    245 Views
  • How to fix newline and quotation mark

    8
    1 Votes
    8 Posts
    2k Views
    Prahlad-Makwana4145P

    Hello, @Andy-Light

    Please follow below steps :

    Step 1:- Find (in regular expression mode) (.+)
    Step 2:- Replace with: "/1"
    Step 3:- This adds the quotes :

    "word1" "word2" "word3" "word4"

    Step 4:- Find (in extended mode): /r/n
    Step 5:- Replace with (with a space after the comma, not shown): ,
    Step 6:- This converts the lines into a comma-separated list:
    "word1", "word2", "word3", "word4"

    I hope above information will be useful for you.
    Thank you.