This isn't search function. It doesn't know number of occurences.
It paint same search as selected. Nothing else.
If you will keep selection and you will scroll over your document (e.g. with
mouse), you will see occurences over whole document. But I don't know number of
Highlighting is done only on visible part of page.

If you mean when you select text, PSpad should search over whole document, count
occurences an do it every time when you change selection, it isn't possible. Can
you imagine to do it in few MB large document?

I figured, but

how about a new feature like

the button in the search menu that counts the occurrences

when you highlight a text then you will be able to press a keyboard shortcut
that counts and displays a message with the total occurrences

you could use the source code that is available on the PSPAD and just add a
keyboard shortcut

what is your opinion?

PSPad freeware editor

Odpovedet emailem