edit "Character Mark Demo" nomods ex [top][data cursor][unmark][mark line][bottom][mark line][delete mark] set margins 10 70 ex [execute key zz-10] [execute key zz-10] [up 5] ex [display 4] 'The character mark can be used for ' ex [display 4] 'marking characters, words, sentences, or paragraphs. ' [execute key zz-11] ex [display 4] 'With this mark it is possible to define keys that will ' ex [display 4] 'make a word u'[left][store cursor][right][display 4]'ppercase'[left][mark char] ex [recall cursor][mark char][end mark][right][update][wait 10][uppercase][update][wait 10] ex [unmark][update][wait 10] ex [display 4] ' or L'[left][store cursor][right][display 4]'OWERCASE.'[left][mark char] ex [recall cursor][mark char][end mark][right][update][wait 10][lowercase][update][wait 10] ex [unmark][update][wait 10][execute key zz-11] ex [display 4] 'When assigned to a key and executed repeatedly the action will look like this. ' ex [wait 10][left margin] ex [execute key a-k][update][wait 3] ex [execute key a-k][update][wait 3] ex [execute key a-k][update][wait 3] ex [execute key a-k][update][wait 3] ex [wait 10][left margin] ex [execute key a-i][update][wait 3] ex [execute key a-i][update][wait 3] ex [execute key a-i][update][wait 3] ex [execute key a-i][update][wait 10] ex [execute key zz-11] ex [display 4] 'capitalizing '[wait 5][execute key a-v][update][wait 5] ex [display 4] 'words is also easily accomplished through the use of character marks.'[wait 10] ex [wait 10][left margin] ex [execute key a-v][update][wait 3] ex [execute key a-v][update][wait 3] ex [execute key a-v][update][wait 3] ex [execute key a-v][update][wait 10] ex [execute key zz-11] ex [execute key zz-11] ex [execute key zz-11] ex [execute key zz-11][up 6] ex [display 4]'It is also possible to exchange the position of two words. For example, '[wait 5] ex [display 4]'W'[left][store cursor][right][display 4]'ORD_1'[wait 10] ex [left][mark char][recall cursor][mark char][end mark][right][update] ex [display 4]' to be exchanged with w'[left][store cursor][right][display 4]'ord_2'[wait 10] ex [store mark][unmark] ex [left][mark char][recall cursor][mark char][end mark][right][update] ex [display 4]'.' ex [wait 10][execute key sa-z][update][wait 10][execute key zz-11] ex [display 4]'A useful feature for editing documents is marking text to the next ' ex [display 4]'punctuation symbol. ' ex [store cursor] ex [display 4]'Doing so from the begining of ' ex [display 4]'this sentence, will look as follows. ' ex [store cursor][recall cursor 2][wait 10][execute key a-decimal][update][wait 10][recall cursor] ex [display 4]'When the operation is ' ex [display 4]'repeated it will extend the mark to the next sentence if ' ex [display 4]'necessary. Allowing you to mark parts or whole paragraphs ' ex [display 4]'easily. ' ex [end mark][right][wait 10] ex [execute key a-decimal][update][wait 10] ex [execute key a-decimal][update][wait 10] ex [execute key a-decimal][update][wait 10] ex [execute key a-decimal][update][wait 10] ex [execute key zz-11] ex [display 4]'As with all other marks, once selected you can copy, move, delete, ' ex [display 4]'shift, upper/lowercase, etc..., the selected text.' ex [error] 'Shifting left ... ' ex [shift left][update][wait 5] ex [shift left][update][wait 5] ex [shift left][update][wait 5] ex [shift left][update][wait 5] ex [shift left][update][wait 5] ex [error] 'Shifting right ... ' ex [shift right][update][wait 5] ex [shift right][update][wait 5] ex [shift right][update][wait 5] ex [shift right][update][wait 5] ex [shift right][update][wait 5] ex [error] 'Make uppercase ... ' ex [uppercase][update][wait 5] ex [error] 'Make lowercase ... ' ex [lowercase][update][wait 15] ex [error] 'Delete ... ' ex [delete mark][update][wait 5] set margins 5 75 ex [execute key zz-11] ex [display 4]'Alt-C specifies the START/END of the CHARACTER mark.'[execute key zz-12] ex [display 4]'Alt-U UNMARKS any existing mark.'[execute key zz-12] ex [display 4]'Alt-D DELETES existing mark.'[execute key zz-12] ex [display 4]'Alt-M MOVES existing mark to the cursor position.'[execute key zz-12] ex [display 4]'Alt-Z COPIES existing mark to the cursor position.'[execute key zz-12] ex [display 4]'Alt-K UPPERCASES WORD.'[execute key zz-12] ex [display 4]'Alt-I LOWERCASES WORD.'[execute key zz-12] ex [display 4]'Alt-V CAPITALIZES WORD.'[execute key zz-12] ex [execute key zz-12]