Mercurial > octave
annotate libgui/languages/build_ts/octave-qsci/Qsci/qscilexercpp.h @ 31537:5ceb4bfcdb0f stable
add tools and files for updating the gui's language files for translation
* libgui/languages/build_ts/README.md: readme for updating language files
* libgui/languages/build_ts/octave-qsci: QScintilla source files for
languages without translation provided by QScintilla
* libgui/languages/build_ts/octave-qt: Qt source files for languages
without translation provided by Qt
author | Torsten Lilge <ttl-octave@mailbox.org> |
---|---|
date | Thu, 24 Nov 2022 06:48:25 +0100 |
parents | |
children | dd5ece3664ed |
rev | line source |
---|---|
31537
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
1 // This defines the interface to the QsciLexerCPP class. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
2 // |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
3 // Copyright (c) 2019 Riverbank Computing Limited <info@riverbankcomputing.com> |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
4 // |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
5 // This file is part of QScintilla. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
6 // |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
7 // This file may be used under the terms of the GNU General Public License |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
8 // version 3.0 as published by the Free Software Foundation and appearing in |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
9 // the file LICENSE included in the packaging of this file. Please review the |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
10 // following information to ensure the GNU General Public License version 3.0 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
11 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
12 // |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
13 // If you do not wish to use this file under the terms of the GPL version 3.0 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
14 // then you may purchase a commercial license. For more information contact |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
15 // info@riverbankcomputing.com. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
16 // |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
17 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
18 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
19 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
20 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
21 #ifndef QSCILEXERCPP_H |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
22 #define QSCILEXERCPP_H |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
23 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
24 #include <QObject> |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
25 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
26 #include <Qsci/qsciglobal.h> |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
27 #include <Qsci/qscilexer.h> |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
28 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
29 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
30 //! \brief The QsciLexerCPP class encapsulates the Scintilla C++ |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
31 //! lexer. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
32 class QSCINTILLA_EXPORT QsciLexerCPP : public QsciLexer |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
33 { |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
34 Q_OBJECT |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
35 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
36 public: |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
37 //! This enum defines the meanings of the different styles used by the |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
38 //! C++ lexer. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
39 enum { |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
40 //! The default. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
41 Default = 0, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
42 InactiveDefault = Default + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
43 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
44 //! A C comment. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
45 Comment = 1, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
46 InactiveComment = Comment + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
47 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
48 //! A C++ comment line. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
49 CommentLine = 2, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
50 InactiveCommentLine = CommentLine + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
51 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
52 //! A JavaDoc/Doxygen style C comment. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
53 CommentDoc = 3, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
54 InactiveCommentDoc = CommentDoc + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
55 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
56 //! A number. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
57 Number = 4, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
58 InactiveNumber = Number + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
59 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
60 //! A keyword. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
61 Keyword = 5, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
62 InactiveKeyword = Keyword + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
63 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
64 //! A double-quoted string. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
65 DoubleQuotedString = 6, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
66 InactiveDoubleQuotedString = DoubleQuotedString + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
67 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
68 //! A single-quoted string. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
69 SingleQuotedString = 7, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
70 InactiveSingleQuotedString = SingleQuotedString + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
71 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
72 //! An IDL UUID. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
73 UUID = 8, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
74 InactiveUUID = UUID + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
75 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
76 //! A pre-processor block. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
77 PreProcessor = 9, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
78 InactivePreProcessor = PreProcessor + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
79 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
80 //! An operator. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
81 Operator = 10, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
82 InactiveOperator = Operator + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
83 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
84 //! An identifier |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
85 Identifier = 11, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
86 InactiveIdentifier = Identifier + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
87 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
88 //! The end of a line where a string is not closed. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
89 UnclosedString = 12, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
90 InactiveUnclosedString = UnclosedString + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
91 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
92 //! A C# verbatim string. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
93 VerbatimString = 13, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
94 InactiveVerbatimString = VerbatimString + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
95 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
96 //! A JavaScript regular expression. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
97 Regex = 14, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
98 InactiveRegex = Regex + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
99 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
100 //! A JavaDoc/Doxygen style C++ comment line. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
101 CommentLineDoc = 15, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
102 InactiveCommentLineDoc = CommentLineDoc + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
103 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
104 //! A keyword defined in keyword set number 2. The class must be |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
105 //! sub-classed and re-implement keywords() to make use of this style. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
106 KeywordSet2 = 16, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
107 InactiveKeywordSet2 = KeywordSet2 + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
108 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
109 //! A JavaDoc/Doxygen keyword. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
110 CommentDocKeyword = 17, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
111 InactiveCommentDocKeyword = CommentDocKeyword + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
112 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
113 //! A JavaDoc/Doxygen keyword error. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
114 CommentDocKeywordError = 18, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
115 InactiveCommentDocKeywordError = CommentDocKeywordError + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
116 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
117 //! A global class or typedef defined in keyword set number 5. The |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
118 //! class must be sub-classed and re-implement keywords() to make use |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
119 //! of this style. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
120 GlobalClass = 19, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
121 InactiveGlobalClass = GlobalClass + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
122 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
123 //! A C++ raw string. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
124 RawString = 20, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
125 InactiveRawString = RawString + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
126 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
127 //! A Vala triple-quoted verbatim string. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
128 TripleQuotedVerbatimString = 21, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
129 InactiveTripleQuotedVerbatimString = TripleQuotedVerbatimString + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
130 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
131 //! A Pike hash-quoted string. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
132 HashQuotedString = 22, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
133 InactiveHashQuotedString = HashQuotedString + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
134 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
135 //! A pre-processor stream comment. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
136 PreProcessorComment = 23, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
137 InactivePreProcessorComment = PreProcessorComment + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
138 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
139 //! A JavaDoc/Doxygen style pre-processor comment. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
140 PreProcessorCommentLineDoc = 24, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
141 InactivePreProcessorCommentLineDoc = PreProcessorCommentLineDoc + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
142 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
143 //! A user-defined literal. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
144 UserLiteral = 25, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
145 InactiveUserLiteral = UserLiteral + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
146 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
147 //! A task marker. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
148 TaskMarker = 26, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
149 InactiveTaskMarker = TaskMarker + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
150 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
151 //! An escape sequence. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
152 EscapeSequence = 27, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
153 InactiveEscapeSequence = EscapeSequence + 64, |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
154 }; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
155 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
156 //! Construct a QsciLexerCPP with parent \a parent. \a parent is typically |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
157 //! the QsciScintilla instance. \a caseInsensitiveKeywords is true if the |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
158 //! lexer ignores the case of keywords. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
159 QsciLexerCPP(QObject *parent = 0, bool caseInsensitiveKeywords = false); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
160 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
161 //! Destroys the QsciLexerCPP instance. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
162 virtual ~QsciLexerCPP(); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
163 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
164 //! Returns the name of the language. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
165 const char *language() const; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
166 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
167 //! Returns the name of the lexer. Some lexers support a number of |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
168 //! languages. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
169 const char *lexer() const; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
170 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
171 //! \internal Returns the character sequences that can separate |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
172 //! auto-completion words. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
173 QStringList autoCompletionWordSeparators() const; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
174 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
175 //! \internal Returns a space separated list of words or characters in |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
176 //! a particular style that define the end of a block for |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
177 //! auto-indentation. The styles is returned via \a style. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
178 const char *blockEnd(int *style = 0) const; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
179 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
180 //! \internal Returns a space separated list of words or characters in |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
181 //! a particular style that define the start of a block for |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
182 //! auto-indentation. The styles is returned via \a style. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
183 const char *blockStart(int *style = 0) const; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
184 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
185 //! \internal Returns a space separated list of keywords in a |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
186 //! particular style that define the start of a block for |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
187 //! auto-indentation. The styles is returned via \a style. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
188 const char *blockStartKeyword(int *style = 0) const; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
189 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
190 //! \internal Returns the style used for braces for brace matching. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
191 int braceStyle() const; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
192 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
193 //! Returns the string of characters that comprise a word. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
194 const char *wordCharacters() const; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
195 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
196 //! Returns the foreground colour of the text for style number \a style. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
197 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
198 //! \sa defaultPaper() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
199 QColor defaultColor(int style) const; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
200 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
201 //! Returns the end-of-line fill for style number \a style. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
202 bool defaultEolFill(int style) const; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
203 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
204 //! Returns the font for style number \a style. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
205 QFont defaultFont(int style) const; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
206 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
207 //! Returns the background colour of the text for style number \a style. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
208 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
209 //! \sa defaultColor() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
210 QColor defaultPaper(int style) const; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
211 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
212 //! Returns the set of keywords for the keyword set \a set recognised |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
213 //! by the lexer as a space separated string. Set 1 is normally used for |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
214 //! primary keywords and identifiers. Set 2 is normally used for secondary |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
215 //! keywords and identifiers. Set 3 is normally used for documentation |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
216 //! comment keywords. Set 4 is normally used for global classes and |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
217 //! typedefs. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
218 const char *keywords(int set) const; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
219 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
220 //! Returns the descriptive name for style number \a style. If the |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
221 //! style is invalid for this language then an empty QString is returned. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
222 //! This is intended to be used in user preference dialogs. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
223 QString description(int style) const; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
224 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
225 //! Causes all properties to be refreshed by emitting the |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
226 //! propertyChanged() signal as required. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
227 void refreshProperties(); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
228 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
229 //! Returns true if "} else {" lines can be folded. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
230 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
231 //! \sa setFoldAtElse() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
232 bool foldAtElse() const {return fold_atelse;} |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
233 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
234 //! Returns true if multi-line comment blocks can be folded. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
235 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
236 //! \sa setFoldComments() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
237 bool foldComments() const {return fold_comments;} |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
238 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
239 //! Returns true if trailing blank lines are included in a fold block. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
240 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
241 //! \sa setFoldCompact() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
242 bool foldCompact() const {return fold_compact;} |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
243 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
244 //! Returns true if preprocessor blocks can be folded. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
245 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
246 //! \sa setFoldPreprocessor() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
247 bool foldPreprocessor() const {return fold_preproc;} |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
248 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
249 //! Returns true if preprocessor lines (after the preprocessor |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
250 //! directive) are styled. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
251 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
252 //! \sa setStylePreprocessor() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
253 bool stylePreprocessor() const {return style_preproc;} |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
254 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
255 //! If \a allowed is true then '$' characters are allowed in identifier |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
256 //! names. The default is true. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
257 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
258 //! \sa dollarsAllowed() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
259 void setDollarsAllowed(bool allowed); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
260 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
261 //! Returns true if '$' characters are allowed in identifier names. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
262 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
263 //! \sa setDollarsAllowed() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
264 bool dollarsAllowed() const {return dollars;} |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
265 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
266 //! If \a enabled is true then triple quoted strings are highlighted. The |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
267 //! default is false. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
268 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
269 //! \sa highlightTripleQuotedStrings() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
270 void setHighlightTripleQuotedStrings(bool enabled); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
271 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
272 //! Returns true if triple quoted strings should be highlighted. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
273 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
274 //! \sa setHighlightTripleQuotedStrings() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
275 bool highlightTripleQuotedStrings() const {return highlight_triple;} |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
276 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
277 //! If \a enabled is true then hash quoted strings are highlighted. The |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
278 //! default is false. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
279 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
280 //! \sa highlightHashQuotedStrings() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
281 void setHighlightHashQuotedStrings(bool enabled); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
282 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
283 //! Returns true if hash quoted strings should be highlighted. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
284 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
285 //! \sa setHighlightHashQuotedStrings() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
286 bool highlightHashQuotedStrings() const {return highlight_hash;} |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
287 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
288 //! If \a enabled is true then back-quoted raw strings are highlighted. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
289 //! The default is false. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
290 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
291 //! \sa highlightBackQuotedStrings() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
292 void setHighlightBackQuotedStrings(bool enabled); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
293 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
294 //! Returns true if back-quoted raw strings should be highlighted. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
295 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
296 //! \sa setHighlightBackQuotedStrings() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
297 bool highlightBackQuotedStrings() const {return highlight_back;} |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
298 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
299 //! If \a enabled is true then escape sequences in strings are highlighted. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
300 //! The default is false. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
301 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
302 //! \sa highlightEscapeSequences() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
303 void setHighlightEscapeSequences(bool enabled); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
304 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
305 //! Returns true if escape sequences in strings should be highlighted. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
306 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
307 //! \sa setHighlightEscapeSequences() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
308 bool highlightEscapeSequences() const {return highlight_escape;} |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
309 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
310 //! If \a allowed is true then escape sequences are allowed in verbatim |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
311 //! strings. The default is false. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
312 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
313 //! \sa verbatimStringEscapeSequencesAllowed() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
314 void setVerbatimStringEscapeSequencesAllowed(bool allowed); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
315 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
316 //! Returns true if hash quoted strings should be highlighted. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
317 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
318 //! \sa setVerbatimStringEscapeSequencesAllowed() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
319 bool verbatimStringEscapeSequencesAllowed() const {return vs_escape;} |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
320 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
321 public slots: |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
322 //! If \a fold is true then "} else {" lines can be folded. The |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
323 //! default is false. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
324 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
325 //! \sa foldAtElse() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
326 virtual void setFoldAtElse(bool fold); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
327 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
328 //! If \a fold is true then multi-line comment blocks can be folded. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
329 //! The default is false. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
330 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
331 //! \sa foldComments() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
332 virtual void setFoldComments(bool fold); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
333 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
334 //! If \a fold is true then trailing blank lines are included in a fold |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
335 //! block. The default is true. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
336 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
337 //! \sa foldCompact() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
338 virtual void setFoldCompact(bool fold); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
339 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
340 //! If \a fold is true then preprocessor blocks can be folded. The |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
341 //! default is true. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
342 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
343 //! \sa foldPreprocessor() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
344 virtual void setFoldPreprocessor(bool fold); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
345 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
346 //! If \a style is true then preprocessor lines (after the preprocessor |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
347 //! directive) are styled. The default is false. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
348 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
349 //! \sa stylePreprocessor() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
350 virtual void setStylePreprocessor(bool style); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
351 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
352 protected: |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
353 //! The lexer's properties are read from the settings \a qs. \a prefix |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
354 //! (which has a trailing '/') should be used as a prefix to the key of |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
355 //! each setting. true is returned if there is no error. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
356 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
357 //! \sa writeProperties() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
358 bool readProperties(QSettings &qs,const QString &prefix); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
359 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
360 //! The lexer's properties are written to the settings \a qs. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
361 //! \a prefix (which has a trailing '/') should be used as a prefix to |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
362 //! the key of each setting. true is returned if there is no error. |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
363 //! |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
364 //! \sa readProperties() |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
365 bool writeProperties(QSettings &qs,const QString &prefix) const; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
366 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
367 private: |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
368 void setAtElseProp(); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
369 void setCommentProp(); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
370 void setCompactProp(); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
371 void setPreprocProp(); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
372 void setStylePreprocProp(); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
373 void setDollarsProp(); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
374 void setHighlightTripleProp(); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
375 void setHighlightHashProp(); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
376 void setHighlightBackProp(); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
377 void setHighlightEscapeProp(); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
378 void setVerbatimStringEscapeProp(); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
379 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
380 bool fold_atelse; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
381 bool fold_comments; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
382 bool fold_compact; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
383 bool fold_preproc; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
384 bool style_preproc; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
385 bool dollars; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
386 bool highlight_triple; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
387 bool highlight_hash; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
388 bool highlight_back; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
389 bool highlight_escape; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
390 bool vs_escape; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
391 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
392 bool nocase; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
393 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
394 QsciLexerCPP(const QsciLexerCPP &); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
395 QsciLexerCPP &operator=(const QsciLexerCPP &); |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
396 }; |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
397 |
5ceb4bfcdb0f
add tools and files for updating the gui's language files for translation
Torsten Lilge <ttl-octave@mailbox.org>
parents:
diff
changeset
|
398 #endif |