From: Vincent Barichard <barichar@info.univ-angers.fr>
To: CAML-LIST <caml-list@pauillac.inria.fr>
Subject: [Caml-list] lablGTK question
Date: Fri, 11 Oct 2002 19:09:32 +0200 (MEST) [thread overview]
Message-ID: <Pine.GSO.4.44.0210111859180.7902-100000@helios.info-ua> (raw)
Hi all,
I try to make a text editor with syntax coloring. I use lablgtk (the
GEdit component). When I want to colorize some words according to the
language (caml or latex by example), I use the freeze and thaw functions
as used in the browser application of the lablgtk distribution.
But, some flash of the GEdit component occur each time I hit a key. I
guess that the freeze and thaw function make the component flash.
Does anybody know how to stop this unpleasant flash ?
If there is no way to stop it, is there another way to make dynamic
syntax color ? (Now I send the modified line to a lexical analyser and
replace the words which must be in color, as the sample browser
application of the lablGTK distribution)
Thanks for your assistance.
Vincent
Vincent Barichard
Métaheuristiques et Optimisation Combinatoire
Faculté des Sciences d'Angers
Tel : 02 41 73 52 06
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
reply other threads:[~2002-10-11 18:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.GSO.4.44.0210111859180.7902-100000@helios.info-ua \
--to=barichar@info.univ-angers.fr \
--cc=caml-list@pauillac.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox