mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 13:54:54 +02:00
Minor coding style fix, removed unecessary comment
Closes #1192, fixes #868
This commit is contained in:
parent
e800e7efbf
commit
32b45e16d8
@ -401,7 +401,7 @@ XmlMatchedTagsHighlighter::FindResult XmlMatchedTagsHighlighter::findOpenTag(con
|
|||||||
{
|
{
|
||||||
nextChar = _pEditView->execute(SCI_GETCHARAT, result.end);
|
nextChar = _pEditView->execute(SCI_GETCHARAT, result.end);
|
||||||
styleAt = _pEditView->execute(SCI_GETSTYLEAT, result.start);
|
styleAt = _pEditView->execute(SCI_GETSTYLEAT, result.start);
|
||||||
if (styleAt != SCE_H_CDATA && styleAt != SCE_H_DOUBLESTRING && styleAt != SCE_H_SINGLESTRING && styleAt != SCE_H_COMMENT )
|
if (styleAt != SCE_H_CDATA && styleAt != SCE_H_DOUBLESTRING && styleAt != SCE_H_SINGLESTRING && styleAt != SCE_H_COMMENT)
|
||||||
{
|
{
|
||||||
// We've got an open tag for this tag name (i.e. nextChar was space or '>')
|
// We've got an open tag for this tag name (i.e. nextChar was space or '>')
|
||||||
// Now we need to find the end of the start tag.
|
// Now we need to find the end of the start tag.
|
||||||
|
@ -63,7 +63,6 @@ private:
|
|||||||
// Allowed whitespace characters in XML
|
// Allowed whitespace characters in XML
|
||||||
bool isWhitespace(int ch) { return ch == ' ' || ch == '\t' || ch == '\r' || ch == '\n'; }
|
bool isWhitespace(int ch) { return ch == ' ' || ch == '\t' || ch == '\r' || ch == '\n'; }
|
||||||
|
|
||||||
bool insideComment(int p); // added by Amy
|
|
||||||
FindResult findText(const char *text, int start, int end, int flags = 0);
|
FindResult findText(const char *text, int start, int end, int flags = 0);
|
||||||
FindResult findOpenTag(const std::string& tagName, int start, int end);
|
FindResult findOpenTag(const std::string& tagName, int start, int end);
|
||||||
FindResult findCloseTag(const std::string& tagName, int start, int end);
|
FindResult findCloseTag(const std::string& tagName, int start, int end);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user