An experience to share



  • At the following comment, I hoped that Notepad++ to have a function that can simplify search and reverse search a keyword using 1 keystroke:
    https://community.notepad-plus-plus.org/topic/19879/double-clicking-over-a-word-function-works-great-but-it-can-be-much-greater-than-ever

    After long discussions with some experts here, they show no interest in it, but I really need the function. I am a hardware designer, using the VHDL language. During the hardware design process, a signal is defined on part A, implemented on part B, used on part C, D, … To make sure a signal is in a coherent designed state consistently through coding, one must repeatedly check the signal through a code file. That is why 1 keystroke action to search forward or backward for a word is very important to my job: save time!

    Screenshot (409).png

    I accidentally came across to find an ideal solution to the above request a month or two later after the post.

    Screenshot (411).png

    1. When the mouse cursor is on any word, press F1, the search goes to the next word all of which is highlighted (if it is properly set up); when the word is still on highlighted state, press F1 to find the next word or F2 to find the previous one.

    2. When no word is on highlighted state, for any reason, press F3 to continue to find the next word or F4 to find the previous one. The reason is when pressing F1, the keyword F1 handles is sent to a buffer which is shared by F3 and F4 keys.

    I don’t know how to search for my post on this website, so I did not have a chance to share the experience with others until PeterJones helps to point the address.



  • @W-TX
    I miss a point in the above post.
    3) If a highlighted word is changed to another different highlighted word and if F1 or F2 is not pressed, F3 or F4 continues their function without any change, because their buffer is not changed by F1 or F2. After F1 or F2 is pressed, F3 or F4 gets a new word to find.



  • @W-TX :

    I don’t know that this thread conveys much.
    All you’ve shown is that you remapped some of Notepad++'s functions to different keystrokes, and apparently you are using this with much success?
    If so, then good for you. But I don’t know that it has any kind of applicability to other users.

    If not, and you still have some sort of complaint, I guess you will have to try to state it in a clearer manner.



  • @W-TX said in An experience to share:

    At the following comment, I hoped that Notepad++ to have a function that can simplify search and reverse search a keyword using 1 keystroke:
    https://community.notepad-plus-plus.org/topic/19879/double-clicking-over-a-word-function-works-great-but-it-can-be-much-greater-than-ever

    It can, as we already told you in that other thread. That keystroke is Shift+Ctrl+F3 (Select and Find Previous) or Ctrl+Alt+Shift+F3 (Select and Find Previous - Volatile). Keystrokes with modifiers are still considered a “single keystroke” in the Windows world. If you disagree with that definition, fine. Then just use *Preferences > Shortcut Mapper to change the keystroke for Select and Find Previous. We told you this in August of last year. What part of that advice did you not understand.

    After long discussions with some experts here, they show no interest in it, but I really need the function.

    I have no interest in you asking the Notepad++ developers to break a feature that I use on a daily basis; instead, I want you to use the feature that you asked for that already exists.

    I am a hardware designer, using the VHDL language. During the hardware design process, a signal is defined on part A, implemented on part B, used on part C, D, … To make sure a signal is in a coherent designed state consistently through coding, one must repeatedly check the signal through a code file. That is why 1 keystroke action to search forward or backward for a word is very important to my job: save time!

    And that’s why that feature exists in both menus and via keystroke, and why Notepad++ allows you to define whatever keystroke you want for that action. There is no reason to break a different action for other users so that you can have another copy of a feature that already exists.

    I accidentally came across to find an ideal solution to the above request a month or two later after the post.

    Screenshot (411).png

    Wow! Impressive! This solution that you “accidentally came across a month or two later after the post” was exactly what Alan and I had suggested you do back in August 2020: remap the keystrokes so that the keys are ones that you are happy with. Congratulations.

    I don’t know how to search for my post on this website

    Click on your icon in the upper right (the W in a circle), then click on your name in that pulldown (W TX); on that new page, it will show your most recent posts. If you need to go farther back in time, hit the ⋮ button, and select Posts, which will show all your posts. Or, if you want to search for a particular one, click the 🔍 search button, in the search box enter the text you want to look for (maybe search next), and in the Advanced section, click in Posted By, and enter your own user name (W TX), like this


Log in to reply