Skip Down or Up Over Space or Text Lines

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


Skip Down or Up Over Space or Text Lines.


This function moves the cursor to the first character of a line of a block of information. The operation can go either up or down and can skip over lines that contain nothing but whitespace or lines that contain some text.


Move cursor down to first line that contains text.

tlaSkip( "D", "S" );

Move cursor up to first line that contains all whitespace.

tlaSkip( "U", "T" );

Input Parameters

Parm Name Code Meaning
1 Direction "D" Move cursor down.
"U" Move cursor up.
2 Skip Over "S" Skip over spaces.
"T" Skip over text.

Return Codes

Code Message/Meaning
-1 tlaSkip: Parameter missing.
-1 tlaSkip: Direction (parm 1) not "D" or "U".
-1 tlaSkip: Skip Over (parm 2) not "S" or "T".
-1 tlaSkip: Direction (parm 1) not "D" or "U" and skip over (parm 2) not "S" or "T".
0 No match found.
1 Match found.


This function calls tlaError.


Current version verified under:

  • Visual SlickEdit 8.0.1


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.


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.

tlaSkip 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