Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Statistics means never having to say you're certain.


devel / comp.lang.tcl / Using text widget for showing file content

SubjectAuthor
* Using text widget for showing file contentAlexandru
`* Using text widget for showing file contentHarald Oehlmann
 `- Using text widget for showing file contentAlexandru

1
Using text widget for showing file content

<1a2446e9-1d03-4f77-938f-1822c3b7a336n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=12662&group=comp.lang.tcl#12662

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:ad4:5304:0:b0:66d:3b0:2ce7 with SMTP id y4-20020ad45304000000b0066d03b02ce7mr228597qvr.6.1698174326361;
Tue, 24 Oct 2023 12:05:26 -0700 (PDT)
X-Received: by 2002:a9d:53c7:0:b0:6bc:c93b:3066 with SMTP id
i7-20020a9d53c7000000b006bcc93b3066mr3543482oth.1.1698174326192; Tue, 24 Oct
2023 12:05:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Tue, 24 Oct 2023 12:05:25 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=77.12.212.33; posting-account=glPZ8goAAADztwA3kVEZPMKXCGydx5DU
NNTP-Posting-Host: 77.12.212.33
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1a2446e9-1d03-4f77-938f-1822c3b7a336n@googlegroups.com>
Subject: Using text widget for showing file content
From: alexandru.dadalau@meshparts.de (Alexandru)
Injection-Date: Tue, 24 Oct 2023 19:05:26 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1465
 by: Alexandru - Tue, 24 Oct 2023 19:05 UTC

Is there an alternative to using the standard text widget for showing file content as in a simple text editor?

I'm asking this due the enormous performance issue when lond lines of text exist in the file.

It seems like the command

$text insert 1.0 $content

takes forever.

I guess this issue is known already, are there any workarounds (other widgets)?

Thanks
Alexandru

Re: Using text widget for showing file content

<uh982p$5fe9$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=12664&group=comp.lang.tcl#12664

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wortkarg3@yahoo.com (Harald Oehlmann)
Newsgroups: comp.lang.tcl
Subject: Re: Using text widget for showing file content
Date: Tue, 24 Oct 2023 22:05:45 +0200
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <uh982p$5fe9$1@dont-email.me>
References: <1a2446e9-1d03-4f77-938f-1822c3b7a336n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 24 Oct 2023 20:05:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a8403aca5e602ca8903c7279ffd5a080";
logging-data="179657"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+v4EBDMhcwCClsDHBQqRwU"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:/YB7c2KLgwUnYjtNUCNPDvtSzWI=
In-Reply-To: <1a2446e9-1d03-4f77-938f-1822c3b7a336n@googlegroups.com>
Content-Language: en-GB
 by: Harald Oehlmann - Tue, 24 Oct 2023 20:05 UTC

Am 24.10.2023 um 21:05 schrieb Alexandru:
> Is there an alternative to using the standard text widget for showing file content as in a simple text editor?
>
> I'm asking this due the enormous performance issue when lond lines of text exist in the file.
>
> It seems like the command
>
> $text insert 1.0 $content
>
> takes forever.
>
> I guess this issue is known already, are there any workarounds (other widgets)?
>
> Thanks
> Alexandru

Yes! Use, what is known, as the new text widget.
The current text widget can freeze for minutes in the elided text
algorithm (making word-break).
The tags in the tk fossil are "revised_text" and tip-466, which proposes
this text widget.

We all would love this in Tk. But there are incompatibilities...

Take care,
Harald

Re: Using text widget for showing file content

<ffbd11b3-9f61-4df7-8d5f-6cee4a16ae9en@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=12665&group=comp.lang.tcl#12665

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:ad4:4505:0:b0:66d:2f83:980e with SMTP id k5-20020ad44505000000b0066d2f83980emr210642qvu.10.1698178746743;
Tue, 24 Oct 2023 13:19:06 -0700 (PDT)
X-Received: by 2002:a05:6808:3590:b0:3b2:e488:a5d4 with SMTP id
cp16-20020a056808359000b003b2e488a5d4mr4416792oib.9.1698178746486; Tue, 24
Oct 2023 13:19:06 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.niel.me!glou.org!news.glou.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Tue, 24 Oct 2023 13:19:05 -0700 (PDT)
In-Reply-To: <uh982p$5fe9$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=77.12.212.33; posting-account=glPZ8goAAADztwA3kVEZPMKXCGydx5DU
NNTP-Posting-Host: 77.12.212.33
References: <1a2446e9-1d03-4f77-938f-1822c3b7a336n@googlegroups.com> <uh982p$5fe9$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ffbd11b3-9f61-4df7-8d5f-6cee4a16ae9en@googlegroups.com>
Subject: Re: Using text widget for showing file content
From: alexandru.dadalau@meshparts.de (Alexandru)
Injection-Date: Tue, 24 Oct 2023 20:19:06 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Alexandru - Tue, 24 Oct 2023 20:19 UTC

Harald Oehlmann schrieb am Dienstag, 24. Oktober 2023 um 22:05:50 UTC+2:
> Am 24.10.2023 um 21:05 schrieb Alexandru:
> > Is there an alternative to using the standard text widget for showing file content as in a simple text editor?
> >
> > I'm asking this due the enormous performance issue when lond lines of text exist in the file.
> >
> > It seems like the command
> >
> > $text insert 1.0 $content
> >
> > takes forever.
> >
> > I guess this issue is known already, are there any workarounds (other widgets)?
> >
> > Thanks
> > Alexandru
> Yes! Use, what is known, as the new text widget.
> The current text widget can freeze for minutes in the elided text
> algorithm (making word-break).
> The tags in the tk fossil are "revised_text" and tip-466, which proposes
> this text widget.
>
> We all would love this in Tk. But there are incompatibilities...
>
> Take care,
> Harald
Cool. Found this:
https://scidb.sourceforge.net/tk/download.html
Downloaded the zip archive and tried to compile but failed at this point.
I don't even see a make file.
Do I miss something here?

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor