24 lines
1.1 KiB
Plaintext
24 lines
1.1 KiB
Plaintext
$OpenBSD: patch-generic_tkText_h,v 1.1 2006/01/08 17:20:11 naddy Exp $
|
|
--- generic/tkText.h.orig Mon Sep 14 20:23:18 1998
|
|
+++ generic/tkText.h Sun Jan 8 18:09:42 2006
|
|
@@ -370,6 +370,10 @@ typedef struct TkTextTag {
|
|
* Must be tkTextCharUid, tkTextNoneUid,
|
|
* tkTextWordUid, or NULL to use wrapMode
|
|
* for whole widget. */
|
|
+ char *elideString; /* -elide option string (malloc-ed).
|
|
+ * NULL means option not specified. */
|
|
+ int elide; /* Non-zero means text is elided.
|
|
+ * Only valid if elideString is non-NULL. */
|
|
int affectsDisplay; /* Non-zero means that this tag affects the
|
|
* way information is displayed on the screen
|
|
* (so need to redisplay if tag changes). */
|
|
@@ -800,6 +804,8 @@ extern void TkTextLostSelection _ANSI_A
|
|
ClientData clientData));
|
|
extern TkTextIndex * TkTextMakeIndex _ANSI_ARGS_((TkTextBTree tree,
|
|
int lineIndex, int charIndex,
|
|
+ TkTextIndex *indexPtr));
|
|
+extern int TkTextIsElided _ANSI_ARGS_((TkText *textPtr,
|
|
TkTextIndex *indexPtr));
|
|
extern int TkTextMarkCmd _ANSI_ARGS_((TkText *textPtr,
|
|
Tcl_Interp *interp, int argc, char **argv));
|