diff options
author | fvogel <fvogelnew1@free.fr> | 2015-11-25 07:22:53 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2015-11-25 07:22:53 (GMT) |
commit | 172c713ba2ae99ff4cfa3f87e162ff909f704083 (patch) | |
tree | 488f2e6ce16f942a290281b14b92dc3705430ff7 /generic/tkText.c | |
parent | 938752c7952bd28fba2b617967f31e7edf66da4a (diff) | |
download | tk-172c713ba2ae99ff4cfa3f87e162ff909f704083.zip tk-172c713ba2ae99ff4cfa3f87e162ff909f704083.tar.gz tk-172c713ba2ae99ff4cfa3f87e162ff909f704083.tar.bz2 |
Ooops... removed debug traces unintentionally left in the merge mark...
Diffstat (limited to 'generic/tkText.c')
-rw-r--r-- | generic/tkText.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/generic/tkText.c b/generic/tkText.c index dfcd294..4edf652 100644 --- a/generic/tkText.c +++ b/generic/tkText.c @@ -35,10 +35,6 @@ #include "tkText.h" -#define LOG(toVar,what) \ - Tcl_SetVar2(textPtr->interp, toVar, NULL, (what), \ - TCL_GLOBAL_ONLY|TCL_APPEND_VALUE|TCL_LIST_ELEMENT) - /* * Used to avoid having to allocate and deallocate arrays on the fly for * commonly used functions. Must be > 0. @@ -608,9 +604,7 @@ CreateWidget( TkTextCreateDInfo(textPtr); TkTextMakeByteIndex(textPtr->sharedTextPtr->tree, textPtr, 0, 0, &startIndex); -LOG("debug", "In createWidget, before"); TkTextSetYView(textPtr, &startIndex, 0); -LOG("debug", "In createWidget, after"); textPtr->exportSelection = 1; textPtr->pickEvent.type = LeaveNotify; textPtr->undo = textPtr->sharedTextPtr->undo; @@ -2658,9 +2652,7 @@ InsertChars( lineAndByteIndex[resetViewCount], 0, &newTop); TkTextIndexForwBytes(tPtr, &newTop, lineAndByteIndex[resetViewCount+1], &newTop); -LOG("debug", "In InsertChars, before"); TkTextSetYView(tPtr, &newTop, 0); -LOG("debug", "In InsertChars, after"); } } resetViewCount += 2; |