]> Pileus Git - ~andy/gtk/blobdiff - docs/text_widget.txt
If the toolbar mode is ICONS and there is no icon set then show the label, and vice...
[~andy/gtk] / docs / text_widget.txt
index 83d3b31e5a5a14300c2e7bb0004bd3dda5df7dab..62ca6ba55b108f0d59dd1d4534bdd24624681e39 100644 (file)
@@ -161,6 +161,16 @@ this index.  If you see or add a special case in the code for this
 end-of-buffer case, make sure to use LAST_INDEX if you can.  Very
 often, the last index is treated as a newline.
 
+[ One way the last index is special is that, although it is always
+  part of some property, it will never be part of a property of
+  length 1 unless there are no other characters in the text. That
+  is, its properties are always that of the preceding character,
+  if any.
+  
+  There is a fair bit of special case code to mantain this condition -
+  which is needed so that user has control over the properties of
+  characters inserted at the last position. OWT 2/9/98 ]
+
 Tab stops are variable width.  A list of tab stops is contained in the
 GtkText structure:
 
@@ -388,7 +398,7 @@ according the the tab continuation of the previous line.
 Exposure and drawing:
 
 Exposure is handled from the EXPOSE_TEXT function.  It assumes that
-the LINE_START_CACHE and all it's parameters are accurate and simply
+the LINE_START_CACHE and all its parameters are accurate and simply
 exposes any line which is in the exposure region.  It calls the
 CLEAR_AREA function to clear the background and/or lay down a pixmap
 background.  The text widget has a scrollable pixmap background, which