@elextr commented on this pull request.


In src/ui_utils.c:

>  				g_string_append_c(stats_str, ' ');
-				g_string_append_printf(stats_str, "%d",
-					sci_get_style_at(doc->editor->sci, pos));
+				g_string_append_printf(stats_str, "%d", base_style);
+				if (base_style != style)
+				{
+					gint sub_start = scintilla_send_message(doc->editor->sci, SCI_GETSUBSTYLESSTART, base_style, 0);
+
+					g_string_append_printf(stats_str, "+%d", style + 1 - sub_start);

Yeah a.b is common subobject referencing syntax and here its referencing the substyle.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3794/review/1956280332@github.com>