[Github-comments] [geany-plugins] Add new "Lineoperations" plugin (#324)
Sylvan Mostert
notifications at xxxxx
Tue Jan 12 18:38:39 UTC 2016
> + * 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160112/afa0236f/attachment.html>
More information about the Github-comments
mailing list