LispWorks Editor User Guide > 3 Command Reference

NextPrevUpTopContentsIndex

3.20 Pages

Files are sometimes thought of as being divided into pages. For example, when a file is printed on a printer, it is divided into pages so that each page appears on a fresh piece of paper. The ASCII key sequence Ctrl+L constitutes a page delimiter (as it starts a new page on most line printers). A page is the region between two page delimiters. A page delimiter can be inserted into text being edited by using the editor command Quoted Insert (that is, type in Ctrl+Q Ctrl+L ).

Previous Page

Editor Command

Arguments: None
Key sequence: Ctrl+X [

Moves the current point to the start of the current page.

A prefix argument causes the current point to be moved backwards the appropriate number of pages.

Next Page

Editor Command

Arguments: None
Key sequence: Ctrl+X ]

Moves the current point to the start of the next page.

A prefix argument causes the current point to be moved forwards the appropriate number of pages.

Goto Page

Editor Command

Arguments: None
Key sequence: None

Moves the current point to the start of the next page.

A positive prefix argument causes the current point to be moved to the appropriate page starting from the beginning of the buffer. A negative prefix argument causes the current point to be moved back the appropriate number of pages from the current location. A prefix argument of zero causes the user to be prompted for a string, and the current point is moved to the next page with that string contained in the page title.

Mark Page

Editor Command

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

Puts the mark at the end of the current page and the current point at the start of the current page. The page thereby becomes the current region.

A prefix argument marks the page which is the appropriate number of pages on from the current one.

Count Lines Page

Editor Command

Arguments: None
Key sequence: Ctrl+X L

Displays the number of lines in the current page and the location of the current point within the page.

A prefix argument displays the total number of lines in the current buffer and the location of the current point within the buffer (so that page delimiters are ignored).

View Page Directory

Editor Command

Arguments: None
Key sequence: None

Displays a list of the first non-blank line after each page delimiter.

Insert Page Directory

Editor Command

Arguments: None
Key sequence: None

Inserts a listing of the first non-blank line after each page delimiter at the start of the buffer, moving the current point to the end of this list. The location of the start of this list is pushed onto the mark ring.

A prefix argument causes the page directory to be inserted at the current point.


LispWorks Editor User Guide (Windows version) - 22 Dec 2009

NextPrevUpTopContentsIndex