From 413bd0a96b010feb10dc3d76efa266ea082de006 Mon Sep 17 00:00:00 2001 From: Rafael Lima Date: Tue, 17 Jan 2023 19:47:45 +0000 Subject: tdf#153076 Make Basic editor background color independent from document color This patch creates a separate color configuration entry for the background of the Basic Editor (svtools::BASICEDITOR). This allows the user to set the color of the Basic Editor independently from the color used as document background. Currently the color used is DOCCOLOR, which means that if the user wants to use a different color in the Basic Editor, they must change the document color as well. However, the user may want to use f.i. a dark background in the Basic editor while maintaining a white color for documents, which is currently not possible. By default, both color schemes "LibreOffice" and "LibreOffice Dark" use the same color for DOCCOLOR and BASICEDITOR to replicate the existing behavior. But now, if the user wants to use a different color for the Basic Editor, than it's possible to change it without affecting the color of documents. Change-Id: I2f33b1ccb497d7e22faab7fa48cb96841785ce99 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145590 Tested-by: Jenkins Reviewed-by: Heiko Tietze --- cui/source/options/optcolor.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'cui/source') diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx index 70345fc5e40f..3c66f4ba49d5 100644 --- a/cui/source/options/optcolor.cxx +++ b/cui/source/options/optcolor.cxx @@ -140,6 +140,7 @@ const vEntryInfo[] = { Group_Draw, IDS(drawgrid) }, + { Group_Basic, IDS(basiceditor) }, { Group_Basic, IDS(basicid) }, { Group_Basic, IDS(basiccomment) }, { Group_Basic, IDS(basicnumber) }, -- cgit