|
From: Alain A. <ala...@wa...> - 2015-04-08 16:59:55
|
Le 08. 04. 15 09:32, Alexander S.Kresin a écrit : >>> In tutor.prg only code sections are highlighted - see the function >>> NodeOut(), which outputs the text. >> I suppose that code sections are, in xml file, enclosed between >> <![CDATA[ and ]]> >> No ? > Not all of them. Some are a Harbour code, some - a text, which > shouldn't be highlighted as a code. > The <![CDATA[ .. ]]> are contained in other tags, those of them, which > are called "module", contains the code; those, which are called > "comment" - a text without highlighting. >> And I suppose too thata words are defined in tutor.xml between >> <keywords> and </keywords> >> No ? > Yes. Here are the content of tutor.xml + a part of a module, and the hardcopy of what happens https://www.dropbox.com/s/xszq057woe28kto/Highlighted-ko.png?dl=1 Thanks A+ -- ------------------------------------------------------------------------ Alain Aupeix http://jujuland.pagesperso-orange.fr/ http://pissobi-lacassagne.pagesperso-orange.fr/ ------------------------------------------------------------------------ U.buntu 12.04 | G.ramps 3.4.8-1 | H.arbour 3.2.0dev (2015-04-01 12:59) | HbIDE (Rev.316) | Five.Linux (r138) | Hw.Gui (2379) ------------------------------------------------------------------------ |