From ef9b326d049b42c511affea9affb06eaa4284d41 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Thu, 10 Oct 2024 11:52:07 +1000 Subject: [PATCH] Apply suggestions from code review --- .../PyQt6/gui/auto_generated/codeeditors/qgscodeeditor.sip.in | 2 +- python/gui/auto_generated/codeeditors/qgscodeeditor.sip.in | 2 +- src/gui/codeeditors/qgscodeeditor.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/PyQt6/gui/auto_generated/codeeditors/qgscodeeditor.sip.in b/python/PyQt6/gui/auto_generated/codeeditors/qgscodeeditor.sip.in index 4ba757dcd8a..30eccb100b1 100644 --- a/python/PyQt6/gui/auto_generated/codeeditors/qgscodeeditor.sip.in +++ b/python/PyQt6/gui/auto_generated/codeeditors/qgscodeeditor.sip.in @@ -374,7 +374,7 @@ Returns the linear position of the start of the last wrapped part for the specif for the current line if line = -1 If wrapping is disabled, returns -1 instead -.. versionadded:: 3.42 +.. versionadded:: 3.40 %End public slots: diff --git a/python/gui/auto_generated/codeeditors/qgscodeeditor.sip.in b/python/gui/auto_generated/codeeditors/qgscodeeditor.sip.in index 2d4d38d9033..2fe8d0f9c15 100644 --- a/python/gui/auto_generated/codeeditors/qgscodeeditor.sip.in +++ b/python/gui/auto_generated/codeeditors/qgscodeeditor.sip.in @@ -374,7 +374,7 @@ Returns the linear position of the start of the last wrapped part for the specif for the current line if line = -1 If wrapping is disabled, returns -1 instead -.. versionadded:: 3.42 +.. versionadded:: 3.40 %End public slots: diff --git a/src/gui/codeeditors/qgscodeeditor.h b/src/gui/codeeditors/qgscodeeditor.h index 7dae185357a..94ebd4153fe 100644 --- a/src/gui/codeeditors/qgscodeeditor.h +++ b/src/gui/codeeditors/qgscodeeditor.h @@ -415,7 +415,7 @@ class GUI_EXPORT QgsCodeEditor : public QsciScintilla * for the current line if line = -1 * If wrapping is disabled, returns -1 instead * - * \since QGIS 3.42 + * \since QGIS 3.40 */ int wrapPosition( int line = -1 );