@b4n commented on this pull request.
> @@ -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? */
Here I probably just need to read Lexilla's sources to see what happens, as
it's not documented. Maybe it always works, maybe it returns a negative value?
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3794#pullrequestreview-1945789938
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3794/review/[email protected]>