Skip to content

Commit

Permalink
Update some bits
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 8, 2018
1 parent f1db2ae commit 203660a
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 7 deletions.
53 changes: 53 additions & 0 deletions python/gui/auto_generated/qgscodeeditorexpression.sip.in
@@ -0,0 +1,53 @@
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscodeeditorexpression.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/





class QgsCodeEditorExpression : QgsCodeEditor
{
%Docstring

A QGIS expression editor based on QScintilla2. Adds syntax highlighting and
code autocompletion.

.. versionadded:: 3.4
%End

%TypeHeaderCode
#include "qgscodeeditorexpression.h"
%End
public:
QgsCodeEditorExpression( QWidget *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsCodeEditorExpression
%End

void setExpressionContext( const QgsExpressionContext &context );
%Docstring
Variables and functions from this expression context will be added to
the API.
Will also reload all globally registered functions.
%End

void setFields( const QgsFields &fields );
%Docstring
Field names will be added to the API.
%End

};


/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscodeeditorexpression.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
5 changes: 0 additions & 5 deletions src/gui/qgscodeeditorexpression.cpp
Expand Up @@ -158,8 +158,3 @@ const char *QgsCaseInsensitiveLexerExpression::wordCharacters() const
{
return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_@";
}

const char *QgsCaseInsensitiveLexerExpression::autoCompletionFillups() const
{
return "(";
}
2 changes: 0 additions & 2 deletions src/gui/qgscodeeditorexpression.h
Expand Up @@ -88,8 +88,6 @@ class QgsCaseInsensitiveLexerExpression : public QsciLexerSQL
bool caseSensitive() const override;

const char *wordCharacters() const override;

const char *autoCompletionFillups() const override;
};
///@endcond
#endif
Expand Down

0 comments on commit 203660a

Please sign in to comment.