summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/syntaxhighlighter_html.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-08 12:59:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-10 17:35:38 +0900
commitd2d30bfbef26707f9158cbc31d5763a9a1d4ab2d (patch)
tree6d2d4502d6fbe4d6810bfb7bcf297cbf995d3db8 /kdevdesigner/designer/syntaxhighlighter_html.cpp
parentb9618de13e8f38c3558e9ed393a75c1f13af665c (diff)
downloadtdevelop-r14.1.4.tar.gz
tdevelop-r14.1.4.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 5198c9d3ac02aa9c7949f49e3cf374f683facb18)
Diffstat (limited to 'kdevdesigner/designer/syntaxhighlighter_html.cpp')
-rw-r--r--kdevdesigner/designer/syntaxhighlighter_html.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kdevdesigner/designer/syntaxhighlighter_html.cpp b/kdevdesigner/designer/syntaxhighlighter_html.cpp
index 5bb681f9..ddc6f649 100644
--- a/kdevdesigner/designer/syntaxhighlighter_html.cpp
+++ b/kdevdesigner/designer/syntaxhighlighter_html.cpp
@@ -66,7 +66,7 @@ void SyntaxHighlighter_HTML::process( TQTextDocument *doc, TQTextParagraph *stri
if ( string->prev() ) {
if ( string->prev()->endState() == -1 )
- process( doc, string->prev(), 0, FALSE );
+ process( doc, string->prev(), 0, false );
state = string->prev()->endState();
}
@@ -77,50 +77,50 @@ void SyntaxHighlighter_HTML::process( TQTextDocument *doc, TQTextParagraph *stri
if ( c == '<' ) {
if ( state != StateStandard )
- string->setFormat( i - buffer.length(), buffer.length(), formatStandard, FALSE );
+ string->setFormat( i - buffer.length(), buffer.length(), formatStandard, false );
buffer = c;
state = StateTag;
- string->setFormat( i, 1, formatKeyword, FALSE );
+ string->setFormat( i, 1, formatKeyword, false );
}
else if ( c == '>' && ( state != StateStandard ) ) {
- string->setFormat( i, 1, formatKeyword, FALSE );
+ string->setFormat( i, 1, formatKeyword, false );
buffer = "";
state = StateStandard;
}
else if ( c == ' ' && state == StateTag ) {
buffer += c;
- string->setFormat( i, 1, formatStandard, FALSE );
+ string->setFormat( i, 1, formatStandard, false );
state = StateAttribute;
}
else if ( c == '=' && state == StateAttribute ) {
buffer += c;
- string->setFormat( i, 1, formatStandard, FALSE );
+ string->setFormat( i, 1, formatStandard, false );
state = StateAttribute;
}
else if ( c == '\"' && state == StateAttribute ) {
buffer += c;
- string->setFormat( i, 1, formatStandard, FALSE );
+ string->setFormat( i, 1, formatStandard, false );
state = StateAttribVal;
}
else if ( c == '\"' && state == StateAttribVal ) {
buffer += c;
- string->setFormat( i, 1, formatStandard, FALSE );
+ string->setFormat( i, 1, formatStandard, false );
state = StateAttribute;
}
else if ( state == StateAttribute ) {
buffer += c;
- string->setFormat( i, 1, formatAttribute, FALSE );
+ string->setFormat( i, 1, formatAttribute, false );
}
else if ( state == StateAttribVal ) {
buffer += c;
- string->setFormat( i, 1, formatAttribValue, FALSE );
+ string->setFormat( i, 1, formatAttribValue, false );
}
else if ( state == StateTag ) {
- string->setFormat( i, 1, formatKeyword, FALSE );
+ string->setFormat( i, 1, formatKeyword, false );
buffer += c;
}
else if ( state == StateStandard ) {
- string->setFormat( i, 1, formatStandard, FALSE );
+ string->setFormat( i, 1, formatStandard, false );
}
i++;
@@ -129,7 +129,7 @@ void SyntaxHighlighter_HTML::process( TQTextDocument *doc, TQTextParagraph *stri
}
string->setEndState( state );
- string->setFirstPreProcess( FALSE );
+ string->setFirstPreProcess( false );
if ( invalidate && string->next() &&
!string->next()->firstPreProcess() && string->next()->endState() != -1 ) {