Re: [Lazarus] Duplicate items in xml doc files

2019-12-19 Thread Don Siders via lazarus
Okay, Back to the original topic. The duplicates in graphics.xml are almost certainly because they are overloaded methods. Whether that is correct in the context of the tool used to update the file, I do not know, I am submitting a patch for other files with duplicate topics.This does not

Re: [Lazarus] Duplicate items in xml doc files

2019-12-19 Thread Don Siders via lazarus
> makeskel does support update, the Makefile of fpc docs has even a target for > it ? > It only does additions, though. > I suppose that deletions should also be easily added. > > Michael. My initial efforts to use it were in the Lazarus 1.8.x time frame. and it would not run without exception

Re: [Lazarus] Duplicate items in xml doc files

2019-12-19 Thread Werner Pamler via lazarus
Am 19.12.2019 um 20:48 schrieb Don Siders via lazarus: That's a possibility. Mistakes happen. But in looking at the file there are several duplicates. I don't think I would have been that careless. Just to make sure: It was never my intention to say that you did. I edit manually too. It's

Re: [Lazarus] Duplicate items in xml doc files

2019-12-19 Thread Michael Van Canneyt via lazarus
On Thu, 19 Dec 2019, Don Siders via lazarus wrote: BTW: User Don Siders is doing an excellent job in continuously submitting patches for the xml files. The help files have improved considerably since then (I wonder how he is editing the xml files.) Thanks for the compliment. I am using the

Re: [Lazarus] Duplicate items in xml doc files

2019-12-19 Thread Don Siders via lazarus
On Wed, Dec 18, 2019 at 10:24 AM wrote: > From: Werner Pamler > Subject: Re: [Lazarus] Duplicate items in xml doc files > Message-ID: > But now I am quite confused because it does not necessarily > consider all nodes in a file. As we see here, there are two > TCanva

Re: [Lazarus] Duplicate items in xml doc files

2019-12-18 Thread Werner Pamler via lazarus
Am 18.12.2019 um 13:11 schrieb Marco van de Voort via lazarus: A lemma in the help that is just "polybezier", and not TCanvas.polybezier. I assume it is a global procedure The lemma has Source position: winapih.inc line 211 I looked at TCanvas.PolyBezier (the help text is in graphics.xml).

Re: [Lazarus] Duplicate items in xml doc files

2019-12-18 Thread Mattias Gaertner via lazarus
On Wed, 18 Dec 2019 16:21:33 +0100 Werner Pamler via lazarus wrote: >[...] > Another issue with the FPDocEditor is that it frequently writes back > to the xml file although nothing has been changed. Sound like a regression. It contains code to check if something has changed. Mattias --

Re: [Lazarus] Duplicate items in xml doc files

2019-12-18 Thread Werner Pamler via lazarus
Am 18.12.2019 um 16:36 schrieb Werner Pamler via lazarus: Am 18.12.2019 um 16:29 schrieb Michael Van Canneyt via lazarus: That's why the docs of fpc have the checkxml tool, which is used to quickly check the XML structure after editing, before committing or building. Thanks - I did not know

Re: [Lazarus] Duplicate items in xml doc files

2019-12-18 Thread Werner Pamler via lazarus
Am 18.12.2019 um 16:29 schrieb Michael Van Canneyt via lazarus: That's why the docs of fpc have the checkxml tool, which is used to quickly check the XML structure after editing, before committing or building. Thanks - I did not know that. -- ___

Re: [Lazarus] Duplicate items in xml doc files

2019-12-18 Thread Michael Van Canneyt via lazarus
On Wed, 18 Dec 2019, Werner Pamler via lazarus wrote: For FPC, I only edit manually. I don't see why this would be error prone ? Typos! Once I tried to build the html help files myself and it failed because somebody had forgotten the slash in the end tag of some element. I can imagine

Re: [Lazarus] Duplicate items in xml doc files

2019-12-18 Thread Werner Pamler via lazarus
Disregarding LazFPDoc for the moment: I do like the FPDoc Editor because once I understood its principle I could simply edit existing and create new help items. And moving the mouse over the corresponding keywords in the text gave an immediate feedback. But now I am quite confused because it

Re: [Lazarus] Duplicate items in xml doc files

2019-12-18 Thread Marco van de Voort via lazarus
Op 2019-12-18 om 12:55 schreef Werner Pamler via lazarus:  You are sure you really have TCanvas.polybezier in the editor, and not the polybezier global? (at least I see a polybezier global in the last CHM snapshot) No, I am not sure. I even don't know what "polybezier global" is... A

Re: [Lazarus] Duplicate items in xml doc files

2019-12-18 Thread Werner Pamler via lazarus
Am 18.12.2019 um 11:05 schrieb Marco van de Voort via lazarus: Op 2019-12-17 om 22:52 schreef Werner Pamler via lazarus: Fixing a docs-related issue today (https://bugs.freepascal.org/view.php?id=36452), I noticed that the entry for TCanvas.PolyBezier almost does not have any elements when

Re: [Lazarus] Duplicate items in xml doc files

2019-12-17 Thread Michael Van Canneyt via lazarus
On Tue, 17 Dec 2019, Werner Pamler via lazarus wrote: Fixing a docs-related issue today (https://bugs.freepascal.org/view.php?id=36452), I noticed that the entry for TCanvas.PolyBezier almost does not have any elements when the item is displayed in the *FPDoc editor* of Lazarus, i.e. I do

[Lazarus] Duplicate items in xml doc files

2019-12-17 Thread Werner Pamler via lazarus
Fixing a docs-related issue today (https://bugs.freepascal.org/view.php?id=36452), I noticed that the entry for TCanvas.PolyBezier almost does not have any elements when the item is displayed in the *FPDoc editor* of Lazarus, i.e. I do "View" > "FPDoc Editor" and place the cursor in the normal