ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Clipboard Help+Spell

Highlight not working on the last few instances of a word in a clip.

(1/1)

IainB:
Highlight in the CHS Memo pane seems to not work on the last few instances of a word in a large clip.
What are the constraints to the highlight function? Does it not go beyond a certain point in a clip?

mouser:
I wasn't aware there is any limit but it's a third party component doing the highlighting and it's possible there is some limitation or bug.  Do you notice anything more predictable about when the problem shows up?

IainB:
...Do you notice anything more predictable about when the problem shows up?
_______________________
-mouser (June 28, 2017, 01:07 AM)
--- End quote ---

Well, it's repeatable, but variable, rather than consistent.

For example:

* In one large clip, which had variable length lines of text, with 9 occurrences of a term, the term was highlighted only 7 times (the first 7 occurrences).


* In another clip where the term was repeated as just one word on each line of the clip, for 500 lines, only the first 101 occurrences (lines) were highlighted.


* In another clip where there were 672 lines with hundreds of occurrences of the term in variable length lines, all the terms were highlighted up to and including line 535, and none thereafter, though there were many occurrences of the term after that line.
So it seems as though the variability of result may have something to do with the number of occurrences of the term to be highlighted, the number of lines and the length of each line.

I had noticed this before but never mentioned it as it seemed a minor issue. I only noticed it today because the count of occurrences of a term was important to me. When I saw that not all occurrences had been highlighted, I thought to myself that I really should mention it to you, because the functionality is not reliable/consistent in this state.

Sorry I can't be of more help, but you will no doubt discover the same problem if you experiment a bit.

Navigation

[0] Message Index

Go to full version