From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA14052; Fri, 11 Oct 2002 20:56:31 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA14364 for caml-list@pauillac.inria.fr; Fri, 11 Oct 2002 20:56:31 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA11714 for ; Fri, 11 Oct 2002 19:09:36 +0200 (MET DST) Received: from mail.info.univ-angers.fr (nes.info.univ-angers.fr [193.49.146.122]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g9BH9a504654 for ; Fri, 11 Oct 2002 19:09:36 +0200 (MET DST) Received: from orion.info-ua (orion.info-ua [172.20.41.6]) by mail.info.univ-angers.fr (Postfix) with ESMTP id C59D6968 for ; Fri, 11 Oct 2002 19:09:32 +0200 (CEST) Received: from helios.info-ua (helios.info-ua [172.20.41.5]) by orion.info-ua (Postfix) with ESMTP id 664C6175FF for ; Fri, 11 Oct 2002 19:09:33 +0200 (MEST) Received: by helios.info-ua (Postfix, from userid 759) id B7F6014246; Fri, 11 Oct 2002 17:09:32 +0000 (MET) Received: from localhost (localhost [127.0.0.1]) by helios.info-ua (Postfix) with ESMTP id A34EB1D83 for ; Fri, 11 Oct 2002 19:09:32 +0200 (MEST) Date: Fri, 11 Oct 2002 19:09:32 +0200 (MEST) From: Vincent Barichard X-X-Sender: barichar@helios.info-ua To: CAML-LIST Subject: [Caml-list] lablGTK question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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=E9taheuristiques et Optimisation Combinatoire Facult=E9 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