| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |
Arguments: stream line-number
Returns an integer indicating the character index of the first
character of the line-number'th line of text. line-number should be a
non-negative integer, with 0 indicating the first line of text.
stream can be a multi-line-editable-text
control,
or a text-edit-pane
.
The character index (the returned value) pertains to the string that is in the control, which may differ from a lisp string that was placed into the control programmatically by calling set-text. In particular, the Windows multi-line text-editing control that is currently used by Common Graphics always contains a carriage return / linefeed pair to separate lines of text, where a lisp string has a single newline character. Text is converted automatically when it is added to or copied from the control.
See also line-number-from-char.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.
| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |