diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-15 14:50:28 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-16 09:10:20 +0200 |
commit | 7d5f47aff58fbe57ff24a4e4052bc1149fc5829d (patch) | |
tree | df70eacd404bf621c8ee33af49d3aa562b15404f /svtools/source/edit | |
parent | 866e287adee448c1c8b431c6c084d3fe3283649d (diff) |
This seems to be the original purpose
Change-Id: Ie8c50324fe3d1e836967ba4de24cd740182418a6
Diffstat (limited to 'svtools/source/edit')
-rw-r--r-- | svtools/source/edit/editsyntaxhighlighter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/edit/editsyntaxhighlighter.cxx b/svtools/source/edit/editsyntaxhighlighter.cxx index 746bbbb24dae..224017a5e153 100644 --- a/svtools/source/edit/editsyntaxhighlighter.cxx +++ b/svtools/source/edit/editsyntaxhighlighter.cxx @@ -76,7 +76,7 @@ void MultiLineEditSyntaxHighlight::DoBracketHilight(sal_uInt16 nKey) { for (sal_Int32 nPara = nStartPara; nPara >= 0; --nPara) { - if (nStartPos == 0) + if (nPara == nStartPara && nStartPos == 0) continue; OUString aLine( GetTextEngine()->GetText( nPara ) ); |