Purpose
Emulate Brief End and Home Commands.
These functions provides a true emulation of the Brief editor End key.
Operation
With the tlaBriefEnd( ) assigned to the End key ...
- End of Line - hit End key one time,
- Hit the End key one time and the cursor will move after
the last character on the current line.
- End of Screen - hit End key two times.
- Hit the End key two times and the cursor will move
after the last character on the last line in the screen.
- If the cursor started at the end of a line only one hit
of the End key is needed.
- End of Buffer - hit End key three times.
- Hit the End key three times and the cursor will move
after the last character of the last line in the buffer.
- If the cursor started at the end of the screen only one
hit of the End key is needed.
- If the cursor started at the end of a line only two hits
of the End key is needed.
With tlaBriefHome( ) assigned to the Home key ...
- Start of Line - hit Home key one time,
- Hit the Home key one time and the cursor will move to
the first character of the current line.
- Start of Screen - hit Home key two times.
- Hit the Home key two times and the cursor will move to
the first character of the screen.
- If the cursor started at the first character of a line
only one hit of the Home key is needed.
- Start of Buffer - hit Home key three times.
- Hit the Home key three times and the cursor will move to
the first character of the buffer.
- If the cursor started at the first character of the
screen only one hit of the Home key is needed.
- If the cursor started at the first character of a line
only two hit of the Home key are needed.
Example
tlaBriefEnd( );
tlaBriefHome( );
Input Parameters
None.
Return Codes
None.
Reference
These functions call tlaBeginLine,
tlaBottomBuffer, tlaBottomWindow,
tlaEndLine, tlaTopBuffer, and
tlaTopWindow.
Reference
None.
Compatibility
Current version verified under:
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.
tlaBrief is included as a
function in tlaSlick.
|