From f18699c0af6c142871563030d5c895fd0c6156d4 Mon Sep 17 00:00:00 2001 From: New Pagodi Date: Sun, 14 Jul 2019 12:53:29 -0500 Subject: [PATCH] Fix invalid parameter names in wxSTC docs --- interface/wx/stc/stc.h | 6 +++--- src/stc/stc.interface.h.in | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/interface/wx/stc/stc.h b/interface/wx/stc/stc.h index 9797ad24c7..d4f4f54d4e 100644 --- a/interface/wx/stc/stc.h +++ b/interface/wx/stc/stc.h @@ -7466,7 +7466,7 @@ public: @param value The value to replace the existing text with. */ - virtual void Replace(long from, long to, const wxString& text); + virtual void Replace(long from, long to, const wxString& value); /** Sets the insertion point at the given position. @@ -7599,7 +7599,7 @@ public: @return The length of the line, or -1 if @a lineNo was invalid. */ - virtual int GetLineLength(long n) const; + virtual int GetLineLength(long lineNo) const; /** Returns the contents of a given line in the text control, not including @@ -7611,7 +7611,7 @@ public: @return The contents of the line. */ - virtual wxString GetLineText(long n) const; + virtual wxString GetLineText(long lineNo) const; /** Returns the number of lines in the text control buffer. diff --git a/src/stc/stc.interface.h.in b/src/stc/stc.interface.h.in index 5b6881008c..5e7e1b9a5d 100644 --- a/src/stc/stc.interface.h.in +++ b/src/stc/stc.interface.h.in @@ -406,7 +406,7 @@ public: @param value The value to replace the existing text with. */ - virtual void Replace(long from, long to, const wxString& text); + virtual void Replace(long from, long to, const wxString& value); /** Sets the insertion point at the given position. @@ -539,7 +539,7 @@ public: @return The length of the line, or -1 if @a lineNo was invalid. */ - virtual int GetLineLength(long n) const; + virtual int GetLineLength(long lineNo) const; /** Returns the contents of a given line in the text control, not including @@ -551,7 +551,7 @@ public: @return The contents of the line. */ - virtual wxString GetLineText(long n) const; + virtual wxString GetLineText(long lineNo) const; /** Returns the number of lines in the text control buffer.