summaryrefslogtreecommitdiff
path: root/include/comphelper/syntaxhighlight.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-28 12:51:52 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-10-28 13:48:14 +0100
commit176ac1e61610579ba8ac202c16d7aa0c0991af89 (patch)
tree275db2a0ccfd6fb06505d82813040fc5e9aea9b1 /include/comphelper/syntaxhighlight.hxx
parentc99267b326afcfd4002dc5ee33f5076a466c0cab (diff)
Remove unnecessary SyntaxHighlighter::Tokenizer statefulness
...which reveals that SyntaxHighlighter::notifyChange does nothing, so remove it. Change-Id: I49834af29081ee703d9e62e182e3c1f8ce7e212e
Diffstat (limited to 'include/comphelper/syntaxhighlight.hxx')
-rw-r--r--include/comphelper/syntaxhighlight.hxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/comphelper/syntaxhighlight.hxx b/include/comphelper/syntaxhighlight.hxx
index 8a5782273af3..ec0bf7c01e41 100644
--- a/include/comphelper/syntaxhighlight.hxx
+++ b/include/comphelper/syntaxhighlight.hxx
@@ -66,11 +66,6 @@ enum HighlighterLanguage
HIGHLIGHT_SQL
};
-//*** SyntaxHighlighter Class ***
-// Concept: the Highlighter will be notified of all changes in the source
-// (notifyChange) and returns the caller the range of lines, which based on the
-// changes, need to be highlighted again. For this the Highlighter marks all
-// lines internally whether or not C comments begin or end.
class COMPHELPER_DLLPUBLIC SyntaxHighlighter: private boost::noncopyable
{
class Tokenizer;
@@ -82,8 +77,6 @@ public:
SyntaxHighlighter(HighlighterLanguage language);
~SyntaxHighlighter();
- void notifyChange(const OUString* pChangedLines, sal_uInt32 nArrayLength);
-
void getHighlightPortions( const OUString& rLine,
std::vector<HighlightPortion>& pPortions );