[Github-comments] [geany-plugins] Add new "Lineoperations" plugin (#324)

Sylvan Mostert notifications at xxxxx
Tue Jan 12 18:35:21 UTC 2016


> +			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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160112/949408df/attachment.html>


More information about the Github-comments mailing list