|
Class: TextLines
Object
|
+--TextLines
- Package:
- stx:libcompat
- Category:
- Compatibility-ST80
- Version:
- rev:
1.6
date: 2021/01/20 14:55:05
- user: cg
- file: TextLines.st directory: libcompat
- module: stx stc-classLibrary: libcompat
ST-80 compatibility class.
This may be required when existing code has to be ported to ST/X;
however, it may not be complete and more protocol may be added in the future.
The code here was created when public domain code (Manchester) had to
be ported to ST/X and missing classes/methods were encountered, and code added
by reasoning 'what the original class could probably do there'.
This is currently not used by ST/X itself.
This is an additional goody class; therefore:
THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTOR ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTOR BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
copyrightCOPYRIGHT (c) 1997 by eXept Software AG / Claus Gittinger
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
accessing
-
lineGrid
-
return the line grid from the textAttributes
-
numberOfLines
-
return the number of lines
** This method must be redefined in concrete classes (subclassResponsibility) **
-
textStyle
-
return textStyle
-
textStyle: something
-
set textStyle
accessing-contents
-
lineAt: index
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
lineIndexOfTop: top
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
lineRangeFor: aRectangle
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
textAt: index
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
topAtLineIndex: index
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
visibleRectangleFrom: start to: stop
-
** This method must be redefined in concrete classes (subclassResponsibility) **
queries
-
bottom
-
-
extent
-
-
height
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
left
-
-
right
-
-
top
-
-
topLeft
-
-
width
-
** This method must be redefined in concrete classes (subclassResponsibility) **
|