[gedit-list] Reading document content, iteratively, from plugins
- From: Dustin Oprea <myselfasunder gmail com>
- To: gedit-list <gedit-list gnome org>
- Subject: [gedit-list] Reading document content, iteratively, from plugins
- Date: Sun, 27 Oct 2013 07:56:30 -0400
It looks like I can get iterators for each successive line of a document, but is it efficient to read individual lines this way, or is there a better way? I need to write a document out to a file in the background (to something other than the current location), but I'd prefer not to read the whole document as a single block, nor write it as a single block.
I realize that I can also get a character-count for each line, but I'm not sure if this is an improvement. I'd also rather not be responsible for determine the correct newline-style.
Dustin Oprea
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]