diff options
author | Rafael Lima <rafael.palma.lima@gmail.com> | 2023-01-17 19:47:45 +0000 |
---|---|---|
committer | Rafael Lima <rafael.palma.lima@gmail.com> | 2023-01-24 15:37:10 +0000 |
commit | 413bd0a96b010feb10dc3d76efa266ea082de006 (patch) | |
tree | ec342f807c50ce20ca62d39ef1ef3dc35269f64c /include | |
parent | 6e2d28934e273386e2f56a4eef0a9f03fa5d5c7d (diff) |
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 <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/colorcfg.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svtools/colorcfg.hxx b/include/svtools/colorcfg.hxx index 300625cf14a7..f0c0fea5393d 100644 --- a/include/svtools/colorcfg.hxx +++ b/include/svtools/colorcfg.hxx @@ -67,6 +67,7 @@ enum ColorConfigEntry CALCTEXT, CALCPROTECTEDBACKGROUND, DRAWGRID , + BASICEDITOR, BASICIDENTIFIER, BASICCOMMENT , BASICNUMBER , |