From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a05:620a:1037:: with SMTP id a23mr9047005qkk.82.1584032806029; Thu, 12 Mar 2020 10:06:46 -0700 (PDT) X-Received: by 2002:aca:ac89:: with SMTP id v131mr3419957oie.7.1584032805521; Thu, 12 Mar 2020 10:06:45 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!feeder5.feed.usenet.farm!feed.usenet.farm!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 12 Mar 2020 10:06:45 -0700 (PDT) In-Reply-To: <8f54225f-0700-446a-88bd-5b7e10d931ed@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=20.133.0.13; posting-account=YRfoYAoAAADhSEO2nLYx10QUUvp8akYl NNTP-Posting-Host: 20.133.0.13 References: <8f54225f-0700-446a-88bd-5b7e10d931ed@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Highlighting words in a GtkAda Text_View From: Stephen Davies Injection-Date: Thu, 12 Mar 2020 17:06:46 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:58197 Date: 2020-03-12T10:06:45-07:00 List-Id: On Tuesday, 10 March 2020 11:55:33 UTC, Stephen Davies wrote: > I have created a simple GtkAda GUI which contains a read-only Text_View > widget. The Text_View consists of a few lines which end with strings of > the format "= ABC123x\*.ext". When a user double-clicks over the > numeric part, only the "123" section is highlighted. I would prefer > either the "ABC123x" section or the "ABC123x\*.ext" section to be > highlighted. Is this possible (and simple for a Gtk newb like myself)? Bump (I'll take the hint and give in if this also gets no replies).