diff options
author | vincentdarley <vincentdarley> | 2005-10-10 10:36:34 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley> | 2005-10-10 10:36:34 (GMT) |
commit | 465cf308ea2f63fa388ed9e0e055c82e8e9e3ca3 (patch) | |
tree | ce21d5eee20f7e5c9a628e238ad0a87a0aaeebad /generic/tkTextImage.c | |
parent | ebaf2538558086d8a3749809e5863e1b134f19ab (diff) | |
download | tk-465cf308ea2f63fa388ed9e0e055c82e8e9e3ca3.zip tk-465cf308ea2f63fa388ed9e0e055c82e8e9e3ca3.tar.gz tk-465cf308ea2f63fa388ed9e0e055c82e8e9e3ca3.tar.bz2 |
tip256 implementation
Diffstat (limited to 'generic/tkTextImage.c')
-rw-r--r-- | generic/tkTextImage.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/generic/tkTextImage.c b/generic/tkTextImage.c index fa95e3c..767fef9 100644 --- a/generic/tkTextImage.c +++ b/generic/tkTextImage.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkTextImage.c,v 1.15 2005/08/10 22:02:22 dkf Exp $ + * RCS: @(#) $Id: tkTextImage.c,v 1.16 2005/10/10 10:36:35 vincentdarley Exp $ */ #include "tk.h" @@ -268,7 +268,7 @@ TkTextImageCmd(textPtr, interp, objc, objv) TkTextIndex index2; TkTextIndexForwChars(NULL, &index, 1, &index2, COUNT_INDICES); - TkBTreeDeleteChars(textPtr->sharedTextPtr->tree, &index, &index2); + TkBTreeDeleteIndexRange(textPtr->sharedTextPtr->tree, &index, &index2); return TCL_ERROR; } TkTextInvalidateLineMetrics(textPtr->sharedTextPtr, NULL, @@ -834,11 +834,3 @@ EmbImageProc(clientData, x, y, width, height, imgWidth, imgHeight) TkTextInvalidateLineMetrics(eiPtr->body.ei.sharedTextPtr, NULL, index.linePtr, 0, TK_TEXT_INVALIDATE_ONLY); } - -/* - * Local Variables: - * mode: c - * c-basic-offset: 4 - * fill-column: 78 - * End: - */ |