NCL Composer
0.1.5
Main Page
Related Pages
Classes
All
Classes
Functions
Variables
Pages
QsciLexerNCL.h
1
/*
2
* Copyright 2011 TeleMidia/PUC-Rio.
3
*
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
8
*
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library. If not, see
16
* <http://www.gnu.org/licenses/>.
17
*/
18
#ifndef QSCILEXERNCL_H
19
#define QSCILEXERNCL_H
20
21
#include <QObject>
22
#include <Qsci/qsciglobal.h>
23
#include <Qsci/qscilexerhtml.h>
24
26
class
QsciLexerNCL
:
public
QsciLexerHTML
27
{
28
Q_OBJECT
29
30
public
:
33
QsciLexerNCL
(QObject *parent = 0);
34
36
virtual
~QsciLexerNCL
();
37
39
const
char
*
language
()
const
;
40
43
const
char
*
lexer
()
const
;
44
48
QColor
defaultColor
(
int
style)
const
;
49
51
bool
defaultEolFill
(
int
style)
const
;
52
54
QFont
defaultFont
(
int
style)
const
;
55
59
QColor
defaultPaper
(
int
style)
const
;
60
63
const
char
*
keywords
(
int
set)
const
;
64
67
void
refreshProperties
();
68
72
void
setScriptsStyled
(
bool
styled);
73
77
bool
scriptsStyled
()
const
;
78
79
protected
:
84
bool
readProperties
(QSettings &qs,
const
QString &prefix);
85
90
bool
writeProperties
(QSettings &qs,
const
QString &prefix)
const
;
91
92
private
:
93
void
setScriptsProp();
94
95
bool
scripts;
96
97
QsciLexerNCL
(
const
QsciLexerNCL
&);
98
QsciLexerNCL
&operator=(
const
QsciLexerNCL
&);
99
};
100
101
#endif
composer-plugins
ncl-text-editor
include
QsciLexerNCL.h
Generated on Tue Jun 18 2013 16:03:02 for NCL Composer by
1.8.4