mcCapLet
Mark — Sat, 12/24/2005 - 23:18

The CapLet in mcCapLet stands for Capitalize Letters. mcCapLet has several options for changing letters to upper or lower case on selected text. As of version 1.0 mcCapLet resides on the Tools actionbar instead of Beta. Some of the new features are:
- Right-click menu for accessing plugin actions.
- Preferences dialog for enabling the right-click menu and
- Setting the default button-click action.
There are five options besides the main button, let's take a look at them;

We'll be using the following sentence as an example to demonstrate the results of each of the different options:
example sentence: i love HTML-Kit. don't you?
The Button
Pressing the main button invokes the SeNteNceS routine by default. This default behavior can be changed in Preferences. The SeNteNceS routine will capitalize the first letter of each sentence but leave all other letters in the sentence as is. Here is some key points to keep in mind:
- If the first character of a sentence is anything other than a letter (including blank space), then no change is made.
- No other letters in the sentence(s) are modified, only the first one.
- The first character in the selected text is considered the beginning of a
sentence and will always be capitalized (if it's a letter).
One of the more important aspects of this routine is how this plugin determines
when a new sentence begins. If one of the following three characters is followed by a space, the next character is considered to be the beginning of a sentence.
- A period (.)
- An exclamation mark (!)
- A question mark (?)
If the character is anything other than a letter (this includes blank spaces)
no change is made based on the rules listed above.
example sentence: i love HTML-Kit. don't you?
result: I love HTML-Kit. Don't you?
SeNteNceS
Same as the main button described above.
example sentence: i love HTML-Kit. don't you?
result: I love HTML-Kit. Don't you?
Sentences
Same as the button and SeNteNceS except it will transform all other words/letters to lower case.
example sentence: i love HTML-Kit. don't you?
result: I love html-kit. Don't you?
UPPER
Convert all letters to uppercase.
example sentence: i love HTML-Kit. don't you?
result: I LOVE HTML-KIT. DON'T YOU?
lower
Converts all letters to lowercase.
example sentence: i love HTML-Kit. don't you?
result: i love html-kit. don't you?
Reverse
Changes all uppercase letters to lowercase, and all lowercase letters to uppercase
example sentence: i love HTML-Kit. don't you?
result: I LOVE html-kIT. DON'T YOU?
Words
Sets the first letter (if it's a letter) of each word to uppercase and transforms all other letters to lowercase.
example sentence: i love HTML-Kit. don't you?
result: I Love Html-kit. Don't You?
WoRdS
Same as Words except it will only capitalize the first letter and will leave the other letters as is.
example sentence: i love HTML-Kit. don't you?
result: I Love HTML-Kit. Don't You?
You can download this plugin on the HTML-Kit web site. Installation instructions, etc. are also available.