At first I recorded a macro as inserting a dashed line and a CR:
-------<cr>
and assigned it to function key F4.
OK. Then I tried to apply this to the current text file.
I positioned the cursor at a desired place and hit F4
expecting to get an inserted dashed line.
But nothing happend.
Are function key assignments without ALT or CTRL possible at all?
Do I have to enable them explicitely?
Whats wrong otherwise?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
F4 is being used to Go to next found result. It has sliped from the menus once again since its introduction (5.2?). But you can see it listed on the Shortcut mapper though, and it works. Same for Shift-F4 and F7.
I'd avoid overriding a key combo with a core binding without remapping the function to another key combo prior.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2009-06-15
So you are telling me that it is impossible or not recommended to overwrite existing hotkeys?
Say from other editors I am used to hit F4 for a certain macro.
So I want to use it in Notepad++ as well.
But even after your answer it does not work.
Do you have another solution?
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you bind anything to a key combination that already exists, the binding is rejected. You must first remap Go to next found result to some other key combo (None is an option), and then you can bind F4 to something.
Now, this Goto next found result command is a litle special. If you are using any localisation file, you won't see the name in Shortcut mapper, just the "F4" in the right column. If you don't use a localisation (delete nativeLang.xml to do that), you'll recover the name.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
At first I recorded a macro as inserting a dashed line and a CR:
-------<cr>
and assigned it to function key F4.
OK. Then I tried to apply this to the current text file.
I positioned the cursor at a desired place and hit F4
expecting to get an inserted dashed line.
But nothing happend.
Are function key assignments without ALT or CTRL possible at all?
Do I have to enable them explicitely?
Whats wrong otherwise?
F4 is being used to Go to next found result. It has sliped from the menus once again since its introduction (5.2?). But you can see it listed on the Shortcut mapper though, and it works. Same for Shift-F4 and F7.
I'd avoid overriding a key combo with a core binding without remapping the function to another key combo prior.
CChris
So you are telling me that it is impossible or not recommended to overwrite existing hotkeys?
Say from other editors I am used to hit F4 for a certain macro.
So I want to use it in Notepad++ as well.
But even after your answer it does not work.
Do you have another solution?
Thomas
If you bind anything to a key combination that already exists, the binding is rejected. You must first remap Go to next found result to some other key combo (None is an option), and then you can bind F4 to something.
Now, this Goto next found result command is a litle special. If you are using any localisation file, you won't see the name in Shortcut mapper, just the "F4" in the right column. If you don't use a localisation (delete nativeLang.xml to do that), you'll recover the name.
CChris