diff options
author | vincentdarley <vincentdarley> | 2003-11-08 17:22:45 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley> | 2003-11-08 17:22:45 (GMT) |
commit | 2551f96c4652be256bc2480e4fcc05c7065f6665 (patch) | |
tree | d3be8a33f1d8bfc5c803dad0b85a7b30184743b9 /generic/tkText.h | |
parent | f4b5ed83cac2135eee47665181613178a33293ee (diff) | |
download | tk-2551f96c4652be256bc2480e4fcc05c7065f6665.zip tk-2551f96c4652be256bc2480e4fcc05c7065f6665.tar.gz tk-2551f96c4652be256bc2480e4fcc05c7065f6665.tar.bz2 |
elide tag handling, once more
Diffstat (limited to 'generic/tkText.h')
-rw-r--r-- | generic/tkText.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/generic/tkText.h b/generic/tkText.h index 89e4f7b..16e617a 100644 --- a/generic/tkText.h +++ b/generic/tkText.h @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkText.h,v 1.18 2003/11/07 15:36:26 vincentdarley Exp $ + * RCS: @(#) $Id: tkText.h,v 1.19 2003/11/08 17:22:46 vincentdarley Exp $ */ #ifndef _TKTEXT @@ -827,13 +827,16 @@ typedef int TkTextCountType; #define LOTSA_TAGS 1000 typedef struct TkTextElideInfo { - int numTags; - int elide; - int elidePriority; - int deftagCnts[LOTSA_TAGS]; + int numTags; /* Total tags in widget */ + int elide; /* Is the state currently elided */ + int elidePriority; /* Tag priority controlling elide state */ + TkTextSegment *segPtr; /* Segment to look at next */ + int deftagCnts[LOTSA_TAGS]; TkTextTag *deftagPtrs[LOTSA_TAGS]; - int *tagCnts; - TkTextTag **tagPtrs; + int *tagCnts; /* 0 or 1 depending if the tag with + * that priority is on or off */ + TkTextTag **tagPtrs; /* Only filled with a tagPtr if the + * corresponding tagCnt is 1 */ } TkTextElideInfo; /* |