> +                     else if(linelen != 1)
> +                     {
> +                             line = sci_get_line(doc->editor->sci, i);
> +
> +                             if(!iswhitespaceline(line))
> +                                     // copy current line into *newfile
> +                                     for(j = 0; line[j] != '\0'; j++)
> +                                             newfile[nfposn++] = line[j];
> +                     }
> +
> +             }
> +             newfile[nfposn] = '\0';
> +             sci_set_text(doc->editor->sci, newfile);        // set new 
> document
> +
> +             g_free(newfile);
> +     }

This is now updated too.

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

Reply via email to