Skip to content

Commit

Permalink
Fix sip
Browse files Browse the repository at this point in the history
  • Loading branch information
YoannQDQ authored and nyalldawson committed Jan 10, 2023
1 parent e6f2fc1 commit 74c6048
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -57,12 +57,12 @@ Loads a ``script`` file.

bool isCursorInsideStringLiteralOrComment() const;
%Docstring
Check whether the current cursor position is inside a string or comment
Check whether the current cursor position is inside a string literal or a comment

.. versionadded:: 3.30
%End

QString characterBeforeCursor( ) const;
QString characterBeforeCursor() const;
%Docstring
Returns the character before the cursor, or an empty string if cursor is set at start

Expand Down
2 changes: 1 addition & 1 deletion src/gui/codeeditors/qgscodeeditorpython.h
Expand Up @@ -76,7 +76,7 @@ class GUI_EXPORT QgsCodeEditorPython : public QgsCodeEditor
bool loadScript( const QString &script );

/**
* Check whether the current cursor position is inside a string or comment
* Check whether the current cursor position is inside a string literal or a comment
*
* \since QGIS 3.30
*/
Expand Down

0 comments on commit 74c6048

Please sign in to comment.