Lingo Dictionary > Lingo by Feature > Text

 

Text

These terms are useful for working with text, strings, and fields.

 
Manipulating strings

Use these terms to manipulate strings:

& (concatenator)

put...before

&& (concatenator)

put...into

delete

string()

hilite (cast member property)

stringP()

put...after

text


 
Chunk expressions

Use these terms to identify chunks of text:

char...of

number (words)

chars()

offset() (string function)

contains

paragraph

EMPTY

ref

item...of

selection (text cast member property)

itemDelimiter

selectedText

last()

selEnd (fields only)

length()

selStart (fields only)

line...of

string()

number (characters)

stringP()

number (items)

value()

number (lines)

word...of


 
Editable text

Use the editable property to specify whether text is editable.

 
Shocked fonts

Use these terms to include Shocked fonts with downloaded text:

bitmapSizes

originalFont

characterSet

recordFont


 
Character formatting

Use these terms to format text:

backColor

font

bgColor

fontSize

charSpacing

fontStyle

color (text)

foreColor

dropShadow


 
Paragraph formatting

Use these terms to format paragraphs:

alignment

rightIndent

bottomSpacing

tabCount

firstIndent

tabs

fixedLineSpace

topSpacing

leftIndent

wordWrap

margin


 
Text cast member properties

Use these terms to work with the entire text content of a text cast member:

antiAlias

kerning

antiAliasThreshold

kerningThreshold

autoTab

picture (cast member property)

HTML

RTF


Lingo that applies to chunk expressions is also available to the text within a text cast member.

 
Mouse pointer position in text

Use these terms to detect where the mouse pointer is within text:

pointInHyperlink()

pointToLine()

pointToChar()

pointToParagraph()

pointToItem()

pointToWord()


 
Text boxes for field cast members

Use these terms to set up the box for a field cast member:

border

lineHeight() (function)

boxType

lineHeight (cast member property)

lineCount

pageHeight


 
Scrolling text

Use these terms to work with scrolling text:

linePosToLocV()

scrollByLine

locToCharPos()

scrollByPage

locVToLinePos()

scrollTop


 
Constants

Use these terms to work with constants:

BACKSPACE

RETURN (constant)

EMPTY

VOID

ENTER