summaryrefslogtreecommitdiff
path: root/officecfg/registry/schema/org
diff options
context:
space:
mode:
authorRafael Lima <rafael.palma.lima@gmail.com>2024-01-10 20:34:55 +0100
committerAndreas Heinisch <andreas.heinisch@yahoo.de>2024-01-11 19:56:08 +0100
commitbf410be4502c2d78e38856c455833681c6b8a151 (patch)
treedad89b6cba25835b25199a279ba1d98ba116dad0 /officecfg/registry/schema/org
parent45f3398c9a816f70815cf38620cf5db2ce66431c (diff)
tdf#158750 Highlight the line where the cursor is positioned (Basic IDE)
This patch implements support for highlighting the selected line in the code editor, similar to what Kate, VSCode, etc do. If the cursor is positioned in a single line and nothing is selected, then a highlight color is applied to the line. The line number window also highlights the selected line. Change-Id: I2047d79500cd783b122b6752bb00996de0a7c702 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161861 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Diffstat (limited to 'officecfg/registry/schema/org')
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/BasicIDE.xcs10
1 files changed, 10 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/BasicIDE.xcs b/officecfg/registry/schema/org/openoffice/Office/BasicIDE.xcs
index 1fe9af67f78f..cc783b837046 100644
--- a/officecfg/registry/schema/org/openoffice/Office/BasicIDE.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/BasicIDE.xcs
@@ -116,6 +116,16 @@
</info>
</prop>
</group>
+ <group oor:name="LineHighlightColor">
+ <info>
+ <desc>Specifies the formatting to highlight the selected line.</desc>
+ </info>
+ <prop oor:name="Color" oor:type="xs:int">
+ <info>
+ <desc>Specifies the color used to highlight the selected line.</desc>
+ </info>
+ </prop>
+ </group>
</group>
</templates>
<component>