eht16 left a comment (geany/geany#4333)
It has to be added as a new setting in Geany.
A start would be something like the following:
```diff
diff --git a/src/editor.c b/src/editor.c
index ec5549cb0..5fcc7ad67 100644
--- a/src/editor.c
+++ b/src/editor.c
@@ -5174,6 +5174,7 @@ void editor_apply_update_prefs(GeanyEditor *editor)
{
ScintillaObject *sci;
int caret_y_policy;
+ guint i, margin_count;
g_return_if_fail(editor != NULL);
@@ -5207,6 +5208,15 @@ void editor_apply_update_prefs(GeanyEditor *editor)
sci_set_folding_margin_visible(sci, editor_prefs.folding);
+ if (new_setting_use_normal_margin_cursor)
+ {
+ margin_count = (guint) SSM(sci, SCI_GETMARGINS, 0, 0);
+ for (i = 0; i < margin_count; i++)
+ {
+ SSM(sci, SCI_SETMARGINCURSORN, i, SC_CURSORARROW);
+ }
+ }
+
/* virtual space */
SSM(sci, SCI_SETVIRTUALSPACEOPTIONS, editor_prefs.show_virtual_space,
0);
```
This should probably be guarded with a new various pref (called
`new_setting_use_normal_margin_cursor` above as placeholder).
Except we want to have this change unconditionally for all users. I don't mind
and I won't implement this myself.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4333#issuecomment-3092013299
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/4333/[email protected]>