Article View: pl.comp.lang.tcl
Article #317Re: dziwne zachowanie undo / entry
From: Artur
Date: Thu, 19 Jan 2006 07:39
Date: Thu, 19 Jan 2006 07:39
15 lines
1671 bytes
1671 bytes
Sorry. Nie doczytalem.
Entry nie posiada wbudowanego mechanizmu undo tak jak Text-Widget
(Control-z).
Wszystko zalezy jak sie zimplementowalo Edit->Undo i co to wogรณle w
tym
kontekscia ma znaczyc.
entry .e
pack .e
set undoBuf "value 1"
.e insert 0 $undoBuf
bind .e <Control-KeyPress-z> {
.e delete 0 end
.e inser 0 $undoBuf
}
Technical Details
Message-ID:
<1137656341.007780.193940@g44g2000cwa.googlegroups.com>Path:
mbox-mo1.pugleaf.net!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!g44g2000cwa.googlegroups.com!not-for-mailReferences:
<1137591670.663556.267880@g44g2000cwa.googlegroups.com> <1137600639.582244.118600@z14g2000cwz.googlegroups.com> <1137610679.450620.166980@g44g2000cwa.googlegroups.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!g44g2000cwa.googlegroups.com!not-for-mail From: "Artur" <mail@xdobry.de> Newsgroups: pl.comp.lang.tcl Subject: Re: dziwne zachowanie undo / entry Date: 18 Jan 2006 23:39:01 -0800 Organization: http://groups.google.com Lines: 16 Message-ID: <1137656341.007780.193940@g44g2000cwa.googlegroups.com> References: <1137591670.663556.267880@g44g2000cwa.googlegroups.com> <1137600639.582244.118600@z14g2000cwz.googlegroups.com> <1137610679.450620.166980@g44g2000cwa.googlegroups.com> NNTP-Posting-Host: 62.225.37.69 Mime-Version: 1.0 X-Trace: posting.google.com 1137656348 7563 127.0.0.1 (19 Jan 2006 07:39:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 19 Jan 2006 07:39:08 +0000 (UTC) In-Reply-To: <1137610679.450620.166980@g44g2000cwa.googlegroups.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8) Gecko/20051111 Firefox/1.5,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 G8SLV (NetCache NetApp/5.6.2R1) Complaints-To: groups-abuse@google.com Injection-Info: g44g2000cwa.googlegroups.com; posting-host=62.225.37.69; posting-account=LCgZWAwAAABJR_8tjAef_hUAajXeKdEF Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit