diff options
author | dgp@users.sourceforge.net <dgp> | 2016-07-26 14:00:08 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2016-07-26 14:00:08 (GMT) |
commit | 7e6ebd4dfa699cc426dc0fbfb100de2615b54729 (patch) | |
tree | 550cada2e21c788eefbd5f087c8f14aa5290c0ea | |
parent | 8fbd82bba009b51fb595aa19aa8d07eb5353a5a3 (diff) | |
parent | 77bdbca77290e8b77470936c9efbf2764c3c5bfc (diff) | |
download | tk-7e6ebd4dfa699cc426dc0fbfb100de2615b54729.zip tk-7e6ebd4dfa699cc426dc0fbfb100de2615b54729.tar.gz tk-7e6ebd4dfa699cc426dc0fbfb100de2615b54729.tar.bz2 |
[5660d11c3f] Fix new -lmargincolor
-rw-r--r-- | generic/tkTextDisp.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c index 81bce94..a135084 100644 --- a/generic/tkTextDisp.c +++ b/generic/tkTextDisp.c @@ -2464,7 +2464,13 @@ DisplayDLine( Tk_Width(textPtr->tkwin), dlPtr->height, 0, TK_RELIEF_FLAT); /* - * Second, draw the background color of the left and right margins. + * Second, draw background information for the whole line. + */ + + DisplayLineBackground(textPtr, dlPtr, prevPtr, pixmap); + + /* + * Third, draw the background color of the left and right margins. */ if (dlPtr->lMarginColor != NULL) { Tk_Fill3DRectangle(textPtr->tkwin, pixmap, dlPtr->lMarginColor, 0, y, @@ -2478,12 +2484,6 @@ DisplayDLine( } /* - * Next, draw background information for the whole line. - */ - - DisplayLineBackground(textPtr, dlPtr, prevPtr, pixmap); - - /* * Make another pass through all of the chunks to redraw the insertion * cursor, if it is visible on this line. Must do it here rather than in * the foreground pass below because otherwise a wide insertion cursor |