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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:ac8:6a15:: with SMTP id t21mr18745494qtr.235.1583841332187; Tue, 10 Mar 2020 04:55:32 -0700 (PDT) X-Received: by 2002:aca:ac89:: with SMTP id v131mr829452oie.7.1583841331766; Tue, 10 Mar 2020 04:55:31 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.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.ada Date: Tue, 10 Mar 2020 04:55:31 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=20.133.40.13; posting-account=YRfoYAoAAADhSEO2nLYx10QUUvp8akYl NNTP-Posting-Host: 20.133.40.13 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <8f54225f-0700-446a-88bd-5b7e10d931ed@googlegroups.com> Subject: Highlighting words in a GtkAda Text_View From: Stephen Davies Injection-Date: Tue, 10 Mar 2020 11:55:32 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:58186 Date: 2020-03-10T04:55:31-07:00 List-Id: 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)?