diff options
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/basicide/baside2.hxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 11 | ||||
-rw-r--r-- | basctl/source/basicide/bastypes.cxx | 1 |
3 files changed, 5 insertions, 9 deletions
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx index 1619261e7d78..3d1b4a2b8a19 100644 --- a/basctl/source/basicide/baside2.hxx +++ b/basctl/source/basicide/baside2.hxx @@ -453,7 +453,7 @@ private: void NewConfig (bool bFirst); private: - // the color values (the indexes are TokenTypes, see svtools/syntaxhighlight.hxx) + // the color values (the indexes are TokenTypes, see comphelper/syntaxhighlight.hxx) Color aColors[TT_KEYWORDS + 1]; // the configuration svtools::ColorConfig aConfig; diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index b2a01828fa06..b812527e7801 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -41,7 +41,8 @@ #include <vcl/xtextedt.hxx> #include <vcl/txtattr.hxx> #include <svtools/textwindowpeer.hxx> -#include <svtools/syntaxhighlight.hxx> +#include <tools/stream.hxx> +#include <comphelper/syntaxhighlight.hxx> #include "svtools/treelistentry.hxx" #include <vcl/taskpanelist.hxx> #include <vcl/help.hxx> @@ -788,13 +789,7 @@ void EditorWindow::ImpDoHighlight( sal_uLong nLine ) if ( bDoSyntaxHighlight ) { OUString aLine( pEditEngine->GetText( nLine ) ); - Range aChanges = aHighlighter.notifyChange( nLine, 0, &aLine, 1 ); - if ( aChanges.Len() ) - { - for ( long n = aChanges.Min() + 1; n <= aChanges.Max(); n++ ) - aSyntaxLineTable.insert( n ); - aSyntaxIdleTimer.Start(); - } + aHighlighter.notifyChange( nLine, 0, &aLine, 1 ); bool const bWasModified = pEditEngine->IsModified(); pEditEngine->RemoveAttribs( nLine, true ); diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx index 340ea4052372..83cf3ba98c2c 100644 --- a/basctl/source/basicide/bastypes.cxx +++ b/basctl/source/basicide/bastypes.cxx @@ -36,6 +36,7 @@ #include <svl/intitem.hxx> #include <svl/stritem.hxx> #include <vcl/msgbox.hxx> +#include <tools/stream.hxx> namespace basctl { |