Tag: cws_dev300_sqlsyntaxhighlighting
User: mod     
Date: 2008-09-17 15:15:51+0000
Modified:
   dba/dbaccess/source/ui/control/sqledit.cxx
   dba/dbaccess/source/ui/inc/sqledit.hxx

Log:
 ?

File Changes:

Directory: /dba/dbaccess/source/ui/control/
===========================================

File [changed]: sqledit.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/control/sqledit.cxx?r1=1.12.16.1&r2=1.12.16.2
Delta lines:  +5 -21
--------------------
--- sqledit.cxx 2008-07-19 11:58:49+0000        1.12.16.1
+++ sqledit.cxx 2008-09-17 15:15:47+0000        1.12.16.2
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: sqledit.cxx,v $
- * $Revision: 1.12.16.1 $
+ * $Revision: 1.12.16.2 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -30,33 +30,19 @@
 
 // MARKER(update_precomp.py): autogen include statement, do not remove
 #include "precompiled_dbaccess.hxx"
-#ifndef DBAUI_SQLEDIT_HXX
 #include "sqledit.hxx"
-#endif
-#ifndef DBAUI_QUERYVIEW_TEXT_HXX
 #include "QueryTextView.hxx"
-#endif
-#ifndef DBAUI_QUERYCONTAINERWINDOW_HXX
 #include "querycontainerwindow.hxx"
-#endif
-#ifndef _TOOLS_DEBUG_HXX
 #include <tools/debug.hxx>
-#endif
 #include "dbaccess_helpid.hrc"
-#ifndef DBACCESS_UI_BROWSER_ID_HXX
 #include "browserids.hxx"
-#endif
-#ifndef DBAUI_QUERYCONTROLLER_HXX
 #include "querycontroller.hxx"
-#endif
-#ifndef DBAUI_UNDOSQLEDIT_HXX
 #include "undosqledit.hxx"
-#endif
-#ifndef DBAUI_QUERYDESIGNVIEW_HXX
 #include "QueryDesignView.hxx"
-#endif
 
 #include <svtools/sourceviewconfig.hxx>
+#include <svtools/smplhint.hxx>
+
 //////////////////////////////////////////////////////////////////////////
 // OSqlEdit
 
//------------------------------------------------------------------------------
@@ -82,6 +68,7 @@
        m_timerInvalidate.Start();
 
        ImplSetFont();
+       // listen for change of Font Setting
        StartListening(*pSourceViewConfig);
 }
 
@@ -106,9 +93,6 @@
        if( 
(aKeyFunc==KEYFUNC_CUT)||(aKeyFunc==KEYFUNC_COPY)||(aKeyFunc==KEYFUNC_PASTE) )
                m_bAccelAction = sal_True;
 
-       // TODO: set () and "" to bold
-       // will sytnax highlighting set it correctly afterwards
-
        MultiLineEditSyntaxHighlight::KeyInput( rKEvt );
 
        if( m_bAccelAction )
@@ -210,7 +194,7 @@
                m_timerInvalidate.Start();
 }
 
-void OSqlEdit::Notify( SfxBroadcaster& rBC, const SfxHint& /*rHint*/ )
+void OSqlEdit::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
 {
        if (&rBC == pSourceViewConfig )
        {

Directory: /dba/dbaccess/source/ui/inc/
=======================================

File [changed]: sqledit.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/sqledit.hxx?r1=1.5.60.1&r2=1.5.60.2
Delta lines:  +11 -9
--------------------
--- sqledit.hxx 2008-07-19 11:58:49+0000        1.5.60.1
+++ sqledit.hxx 2008-09-17 15:15:48+0000        1.5.60.2
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: sqledit.hxx,v $
- * $Revision: 1.5.60.1 $
+ * $Revision: 1.5.60.2 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -32,6 +32,7 @@
 
 #include <svtools/svmedit.hxx>
 #include <svtools/lstner.hxx>
+#include <svtools/colorcfg.hxx>
 
 namespace svt{ class SourceViewConfig;}
 
@@ -50,6 +51,7 @@
                BOOL    m_bStopTimer;
                svt::SourceViewConfig*  pSourceViewConfig;
 
+
                DECL_LINK(OnUndoActionTimer, void*);
                DECL_LINK(OnInvalidateTimer, void*);
 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to