Re: Another --> Re: GtkMovementStep of GtkTextView


I'll check it out.

I just make sure that the sample below "<Delete>" is actually the
<baskspace> case. It should be "<Backspace>" produces u.

Just make sure that we are in-sync.
I thought that <backspace> would delete one character in front of
the current cursor position.

<Delete> will delete the current whole cluster.

This behavior is in Thai and same as "indic" as mentioned by
"Steve Underwood".

Not quite sure about "Korean and Vietnamese" as mentioned by "Mark Leisher"
but if it means "<backspace>" in both Korean and Vietnamese will
delete one character in front of the current cursor position, then,
seems to be Thai/Indic/Korean/Vietnamese behave the same for both
<backspace> and <delete>

Chookij V.

] Date: Fri, 18 May 2001 12:27:39 -0400
] From: Owen Taylor <otaylor redhat com>
] Subject: Re: Another --> Re: GtkMovementStep of GtkTextView
] To: gtk-i18n-list gnome org
] Cc: Chookij Vanatham <Chookij Vanatham Eng Sun COM>
] MIME-version: 1.0
] Content-transfer-encoding: quoted-printable
] User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7
] Havoc Pennington <hp redhat com> writes:
] > > I haven't seen this piece of code involving for the action of
] > > "GTK_MOVEMENT_VISUALLY_POSITIONS" yet. May be, I might miss
] > > something.
] > 
] > You aren't missing anything, I just haven't implemented it yet:
] >
] > 
] > Once we implement this, then Thai may already work. If not, we need to
] > either fix bugs in pango_default_break(), or add code to the Thai
] > language module so that it sets the is_cursor_position attributes to
] > the correct values.
] I've checked in changes now for Pango, GtkEntry, and GtkTextView so
] all positioning and motion is now by graphemes.
] You might want to try it out and see if it does what you want.
] The one thing that may not be desirable for some languages is that
] if you are sitting after a compound grapheme and hit delete, it
] deletes the entire grapheme.
] It may be desirable to make this configurable.. while I can imagine
] that if you have a complex cluster in an Indic language you may just
] want to undo the last typed key if you make a typo, Europeans will no
] doubt not enjoy the experience of having <Delete> produce u.
] Regards,
]                                         Owen

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