Re: Like to make some changes to GtkTextView and GtkTextBuffer->get_text() doc page (attachment included this time)
[email protected] (Ben Stones) Thu, 21 Oct 2010 22:19:39 +0100
| Newsgroups | php.gtk.doc |
|---|---|
| Message-ID | <[email protected]> |
--90e6ba1818447419f104932715a5 Content-Type: multipart/alternative; boundary=90e6ba1818447419dd04932715a3 --90e6ba1818447419dd04932715a3 Content-Type: text/plain; charset=ISO-8859-1 (Sorry, initial e-mail sent had no attachment to it) Hi, I looked at the documentation on the GtkTextView class and the method get_text() which is part of the GtkTextBuffer class, and I'd like to make some small additions to the descriptions of each that I am sure will help some folks reading those pages. I hope to make additional changes to other parts of the documentation to help improve the PHP-GTK documentation as I am aware that it is still a working progress for the PHP-GTK community. The changes I have made is added a description to the GtkTextView page adding an explanation about how to get the text contents of a GtkTextView in PHP-GTK. Additionally, I have added a paragraph of text to the end of the description of the get_text() method of the GtkTextBuffer class stating that if you want to get the full text stored in a GtkTextBuffer, you need to use the get_start_iter() and get_end_iter() methods, respectively. These changes can be seen in the file attached to the e-mail. Could those involved with the updating and upkeep of the PHP-GTK documentation kindly commit these changes to the SVN as I'm sure these additions will help. Thanks a lot, Ben Stones. --90e6ba1818447419dd04932715a3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div>(Sorry, initial e-mail sent had no attachment to it)</div><div><div cl= ass=3D"gmail_quote"><div><div>Hi,<br><br>I looked at the documentation on t= he GtkTextView class and the method<br>get_text() which is part of the GtkT= extBuffer class, and I'd like to make<br> some small additions to the descriptions of each that I am sure will help<b= r>some folks reading those pages. I hope to make additional changes to othe= r<br>parts of the documentation to help improve the PHP-GTK documentation a= s I am<br> aware that it is still a working progress for the PHP-GTK community.<br><br= >The changes I have made is added a description to the GtkTextView page<br>= adding an explanation about how to get the text contents of a GtkTextView i= n<br> PHP-GTK. Additionally, I have added a paragraph of text to the end of the<b= r>description of the get_text() method of the GtkTextBuffer class stating t= hat<br>if you want to get the full text stored in a GtkTextBuffer, you need= to use<br> the get_start_iter() and get_end_iter() methods, respectively.<br><br>These= changes can be seen in the file attached to the e-mail. Could those<br>inv= olved with the updating and upkeep of the PHP-GTK documentation kindly<br> commit these changes to the SVN as I'm sure these additions will help.<= br><br>Thanks a lot,</div></div><div>Ben Stones.</div></div></div> --90e6ba1818447419dd04932715a3-- --90e6ba1818447419f104932715a5 Content-Type: text/plain; charset=US-ASCII; name="somefilename.diff.txt" Content-Disposition: attachment; filename="somefilename.diff.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gfk4xr5n0 SW5kZXg6IG1hbnVhbC9lbi9yZWZlcmVuY2UvZ3RrL2d0a3RleHRidWZmZXIueG1sCj09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT0KLS0tIG1hbnVhbC9lbi9yZWZlcmVuY2UvZ3RrL2d0a3RleHRidWZmZXIueG1sCShyZXZpc2lv biAzMDQ1NzEpCisrKyBtYW51YWwvZW4vcmVmZXJlbmNlL2d0ay9ndGt0ZXh0YnVmZmVyLnhtbAko d29ya2luZyBjb3B5KQpAQCAtNzY0LDYgKzc2NCw3IEBACiAgICAgaW52aXNpYmlsaXR5IGF0dHJp YnV0ZSBhcmUgZXhjbHVkZWQgaWYgPHBhcmFtZXRlcj5pbmNsdWRlX2hpZGRlbl9jaGFyczwvcGFy YW1ldGVyPgogICAgIGlzIEZBTFNFLgogICAgIDwvcGFyYT4KKwk8cGFyYT5Ob3RlOiBJZiB5b3Ug d2FudCB0byBnZXQgdGhlIGZ1bGwgdGV4dCBzdG9yZWQgaW4gdGhlIDxjbGFzc25hbWU+R3RrVGV4 dEJ1ZmZlcjwvY2xhc3NuYW1lPiwgdXNlIHRoZSA8ZnVuY3Rpb24gY2xhc3M9Ikd0a1RleHRCdWZm ZXIiPmdldF9zdGFydF9pdGVyPC9mdW5jdGlvbj4gYW5kIDxmdW5jdGlvbiBjbGFzcz0iR3RrVGV4 dEJ1ZmZlciI+Z2V0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