Seed7 - The extensible programming language
Seed7 FAQ Manual Screenshots Examples Libraries Algorithms Download Links
Libraries AES ARC4 Array ASN.1 Bigfile Bigint Bigrat Bin32 Bin64 Bitdata Bitmapfont Bitset Bitsetof Boolean Browser Bstring Bytedata Cards Category CC config Cgi Cgi dialog Char Charsets Cipher Clib_file Color CLI Commands Complex Console Crc32 Deflate DES Dialog Dir Draw Duration Echo Editline Enable_input Enable_io Enable_output Encoding Environment External_file File File system Float Font Forloop Ftp Getf Gethttp Gethttps Graph Graph_file Gzip Hash Hashsetof Hmac Html_ent Httpserv Idxarray Image Inflate Inflate file Inifile Integer Keybd Line Listener LZW Make Math Msgdigest Null_file Osfiles Picture utility Pixmap_file Pixmapfont PKCS #1 Poll Process Progs Propertyfile Rational Reference Ref_list Scanfile Scanstri Set Shell Smtp Sockbase Socket SQL base Stdio Strifile String Stritext Subrange Tar Text Time TLS/SSL Triple DES Unicode Utf16 Utf8 Vectorfont 3D Vector Wildcard Window Wrinum X.509 Xmldom Xml_ent Zip
Libraries
Text Source Code
 previous   up   next 

Types
text
Interface type for line/column oriented files.

text

const type: text

Interface type for line/column oriented files. The text interface is implemented with console_file, graph_file, window_file, pixmapFontFile, stritext and many other types.


Function Summary
integer
height (in text: aText)
Get the height of aText.
integer
width (in text: aTExt)
Get the width of aText.
integer
line (in text: aText)
Determine the current line of aText.
integer
column (in text: aText)
Determine the current column of aText.
void
clear (inout text: aText, in integer: upper, in integer: left, in integer: lower, in integer: right)
Clear an area of aText with the background color.
void
clear (inout text: aText)
Clear the area of aText with the background color.
void
color (inout text: aText, in color: foreground)
Set the current foreground color of aText.
void
color (inout text: aText, in color: foreground, in color: background)
Set the current foreground and background color of aText.
void
setPos (inout text: aText, in integer: line, in integer: column)
Set the current position of aText to line and column.
void
setPosXY (inout text: aText, in integer: xPos, in integer: yPos)
Set the current position of aText to the coordinates (xPos, yPos).
void
setLine (inout text: aText, in integer: line)
Set the line of the current position of aText.
void
setColumn (inout text: aText, in integer: column)
Set the column of the current position of aText.

Function Detail

height

const func integer: height (in text: aText)

Get the height of aText.

Returns:
the height of aText.

width

const func integer: width (in text: aTExt)

Get the width of aText.

Returns:
the width of aText.

line

const func integer: line (in text: aText)

Determine the current line of aText.

Returns:
the current line of aText.

column

const func integer: column (in text: aText)

Determine the current column of aText.

Returns:
the current column of aText.

clear

const proc: clear (inout text: aText, in integer: upper, in integer: left, in integer: lower, in integer: right)

Clear an area of aText with the background color. The area is specified in (line, column) coordinates and is between the (upper, left) and (lower, right).


clear

const proc: clear (inout text: aText)

Clear the area of aText with the background color.


color

const proc: color (inout text: aText, in color: foreground)

Set the current foreground color of aText.


color

const proc: color (inout text: aText, in color: foreground, in color: background)

Set the current foreground and background color of aText.


setPos

const proc: setPos (inout text: aText, in integer: line, in integer: column)

Set the current position of aText to line and column.


setPosXY

const proc: setPosXY (inout text: aText, in integer: xPos, in integer: yPos)

Set the current position of aText to the coordinates (xPos, yPos).


setLine

const proc: setLine (inout text: aText, in integer: line)

Set the line of the current position of aText.


setColumn

const proc: setColumn (inout text: aText, in integer: column)

Set the column of the current position of aText.



 previous   up   next