tlaCursor
Move Cursor and Report Distance Moved

Visual SlickEdit® - Slick-C Macro - Royalty Free - 2005.01.01 17:15
Send Comments

Purpose

Move Cursor and Report Distance Moved.

Operation

This package provides six functions for moving the cursor. Unlike their Visual SlickEdit counterparts, each of these functions reports the number of lines or columns that were skipped. The functions are:

  • tlaBeginLine - move cursor to first column of current line and report number of columns skipped.

  • tlaBottomBuffer - move cursor to last line and last column of current buffer and report number of lines skipped.

  • tlaBottomWindow - move cursor to last line and last column of current window and report number of lines skipped.

  • tlaEndLine - move cursor to last column of current line and report number of columns skipped.

  • tlaTopBuffer - move cursor to first line and first column of current buffer and report number of lines skipped.

  • tlaTopWindow - move cursor to first line and first column of current window and report number of lines skipped.

Examples

tlaBeginLine( )
tlaBottomBuffer( )
tlaBottomWindow( )
tlaEndLine( )
tlaTopBuffer( )
tlaTopWindow( )

Input Parameters

None.

Return Codes

Reference

None.

Value Function
columns skipped tlaBeginLine
lines skipped tlaBottomBuffer
lines skipped tlaBottomWindow
columns skipped tlaEndLine
lines skipped tlaTopBuffer
lines skipped tlaTopWindow

Compatibility

Current version verified under:

  • Visual SlickEdit 8.0

Installation

Perform the following steps:

  • Select the Code button on this page.
  • When the second window opens, select all the text in the text box.
  • Issue Ctl-C (copy).
  • Create a file in Visual SlickEdit with type Slick-C and extension ".e".
  • Issue Ctl-V (paste).
  • Issue Ctl-S (save).
  • Select PFK-12 to compile the macros.

Purchase

tlaSlick is a Visual Slick-C module that contains all of the Slick-C macros on this website in a single easy to install package. The tlaSlick module can be purchased by selecting the Buy button on this page.

tlaCursor is included as a function in tlaSlick.

Copyright © 1993-2005 Thom Little Associates, Ltd. revised 2005.01.01 17:15
One Central Square, Keene, NH 03431-3787 phone 603-357-7567