Convert Case - Sentences

Contents  Previous  Next


Menu: Block > Convert Case > Sentences


Default Shortcut Key: none


Macro function: CaseSentences()


The Sentences command converts the first character of all sentences within the selected text to uppercase. For purposes of this command, a sentence is considered to be a series of words that ends with either a period, a question mark, or an exclamation mark.


Before conversion: the quick brown fox jumped over the lazy dog.

After conversion : The quick brown fox jumped over the lazy dog.


Boxer consults the case conversion map provided by the operating system so that accented characters can be properly converted.


bm2By default, this command will first convert the selected text to lowercase before capitalizing each sentence.  This ensures that the command operates as expected when processing text in all uppercase.  Converting to lowercase may disrupt some all-caps words (such as acronyms and proper nouns) that should have remained in uppercase, so you should review the results for accuracy after applying the conversion.  If you prefer that the selected text not be forced to lowercase prior to operation, you can change this behavior on the Configure | Preferences | Editing dialog page.