diff options
author | Owen Taylor <owt1@cornell.edu> | 1998-03-10 03:17:02 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-03-10 03:17:02 +0000 |
commit | 2f50a3044ed8bf7783e8362d956b6f77010795cd (patch) | |
tree | ade65b5ee1804697cc26df7b59ed317bc99807cb /docs/text_widget.txt | |
parent | 990bddfe1688861332443d89a4796a710e18ae39 (diff) | |
download | gtk+-2f50a3044ed8bf7783e8362d956b6f77010795cd.tar.gz |
commiting changes from owen:
Mon Mar 9 20:38:15 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c:
Moved "activate" to editable class. Made the vfuncs in
gtkeditable just vfuncs not signals.
* gtkentry.[ch] gtktext.[ch]: Made behavior when pressing
multiple buttons at once more rational.
* gtkentry.c gtktext.c: Unified and rationalized key
bindings. (Now are basically emacs+CUA)
* gtktext.c:
- Last position now always shares the property of the preceding
character
- Freeze the widget when inserting large amounts of text.
- Selecting lines now selects the _whole_ line.
- Fixed bug with displaying the cursor
- Ctrl-Home/End now move the cursor to the _absolute home/end
* gtkmenuitem.c: Remove necessary code out of a g_return_if_fail
-timj
Diffstat (limited to 'docs/text_widget.txt')
-rw-r--r-- | docs/text_widget.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/text_widget.txt b/docs/text_widget.txt index 83d3b31e5a..599431f2f4 100644 --- a/docs/text_widget.txt +++ b/docs/text_widget.txt @@ -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: |