I don't understand the "Color all occurrences" feature from the context menu in npp++ 4.9.2.
When I select some text and click on this action in the context menu, the selected text turn pink but not none of the other occurrences are colored. Moreover nothing more is colored if I repeat the same action with some other text.
Could anyone explain me how this action works ? Should I report it as a bug ?
Regards,
mathmax
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It turns out the highlighting and mark functions require your selection to be a complete and separated word, causing all kinds of confusion about why some things do and others don't get highlighted or marked.
I don't understand why a highlighting function wouldn't just highlight _any_ selection.
You can use the CTRL+F find dialog to mark all occurrences, but don't think "Mark line" will do this for you. This will BOOKMARK all lines containing a match. If you want lines to be marked (or highlighted, please, be consistent in naming those features!), you have to choose the "Style found token" option in this dialog.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't understand the "Color all occurrences" feature from the context menu in npp++ 4.9.2.
When I select some text and click on this action in the context menu, the selected text turn pink but not none of the other occurrences are colored. Moreover nothing more is colored if I repeat the same action with some other text.
Could anyone explain me how this action works ? Should I report it as a bug ?
Regards,
mathmax
Could anybody help me to understand this problem ?
Regards,
mathmax
See also this thread:
"small bug in smart highlighting" (Open Discussion forum)
http://sourceforge.net/forum/forum.php?thread_id=2038967&forum_id=331753
It turns out the highlighting and mark functions require your selection to be a complete and separated word, causing all kinds of confusion about why some things do and others don't get highlighted or marked.
I don't understand why a highlighting function wouldn't just highlight _any_ selection.
You can use the CTRL+F find dialog to mark all occurrences, but don't think "Mark line" will do this for you. This will BOOKMARK all lines containing a match. If you want lines to be marked (or highlighted, please, be consistent in naming those features!), you have to choose the "Style found token" option in this dialog.