The "mark all" function doesn't math whole word only.
Sometime we need this option, sometime we needn't.
So we can use the "Match whole word only" option of the "find and replace dialog" in the markAll function to improve our Npp experience.
Here is a patch.
Thanks a lot for your job, N++ rocks