[Libreoffice-commits] core.git: basctl/source

Gökhan Gurbetoğlu gokhan.gurbetoglu at pardus.org.tr
Thu Jun 16 05:58:30 UTC 2016


 basctl/source/basicide/baside2.hxx  |    2 +-
 basctl/source/basicide/baside2b.cxx |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit fbed9850fd51327b9ca5971f603a06a49483ac14
Author: Gökhan Gurbetoğlu <gokhan.gurbetoglu at pardus.org.tr>
Date:   Wed Jun 15 12:24:05 2016 +0300

    Fixed a typo where highlighting was highlightning
    
    Or maybe it was intentionally done by some lightning superpowered guy?
    
    Change-Id: I76c6b6ef94dae4c97a26537451cff0179074995b
    Reviewed-on: https://gerrit.libreoffice.org/26295
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: jan iversen <jani at documentfoundation.org>

diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx
index b35af38..ba5caba 100644
--- a/basctl/source/basicide/baside2.hxx
+++ b/basctl/source/basicide/baside2.hxx
@@ -102,7 +102,7 @@ private:
     void            ImpDoHighlight( sal_uLong nLineOff );
     void            ImplSetFont();
 
-    bool            bHighlightning;
+    bool            bHighlighting;
     bool            bDoSyntaxHighlight;
     bool            bDelayHighlight;
 
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 7b31978..d1159c8 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -222,7 +222,7 @@ EditorWindow::EditorWindow (vcl::Window* pParent, ModulWindow* pModulWindow) :
     rModulWindow(*pModulWindow),
     nCurTextWidth(0),
     aHighlighter(HighlighterLanguage::Basic),
-    bHighlightning(false),
+    bHighlighting(false),
     bDoSyntaxHighlight(true),
     bDelayHighlight(true),
     pCodeCompleteWnd(VclPtr<CodeCompleteWindow>::Create(this))
@@ -1263,7 +1263,7 @@ void EditorWindow::DoDelayedSyntaxHighlight( sal_uLong nPara )
     if ( pProgress )
         pProgress->StepProgress();
 
-    if ( !bHighlightning && bDoSyntaxHighlight )
+    if ( !bHighlighting && bDoSyntaxHighlight )
     {
         if ( bDelayHighlight )
         {
@@ -1282,7 +1282,7 @@ IMPL_LINK_NOARG_TYPED(EditorWindow, SyntaxTimerHdl, Idle *, void)
     bool const bWasModified = pEditEngine->IsModified();
     //pEditEngine->SetUpdateMode(false);
 
-    bHighlightning = true;
+    bHighlighting = true;
     for ( std::set<sal_uInt16>::const_iterator it = aSyntaxLineTable.begin();
           it != aSyntaxLineTable.end(); ++it )
     {
@@ -1297,7 +1297,7 @@ IMPL_LINK_NOARG_TYPED(EditorWindow, SyntaxTimerHdl, Idle *, void)
     pEditEngine->SetModified( bWasModified );
 
     aSyntaxLineTable.clear();
-    bHighlightning = false;
+    bHighlighting = false;
 }
 
 void EditorWindow::ParagraphInsertedDeleted( sal_uLong nPara, bool bInserted )


More information about the Libreoffice-commits mailing list