Carbon


ATSUTextMoved

Header: ATSUnicode.h Carbon status: Supported

Updates the location of text in physical memory.

OSStatus ATSUTextMoved (
    ATSUTextLayout iTextLayout, 
    ConstUniCharArrayPtr iNewLocation
);
Parameter descriptions
iTextLayout

A reference to an initialized text layout object containing text whose physical memory text location you want to update. You cannot pass NULL for this parameter.

iNewLocation

A pointer to the beginning of the new location of the physical memory of the text buffer.

function result

A result code.

DISCUSSION

The ATSUTextMoved function updates the location of text in physical memory to reflect the location that you moved the buffer to. You are responsible for moving the text. The text buffer should remain otherwise unchanged.

If the user deletes, inserts, or moves text in a text layout object and the range of text covers the entire text buffer, you should not call ATSUTextMoved. Instead,

You can then call the function ATSUDrawText to display the updated text.

VERSION NOTES

Available beginning with ATSUI 1.0.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.5 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)