NextPrevUpTopContentsIndex

6.3.9 Movement

editor:line-end

Function

editor:line-end point

Moves point to be located immediately before the next newline character, or the end of the buffer if there are no following newline characters.

editor:line-start

Function

editor:line-start point

Moves point to be located immediately after the previous newline character, or the start of the buffer if there are no previous newline characters.

editor:character-offset

Function

editor:character-offset point n

Moves point forward n characters. If n is negative, point moves back n characters.

editor:word-offset

Function

editor:word-offset point n

Moves point forward n words. If n is negative, point moves back n words.

editor:line-offset

Function

editor:line-offset point n &optional to-offset

Moves point n lines forward, to a location to-offset characters into the line. If n is negative, point moves back n lines. If to-offset is nil (its default value), an attempt is made to retain the current offset. An error is signalled if there are not n further lines in the buffer.

editor:form-offset

Function

editor:form-offset point n &optional form depth

Moves point forward n Lisp forms. If n is negative, point moves back n forms. If form is t (its default value) then atoms are counted as forms, otherwise they are ignored. Before point is moved forward n forms, it first jumps out depth levels. The default value for depth is 0.


LispWorks Editor User Guide (Windows version) - 23 Feb 2006

NextPrevUpTopContentsIndex