[gtkmm] Gtkmm-forge digest, Vol 1 #148 - 2 msgs



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-admin lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs.


Today's Topics:

   1. [Bug 87241] Changed - TextBuffer needs STL-style API (bugzilla-daemon widget gnome org)
   2. [Bug 87241] Changed - TextBuffer needs STL-style API (bugzilla-daemon widget gnome org)

--__--__--

Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Thu,  4 Jul 2002 15:29:49 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 87241] Changed - TextBuffer needs STL-style API

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=87241

Changed by murrayc usa net 

--- shadow/87241	Thu Jul  4 03:57:19 2002
+++ shadow/87241.tmp.23721	Thu Jul  4 15:29:49 2002
@@ -27,6 +27,11 @@
 the one after the end, so "!= buffer->end()" would not work as expected.
 
 ------- Additional Comments From murrayc usa net  2002-07-04 03:57 -------
 I'm working on this, using the same technique as TreeIterBase/TreeIter
 to hold an extra bool is_end_.
 
+
+------- Additional Comments From murrayc usa net  2002-07-04 15:29 -------
+Created an attachment (id=9644)
+textbuffer_stl.patch
+



--__--__--

Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Thu,  4 Jul 2002 15:31:50 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 87241] Changed - TextBuffer needs STL-style API

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=87241

Changed by murrayc usa net 

--- shadow/87241	Thu Jul  4 15:29:49 2002
+++ shadow/87241.tmp.24138	Thu Jul  4 15:31:50 2002
@@ -32,6 +32,18 @@
 
 
 ------- Additional Comments From murrayc usa net  2002-07-04 15:29 -------
 Created an attachment (id=9644)
 textbuffer_stl.patch
 
+
+------- Additional Comments From murrayc usa net  2002-07-04 15:31 -------
+Here's a partial patch to make TextBuffer more STL-like.
+1. We don't seem to need a separate class, like TreeModelChildren.
+2. We probably need 4 different iterators, for characters, words,
+sentences, and lines. But then what would TextBuffer::size() return?
+What STL container is analogous to this situation?
+3. insert_with_tag(iter, text, tag) should probably also return an
+iterator and not modify the input iterator. This is obvious when you
+look at the patched example.
+
+This is for Daniel to look over before I go further with it.




--__--__--

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]