@b4n commented on this pull request.


In src/highlighting.c:

> @@ -877,6 +939,21 @@ static void styleset_from_mapping(ScintillaObject *sci, guint ft_id, guint lexer
 			if (styles[i].fill_eol)
 				SSM(sci, SCI_STYLESETEOLFILLED, styles[i].style, TRUE);
 			set_sci_style(sci, styles[i].style, ft_id, i);
+			if (styles[i].sub_stylable)
+			{
+				LexerStyle *style = &style_sets[ft_id].styles[i];
+
+				if (style->sub.count)
+				{
+					/* FIXME: can substyle allocation fail?  and how do we know? */

This should be fixed now.


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/1955740497@github.com>