NextPrevUpTopContentsIndex

3.13 Case conversion

This section provides details of the commands which allow case conversions on both single words and regions of text. The three general types of case conversion are converting words to uppercase, converting words to lowercase and converting the first letter of words to uppercase.

Lowercase Word

Editor Command

Arguments: None
Key sequence: Alt+L

Converts the current word to lowercase, starting from the current point. If the current point is between two words, then the next word is converted.

A negative prefix argument converts the appropriate number of words before the current point to lowercase, but leaves the current point where it was.

Uppercase Word

Editor Command

Arguments: None
Key sequence: Alt+U

Converts the current word to uppercase, starting from the current point. If the current point is between two words, then the next word is converted.

A negative prefix argument converts the appropriate number of words before the current point to uppercase, but leaves the current point where it was.

Capitalize Word

Editor Command

Arguments: None
Key sequence: Alt+C

Converts the current word to lowercase, capitalizing the first character. If the current point is inside a word, the character immediately after the current point is capitalized.

A negative prefix argument capitalizes the appropriate number of words before the current point, but leaves the point where it was.

Lowercase Region

Editor Command

Arguments: None
Key sequence: Ctrl+X Ctrl+L

Converts all the characters in the region between the current point and the mark to lowercase.

Uppercase Region

Editor Command

Arguments: None
Key sequence: Ctrl+X Ctrl+U

Converts all the characters in the region between the current point and the mark to uppercase.

Capitalize Region

Editor Command

Arguments: None
Key sequence: None

Converts all the words in the region between the mark and the current point to lowercase, capitalizing the first character of each word.


LispWorks Editor User Guide (Windows version) - 14 Mar 2008

NextPrevUpTopContentsIndex