From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38492 invoked by alias); 13 Jun 2017 09:37:11 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 38476 invoked by uid 89); 13 Jun 2017 09:37:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=5.0 required=5.0 tests=AWL,BAYES_00,FOREIGN_BODY1,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=avez, browsing, vous X-HELO: smtps-n.oca.eu Received: from smtps-n.oca.eu (HELO smtps-n.oca.eu) (192.54.174.167) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 13 Jun 2017 09:37:09 +0000 Received: from [192.168.109.88] (natoca100-13.unice.fr [134.59.100.13]) by smtps-n.oca.eu (Postfix) with ESMTPSA id 522C180495 for ; Tue, 13 Jun 2017 11:37:12 +0200 (CEST) From: Damien MATTEI To: kawa@sourceware.org Subject: Re: xml literals Date: Tue, 13 Jun 2017 09:37:00 -0000 User-Agent: KMail/1.9.6 References: <201705151611.09622.Damien.Mattei@unice.fr> <6b50a1f5-f387-68f6-1530-60cdafcbbde6@bothner.com> <201706131115.05600.Damien.Mattei@unice.fr> In-Reply-To: <201706131115.05600.Damien.Mattei@unice.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201706131137.12083.Damien.Mattei@unice.fr> X-IsSubscribed: yes X-SW-Source: 2017-q2/txt/msg00107.txt.bz2 Le Tuesday 13 June 2017 11:15:05 Damien MATTEI, vous avez =C3=A9crit=C2=A0: > hello, > is there a way in HTML literal to make the code more human readable, > by inserting CR between two literals or /and to indent the code, ican not= find a way in the doc > to insert characters between literals or doing it , if it's not possible= i suppose it is not trivial to do it=20 > as the method toString should be overwrite . > Damien >=20 i was just browsing the git source code of kawa, i do not know if it is a good idea, but if i can find the place where the m= ethod toSting is overloaded i can try to add such feature (if i have time) : pretty printing of code wi= th CR and some indentation because i suppose that people using literal will be facing the same challen= ge Damien