Skip to content
Prev 62424 / 63424 Next

FR: Customize background colour of row and column headers for the View output

The change suggested by Iago Gin? V?zquez is indeed very simple. It
sets the background colour of the row and column headers to the
background of the rest of the dataentry window. With this patch, R
passes 'make check'. As Duncan Murdoch mentions, the X11 editor already
behaves this way.

If it's not acceptable to make the row and column headers the same
colour as the rest of the text, let's make it into a separate setting.

--- src/library/utils/src/windows/dataentry.c	(revision 86557)
+++ src/library/utils/src/windows/dataentry.c	(working copy)
@@ -1474,7 +1474,7 @@
     resize(DE->de, r);
 
     DE->CellModified = DE->CellEditable = FALSE;
-    bbg = dialog_bg();
+    bbg = guiColors[dataeditbg];
     /* set the active cell to be the upper left one */
     DE->crow = 1;
     DE->ccol = 1;