XEmacsNull Blog

Bi-Day XEmacs Tip Blog

Wednesday, October 12, 2005

Tip: Transpose Words

Question: How to flip two words. . . .

Answer: Occasionally, you'll run into circumstances to flip words. They have to be beside each other of course. Simply use the transpose command.

A curious thing is it works by ignoring symbols. So, if you want to switch a boolean variables value. Try this.

statePrinting = TRUE; // FALSE

Place the cursor on the // and try it out.

Capitalize Word: Alt-t

Platform: Linux
Level: Basic
GlR

0 Comments:

Post a Comment

<< Home