diff options
author | dgp <dgp@users.sourceforge.net> | 2016-07-28 12:46:03 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2016-07-28 12:46:03 (GMT) |
commit | d8b34a76528c9a5a6cae9f98ff10b9f5d535d2b1 (patch) | |
tree | e37e643a549b285dc06606fb7539dbd364de1418 | |
parent | 6136564c811a8437f8504e16baa4ccefcc87df36 (diff) | |
parent | ce7f663e4864f6dc2d07c2839a42e98a1dbcb0e3 (diff) | |
download | tk-d8b34a76528c9a5a6cae9f98ff10b9f5d535d2b1.zip tk-d8b34a76528c9a5a6cae9f98ff10b9f5d535d2b1.tar.gz tk-d8b34a76528c9a5a6cae9f98ff10b9f5d535d2b1.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 92c60f3..5faab36 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 |