> +      * not all of this space will be used.)
> +     */
> +     newfile   = g_malloc(sizeof(gchar) * (totalnumchars+1));
> +     nfposn    = 0;
> +
> +     if(newfile)    // verify memory allocation
> +     {
> +             for(i = 0; i < totalnumlines; i++)    // loop through opened doc
> +             {
> +                     linelen = sci_get_line_length(doc->editor->sci, i);
> +
> +                     if(linelen == 2)
> +                     {
> +                             line = sci_get_line(doc->editor->sci, i);
> +
> +                             if(line[0] != '\r')

The function `iswhitespaceline()` have been removed. It is no longer needed 
because of your suggestions with `sci_get_line_indentation` and direct 
scintilla manipulation.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/324/files#r49494422

Reply via email to