@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? */

@nyamatongwe great, thanks for the details and the updated docs!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3794#discussion_r1535454765
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3794/review/1954598...@github.com>

Reply via email to