From f785b350d7e0e632a1bc81c96fc0bd76cd013cbc Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 1 Aug 2022 16:04:04 +1000 Subject: Update CheckMentioned.py script to handle ...Full structs. Fix documentation to use correct ID attribute. --- doc/ScintillaDoc.html | 2 +- scripts/CheckMentioned.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 38a0434d9..bcbc88152 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -1053,7 +1053,7 @@ struct Sci_TextRangeFull {

SCI_FINDTEXT(int searchFlags, Sci_TextToFind *ft) → position
- SCI_FINDTEXTFULL(int searchFlags, Sci_TextToFindFull *ft) → position
+ SCI_FINDTEXTFULL(int searchFlags, Sci_TextToFindFull *ft) → position
These messages search for text in the document. They do not use or move the current selection. The searchFlags argument controls the search type, which includes regular expression searches.

diff --git a/scripts/CheckMentioned.py b/scripts/CheckMentioned.py index 157acb31e..3e87be79c 100644 --- a/scripts/CheckMentioned.py +++ b/scripts/CheckMentioned.py @@ -61,6 +61,12 @@ def convertIFaceTypeToC(t): return "Sci_TextToFind *" elif t == "formatrange": return "Sci_RangeToFormat *" + elif t == "textrangefull": + return "Sci_TextRangeFull *" + elif t == "findtextfull": + return "Sci_TextToFindFull *" + elif t == "formatrangefull": + return "Sci_RangeToFormatFull *" elif Face.IsEnumeration(t): return "int " return t + " " -- cgit v1.2.3