Skip to content

Commit 203660a

Browse files
committed
Update some bits
1 parent f1db2ae commit 203660a

File tree

3 files changed

+53
-7
lines changed

3 files changed

+53
-7
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/************************************************************************
2+
* This file has been generated automatically from *
3+
* *
4+
* src/gui/qgscodeeditorexpression.h *
5+
* *
6+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
7+
************************************************************************/
8+
9+
10+
11+
12+
13+
class QgsCodeEditorExpression : QgsCodeEditor
14+
{
15+
%Docstring
16+
17+
A QGIS expression editor based on QScintilla2. Adds syntax highlighting and
18+
code autocompletion.
19+
20+
.. versionadded:: 3.4
21+
%End
22+
23+
%TypeHeaderCode
24+
#include "qgscodeeditorexpression.h"
25+
%End
26+
public:
27+
QgsCodeEditorExpression( QWidget *parent /TransferThis/ = 0 );
28+
%Docstring
29+
Constructor for QgsCodeEditorExpression
30+
%End
31+
32+
void setExpressionContext( const QgsExpressionContext &context );
33+
%Docstring
34+
Variables and functions from this expression context will be added to
35+
the API.
36+
Will also reload all globally registered functions.
37+
%End
38+
39+
void setFields( const QgsFields &fields );
40+
%Docstring
41+
Field names will be added to the API.
42+
%End
43+
44+
};
45+
46+
47+
/************************************************************************
48+
* This file has been generated automatically from *
49+
* *
50+
* src/gui/qgscodeeditorexpression.h *
51+
* *
52+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
53+
************************************************************************/

src/gui/qgscodeeditorexpression.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,3 @@ const char *QgsCaseInsensitiveLexerExpression::wordCharacters() const
158158
{
159159
return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_@";
160160
}
161-
162-
const char *QgsCaseInsensitiveLexerExpression::autoCompletionFillups() const
163-
{
164-
return "(";
165-
}

src/gui/qgscodeeditorexpression.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ class QgsCaseInsensitiveLexerExpression : public QsciLexerSQL
8888
bool caseSensitive() const override;
8989

9090
const char *wordCharacters() const override;
91-
92-
const char *autoCompletionFillups() const override;
9391
};
9492
///@endcond
9593
#endif

0 commit comments

Comments
 (0)