| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |