(me) + (-tic - suffix; having to do with) = Mark-tic

Marktic - mess with it until it breaks

  • blog
  • stories
  • genealogy
  • login
Home › My HTML-Kit › HTML-Kit › Plugins

mcCapLet

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

mccapletlrg.gif

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;

mccapletmenu.gif

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

mccapletbutton.gif

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:

  1. If the first character of a sentence is anything other than a letter (including blank space), then no change is made.
  2. No other letters in the sentence(s) are modified, only the first one.
  3. 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.

‹ Plugins up mcComIt ›
  • HK Plugins
  • Login or register to post comments

My HTML-Kit

  • HTML-Kit
    • Plugins
      • mcCapLet
      • mcComIt
      • mcHeaderP
      • mcHybridList
      • mcInsertSpaces
      • mcLinesToLinks
      • mcMakeList
      • mcMultiTag
      • mcPWrap
      • mcWrapAtColumn
    • Mini-articles

Main

  • Home
  • My Blog
  • My Stories
  • Photo Gallery
  • Our Pets
  • My HTML-Kit
  • Free Software

Genealogy

  • My Genealogy
  • Family Tree

Recent blog posts

  • Wow, it's been that long?!
  • Japan, July 2009
  • Yellowstone 2009
  • Know what you believe and why
  • Family tree and photo gallery up and going
  • Mark's Virtual Playground is no more
  • Time for an update
  • Singapore 2008
  • We Survived Gustav
  • Photo Gallery back up, sort of
more
  • blog
  • stories
  • genealogy
  • login

Personal website of Mark Cunningham, Zachary, Louisiana

Powered by Drupal, an open source content management system

HTML-Kit Button