From ebdc838151cae1753a0c11f6d91afb1b1fd453b0 Mon Sep 17 00:00:00 2001 From: New Pagodi Date: Wed, 30 Jan 2019 18:18:21 -0600 Subject: [PATCH] Preserve recent changes to wxSTC documentation Recent commits 8fbca5cb70 and c68e5d0617 fixed some typos is the documentation for wxSTC. Unfortunatly these changes will be lost the next time the wxSTC files are regenerated. This commit modifies stc.interface.h.in and gen_docs.py to ensure that these changes are preserved when the wxSTC files are regenerated. --- src/stc/gen_docs.py | 8 +++++++- src/stc/stc.interface.h.in | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/stc/gen_docs.py b/src/stc/gen_docs.py index c66ff27f77..a4de040ab7 100644 --- a/src/stc/gen_docs.py +++ b/src/stc/gen_docs.py @@ -844,7 +844,13 @@ docSubstitutions = { 'SC_SEL_RECTANGLE':'wxSTC_SEL_RECTANGLE','SC_SEL_THIN':'wxSTC_SEL_THIN', 'SC_SEL_LINES':'wxSTC_SEL_LINES'}, - 'SetFontQuality':{' from the FontQuality enumeration':''} + 'SetFontQuality':{' from the FontQuality enumeration':''}, + + 'GetWrapVisualFlags':{'Retrive':'Retrieve'}, + + 'GetWrapVisualFlagsLocation':{'Retrive':'Retrieve'}, + + 'GetWrapStartIndent':{'Retrive':'Retrieve'} } diff --git a/src/stc/stc.interface.h.in b/src/stc/stc.interface.h.in index 8e18eb8677..ec7885b0dd 100644 --- a/src/stc/stc.interface.h.in +++ b/src/stc/stc.interface.h.in @@ -7,7 +7,7 @@ /* IMPORTANT: This file is generated by src/stc/gen_iface.py from - src/stc/stc.interface.h.in. Do not edit the file in + src/stc/stc.interface.h.in. Do not edit the file in interface/wx/stc or your changes will be lost. */ @@ -223,7 +223,7 @@ public: /** Extract style settings from a spec-string which is composed of one or more of the following comma separated elements: - + bold turns on bold italic turns on italics fore:[name or \#RRGGBB] sets the foreground colour