PDA

Click to See Complete Forum and Search --> : Caps lock detector


baja_yu
Jun 11th, 2010, 08:23 PM
Found something interesting about it. Take a look at this thread in the forum test area: http://www.vbforums.com/showthread.php?p=3821241

This is the original text I posted (edited the quote tags to show them as text) in post #1 is below. In post two "Lol." is in proper case.

-----------------
[quote]This Is A SaMple meSSage to tEST the caps lock Detector.[ /quote]

LOL.
-----------------

Seems that the caps lock detector skips the quotes (if it checked them it would see that it's not all caps), checked just message body and figured out it was all caps, but it 'fixed' the entire message along with the quoted text.

Suggestions: Have it check quoted text too. Have it revert to proper case instead of all lower case.


EDIT: Lesser comment: 'special codes' FAQ link in this thread is broken: http://www.vbforums.com/announcement.php?f=39&a=29

JPnyc
Jun 14th, 2010, 02:36 PM
The idea is that the text which is quoted would have been addressed in the original post, therefore it's not needed to be checked again.

baja_yu
Jun 14th, 2010, 02:46 PM
That's understandable. But after the check the correction code still treats it along with the new text.

JPnyc
Jun 14th, 2010, 03:22 PM
It only reacts to all capitals. If there is a single letter in the entire post which is not capitalized, it will do nothing.

baja_yu
Jun 14th, 2010, 03:50 PM
Yes. I understand that. In that check it skips quotes like you mentioned. But my point is that, when it detects that new text is all caps, it auto-corrects it to all lower case, but it doesn't convert just the new text (that it checked) but converts the quoted text too, like it's noticable in my test post. Plus, it would be nicer if it converted to proper case instead of lower case.