2010-10-27 12:45:03 +01:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-06-12 17:02:47 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2014-04-18 18:32:22 +02:00
|
|
|
#ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_BASIDE2_HXX
|
|
|
|
#define INCLUDED_BASCTL_SOURCE_BASICIDE_BASIDE2_HXX
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2012-08-17 07:29:20 +02:00
|
|
|
#include "layout.hxx"
|
2012-09-02 16:21:08 +02:00
|
|
|
#include "bastype3.hxx"
|
|
|
|
#include "basidesh.hxx"
|
|
|
|
#include "breakpoint.hxx"
|
|
|
|
#include "linenumberwindow.hxx"
|
2000-09-29 10:02:42 +00:00
|
|
|
|
|
|
|
class ExtTextEngine;
|
|
|
|
class ExtTextView;
|
|
|
|
class SvxSearchItem;
|
2004-07-23 09:11:09 +00:00
|
|
|
#include <svtools/svtabbx.hxx>
|
|
|
|
#include <svtools/headbar.hxx>
|
2000-09-29 10:02:42 +00:00
|
|
|
|
|
|
|
#include <vcl/button.hxx>
|
|
|
|
#include <basic/sbmod.hxx>
|
2013-11-11 21:38:29 -06:00
|
|
|
#include <vcl/lstbox.hxx>
|
2015-01-14 10:21:20 +01:00
|
|
|
#include <vcl/idle.hxx>
|
2002-07-05 09:22:53 +00:00
|
|
|
|
2000-09-29 10:02:42 +00:00
|
|
|
#include <sfx2/progress.hxx>
|
|
|
|
|
|
|
|
|
2013-07-15 15:14:23 +02:00
|
|
|
#include <vcl/textdata.hxx>
|
2013-07-19 22:00:29 +02:00
|
|
|
#include <basic/codecompletecache.hxx>
|
2013-11-11 21:38:29 -06:00
|
|
|
#include <com/sun/star/reflection/XIdlClass.hpp>
|
2013-08-07 11:49:33 +02:00
|
|
|
#include <comphelper/namedvaluecollection.hxx>
|
|
|
|
#include <comphelper/processfactory.hxx>
|
2013-10-28 12:09:28 +01:00
|
|
|
#include <comphelper/syntaxhighlight.hxx>
|
2013-11-11 21:38:29 -06:00
|
|
|
#include <com/sun/star/reflection/XIdlReflection.hpp>
|
2013-07-15 15:14:23 +02:00
|
|
|
|
2012-01-25 18:18:18 +01:00
|
|
|
namespace com { namespace sun { namespace star { namespace beans {
|
|
|
|
class XMultiPropertySet;
|
|
|
|
} } } }
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2012-08-17 07:29:20 +02:00
|
|
|
namespace basctl
|
|
|
|
{
|
|
|
|
|
|
|
|
class ObjectCatalog;
|
2013-06-24 16:02:24 +02:00
|
|
|
class CodeCompleteListBox;
|
2013-07-17 12:41:13 +02:00
|
|
|
class CodeCompleteWindow;
|
2012-08-17 07:29:20 +02:00
|
|
|
|
2003-04-23 15:38:56 +00:00
|
|
|
// #108672 Helper functions to get/set text in TextEngine
|
|
|
|
// using the stream interface (get/setText() only supports
|
|
|
|
// tools Strings limited to 64K).
|
2012-09-02 16:21:08 +02:00
|
|
|
// defined in baside2b.cxx
|
2012-10-01 13:03:37 -03:00
|
|
|
OUString getTextEngineText (ExtTextEngine&);
|
|
|
|
void setTextEngineText (ExtTextEngine&, OUString const&);
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
class EditorWindow : public vcl::Window, public SfxListener
|
2000-09-29 10:02:42 +00:00
|
|
|
{
|
2013-08-02 12:32:13 +02:00
|
|
|
friend class CodeCompleteListBox;
|
2000-09-29 10:02:42 +00:00
|
|
|
private:
|
2012-01-25 18:18:18 +01:00
|
|
|
class ChangesListener;
|
|
|
|
|
2012-09-02 16:21:08 +02:00
|
|
|
boost::scoped_ptr<ExtTextView> pEditView;
|
|
|
|
boost::scoped_ptr<ExtTextEngine> pEditEngine;
|
2012-08-17 07:29:20 +02:00
|
|
|
ModulWindow& rModulWindow;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2012-01-25 18:18:18 +01:00
|
|
|
rtl::Reference< ChangesListener > listener_;
|
|
|
|
osl::Mutex mutex_;
|
|
|
|
com::sun::star::uno::Reference< com::sun::star::beans::XMultiPropertySet >
|
|
|
|
notifier_;
|
2002-09-09 14:16:04 +00:00
|
|
|
|
2000-09-29 10:02:42 +00:00
|
|
|
long nCurTextWidth;
|
|
|
|
|
|
|
|
SyntaxHighlighter aHighlighter;
|
2014-11-13 13:10:55 +00:00
|
|
|
Idle aSyntaxIdle;
|
2012-09-02 16:21:08 +02:00
|
|
|
typedef std::set<sal_uInt16> SyntaxLineSet;
|
2012-04-02 23:18:19 +02:00
|
|
|
SyntaxLineSet aSyntaxLineTable;
|
2015-05-05 09:59:27 +02:00
|
|
|
DECL_LINK_TYPED(SyntaxTimerHdl, Idle *, void);
|
2012-09-02 16:21:08 +02:00
|
|
|
|
|
|
|
// progress bar
|
|
|
|
class ProgressInfo;
|
|
|
|
boost::scoped_ptr<ProgressInfo> pProgress;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void DataChanged(DataChangedEvent const & rDCEvt) SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2007-01-16 15:28:41 +00:00
|
|
|
using Window::Notify;
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2011-01-14 11:16:25 +01:00
|
|
|
void ImpDoHighlight( sal_uLong nLineOff );
|
2002-09-09 14:16:04 +00:00
|
|
|
void ImplSetFont();
|
|
|
|
|
2012-07-20 06:11:34 +09:00
|
|
|
bool bHighlightning;
|
|
|
|
bool bDoSyntaxHighlight;
|
|
|
|
bool bDelayHighlight;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2002-07-24 12:01:28 +00:00
|
|
|
virtual
|
|
|
|
::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >
|
2014-09-10 08:35:26 +02:00
|
|
|
GetComponentInterface(bool bCreate = true) SAL_OVERRIDE;
|
2013-07-19 22:00:29 +02:00
|
|
|
CodeCompleteDataCache aCodeCompleteCache;
|
2015-03-16 12:17:44 +02:00
|
|
|
VclPtr<CodeCompleteWindow> pCodeCompleteWnd;
|
2013-07-07 19:43:05 +02:00
|
|
|
OUString GetActualSubName( sal_uLong nLine ); // gets the actual subroutine name according to line number
|
2013-08-07 12:30:14 +02:00
|
|
|
void SetupAndShowCodeCompleteWnd(const std::vector< OUString >& aEntryVect, TextSelection aSel );
|
2013-08-07 09:32:36 +02:00
|
|
|
void HandleAutoCorrect();
|
|
|
|
void HandleAutoCloseParen();
|
|
|
|
void HandleAutoCloseDoubleQuotes();
|
2013-09-03 12:36:49 +04:00
|
|
|
void HandleCodeCompletion();
|
|
|
|
void HandleProcedureCompletion();
|
2013-08-21 14:53:41 +02:00
|
|
|
TextSelection GetLastHighlightPortionTextSelection();
|
2002-07-24 12:01:28 +00:00
|
|
|
|
2000-09-29 10:02:42 +00:00
|
|
|
protected:
|
2015-04-28 11:00:54 +09:00
|
|
|
virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& ) SAL_OVERRIDE;
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void Resize() SAL_OVERRIDE;
|
|
|
|
virtual void KeyInput( const KeyEvent& rKeyEvt ) SAL_OVERRIDE;
|
|
|
|
virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE;
|
|
|
|
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
|
|
|
|
virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE;
|
|
|
|
virtual void Command( const CommandEvent& rCEvt ) SAL_OVERRIDE;
|
|
|
|
virtual void LoseFocus() SAL_OVERRIDE;
|
|
|
|
virtual void RequestHelp( const HelpEvent& rHEvt ) SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2011-01-14 11:16:25 +01:00
|
|
|
void DoSyntaxHighlight( sal_uLong nPara );
|
2013-03-28 22:08:26 +01:00
|
|
|
OUString GetWordAtCursor();
|
2012-07-20 06:11:34 +09:00
|
|
|
bool ImpCanModify();
|
2000-09-29 10:02:42 +00:00
|
|
|
|
|
|
|
public:
|
2014-09-23 11:20:40 +02:00
|
|
|
EditorWindow (vcl::Window* pParent, ModulWindow*);
|
2014-04-01 19:18:35 +02:00
|
|
|
virtual ~EditorWindow();
|
2015-01-14 16:16:15 +02:00
|
|
|
virtual void dispose() SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2012-09-02 16:21:08 +02:00
|
|
|
ExtTextEngine* GetEditEngine() const { return pEditEngine.get(); }
|
|
|
|
ExtTextView* GetEditView() const { return pEditView.get(); }
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2013-03-28 22:08:26 +01:00
|
|
|
void CreateProgress( const OUString& rText, sal_uLong nRange );
|
2000-09-29 10:02:42 +00:00
|
|
|
void DestroyProgress();
|
|
|
|
|
2012-07-20 06:11:34 +09:00
|
|
|
void ParagraphInsertedDeleted( sal_uLong nNewPara, bool bInserted );
|
2011-01-14 11:16:25 +01:00
|
|
|
void DoDelayedSyntaxHighlight( sal_uLong nPara );
|
2000-09-29 10:02:42 +00:00
|
|
|
|
|
|
|
void CreateEditEngine();
|
|
|
|
void SetScrollBarRanges();
|
|
|
|
void InitScrollBars();
|
|
|
|
|
|
|
|
void ForceSyntaxTimeout();
|
2012-07-23 19:00:41 +09:00
|
|
|
bool SetSourceInBasic();
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2012-07-20 06:11:34 +09:00
|
|
|
bool CanModify() { return ImpCanModify(); }
|
2012-08-17 07:29:20 +02:00
|
|
|
|
|
|
|
void UpdateSyntaxHighlighting ();
|
2015-02-06 17:51:21 +01:00
|
|
|
|
2015-02-12 10:53:18 +00:00
|
|
|
bool GetProcedureName(OUString& rLine, OUString& rProcType, OUString& rProcName) const;
|
2000-09-29 10:02:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
class BreakPointWindow : public vcl::Window
|
2000-09-29 10:02:42 +00:00
|
|
|
{
|
|
|
|
private:
|
2012-08-17 07:29:20 +02:00
|
|
|
ModulWindow& rModulWindow;
|
2000-09-29 10:02:42 +00:00
|
|
|
long nCurYOffset;
|
2012-08-17 07:29:20 +02:00
|
|
|
sal_uInt16 nMarkerPos;
|
2000-09-29 10:02:42 +00:00
|
|
|
BreakPointList aBreakPointList;
|
2012-07-20 06:11:34 +09:00
|
|
|
bool bErrorMarker;
|
2002-07-05 09:22:53 +00:00
|
|
|
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void DataChanged(DataChangedEvent const & rDCEvt) SAL_OVERRIDE;
|
2002-07-05 09:22:53 +00:00
|
|
|
|
|
|
|
void setBackgroundColor(Color aColor);
|
2000-09-29 10:02:42 +00:00
|
|
|
|
|
|
|
protected:
|
2015-05-13 21:07:25 +09:00
|
|
|
virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle&) SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
BreakPoint* FindBreakPoint( const Point& rMousePos );
|
2015-05-29 18:20:42 +09:00
|
|
|
void ShowMarker(vcl::RenderContext& rRenderContext);
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
|
|
|
|
virtual void Command( const CommandEvent& rCEvt ) SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2012-07-20 06:11:34 +09:00
|
|
|
bool SyncYOffset();
|
2000-09-29 10:02:42 +00:00
|
|
|
|
|
|
|
public:
|
2014-09-23 11:20:40 +02:00
|
|
|
BreakPointWindow (vcl::Window* pParent, ModulWindow*);
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2012-07-20 06:11:34 +09:00
|
|
|
void SetMarkerPos( sal_uInt16 nLine, bool bErrorMarker = false );
|
2012-09-02 16:21:08 +02:00
|
|
|
void SetNoMarker ();
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2007-01-16 15:28:41 +00:00
|
|
|
void DoScroll( long nHorzScroll, long nVertScroll );
|
2000-09-29 10:02:42 +00:00
|
|
|
long& GetCurYOffset() { return nCurYOffset; }
|
|
|
|
BreakPointList& GetBreakPoints() { return aBreakPointList; }
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2004-07-23 09:11:09 +00:00
|
|
|
class WatchTreeListBox : public SvHeaderTabListBox
|
2000-09-29 10:02:42 +00:00
|
|
|
{
|
2013-03-28 22:08:26 +01:00
|
|
|
OUString aEditingRes;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
|
|
|
protected:
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual bool EditingEntry( SvTreeListEntry* pEntry, Selection& rSel ) SAL_OVERRIDE;
|
|
|
|
virtual bool EditedEntry( SvTreeListEntry* pEntry, const OUString& rNewText ) SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2013-03-28 22:08:26 +01:00
|
|
|
bool ImplBasicEntryEdited( SvTreeListEntry* pEntry, const OUString& rResult );
|
2012-10-18 16:28:20 +02:00
|
|
|
SbxBase* ImplGetSBXForEntry( SvTreeListEntry* pEntry, bool& rbArrayElement );
|
2000-09-29 10:02:42 +00:00
|
|
|
|
|
|
|
public:
|
2014-09-23 11:20:40 +02:00
|
|
|
WatchTreeListBox( vcl::Window* pParent, WinBits nWinBits );
|
2014-04-01 19:18:35 +02:00
|
|
|
virtual ~WatchTreeListBox();
|
2015-01-14 16:16:15 +02:00
|
|
|
virtual void dispose() SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2014-03-27 18:12:18 +01:00
|
|
|
void RequestingChildren( SvTreeListEntry * pParent ) SAL_OVERRIDE;
|
2004-07-23 09:11:09 +00:00
|
|
|
void UpdateWatches( bool bBasicStopped = false );
|
|
|
|
|
2007-01-16 15:28:41 +00:00
|
|
|
using SvTabListBox::SetTabs;
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void SetTabs() SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
Basic IDE: namespace basctl
Now all names in basctl are in namespace 'basctl'.
There were lots of names that included the word 'Basic' or 'BasicIDE' in
it, e.g. BasicIDEData, BasicDocumentEntry, BasicTreeListBox,
BasicIDEModule, IDEBaseWindow etc. This information is now stored in the
namespace name, so the names could be shortened: basctl::DocumentEntry,
basctl::TreeListBox, basctl::Module, basctl::BaseWindow etc.
Some other minor changes:
* LibInfos, LibInfoItem, LibInfoKey ->
LibInfos, LibInfos::Item, LibInfos::Key
* The header guards are now uniformly BASCTL_FILENAME_HXX, instead of
e.g. _FILENAME_HXX, which is undefined behaviour because of the '_'.
* namespace BasicIDE, BasicIDEGlobals, basicide -> namespace basctl
* BASICIDE_TYPE_MODULE, ... -> basctl::TYPE_MODULE, ...
Change-Id: I2a9b493562d0d8a2510d569798fbe9e1161b7c9b
Reviewed-on: https://gerrit.libreoffice.org/501
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-08-25 12:43:27 +02:00
|
|
|
class WatchWindow : public DockingWindow
|
2000-09-29 10:02:42 +00:00
|
|
|
{
|
|
|
|
private:
|
2013-03-28 22:08:26 +01:00
|
|
|
OUString aWatchStr;
|
2015-01-14 16:16:15 +02:00
|
|
|
VclPtr<ExtendedEdit> aXEdit;
|
|
|
|
VclPtr<ImageButton> aRemoveWatchButton;
|
|
|
|
VclPtr<WatchTreeListBox> aTreeListBox;
|
|
|
|
VclPtr<HeaderBar> aHeaderBar;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
|
|
|
protected:
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void Resize() SAL_OVERRIDE;
|
2015-04-28 11:00:54 +09:00
|
|
|
virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect ) SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
|
|
|
DECL_LINK( ButtonHdl, ImageButton * );
|
2012-03-01 18:00:32 +01:00
|
|
|
DECL_LINK(TreeListHdl, void *);
|
2004-07-23 09:11:09 +00:00
|
|
|
DECL_LINK( implEndDragHdl, HeaderBar * );
|
2015-05-13 15:09:20 +02:00
|
|
|
DECL_LINK_TYPED( EditAccHdl, Accelerator *, void );
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2004-07-23 09:11:09 +00:00
|
|
|
|
2000-09-29 10:02:42 +00:00
|
|
|
public:
|
2015-05-14 13:38:34 +01:00
|
|
|
explicit WatchWindow (Layout* pParent);
|
|
|
|
virtual ~WatchWindow();
|
2015-01-14 16:16:15 +02:00
|
|
|
virtual void dispose() SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2013-03-28 22:08:26 +01:00
|
|
|
void AddWatch( const OUString& rVName );
|
2012-07-20 06:11:34 +09:00
|
|
|
bool RemoveSelectedWatch();
|
2004-07-23 09:11:09 +00:00
|
|
|
void UpdateWatches( bool bBasicStopped = false );
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2015-01-14 16:16:15 +02:00
|
|
|
WatchTreeListBox& GetWatchTreeListBox() { return *aTreeListBox.get(); }
|
2000-09-29 10:02:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
Basic IDE: namespace basctl
Now all names in basctl are in namespace 'basctl'.
There were lots of names that included the word 'Basic' or 'BasicIDE' in
it, e.g. BasicIDEData, BasicDocumentEntry, BasicTreeListBox,
BasicIDEModule, IDEBaseWindow etc. This information is now stored in the
namespace name, so the names could be shortened: basctl::DocumentEntry,
basctl::TreeListBox, basctl::Module, basctl::BaseWindow etc.
Some other minor changes:
* LibInfos, LibInfoItem, LibInfoKey ->
LibInfos, LibInfos::Item, LibInfos::Key
* The header guards are now uniformly BASCTL_FILENAME_HXX, instead of
e.g. _FILENAME_HXX, which is undefined behaviour because of the '_'.
* namespace BasicIDE, BasicIDEGlobals, basicide -> namespace basctl
* BASICIDE_TYPE_MODULE, ... -> basctl::TYPE_MODULE, ...
Change-Id: I2a9b493562d0d8a2510d569798fbe9e1161b7c9b
Reviewed-on: https://gerrit.libreoffice.org/501
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-08-25 12:43:27 +02:00
|
|
|
class StackWindow : public DockingWindow
|
2000-09-29 10:02:42 +00:00
|
|
|
{
|
|
|
|
private:
|
2015-01-14 16:16:15 +02:00
|
|
|
VclPtr<SvTreeListBox> aTreeListBox;
|
|
|
|
OUString aStackStr;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
|
|
|
protected:
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void Resize() SAL_OVERRIDE;
|
2015-04-28 11:00:54 +09:00
|
|
|
virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect ) SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
|
|
|
public:
|
2015-05-14 13:38:34 +01:00
|
|
|
explicit StackWindow (Layout* pParent);
|
|
|
|
virtual ~StackWindow();
|
2015-01-14 16:16:15 +02:00
|
|
|
virtual void dispose() SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
|
|
|
void UpdateCalls();
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
class ComplexEditorWindow : public vcl::Window
|
2000-09-29 10:02:42 +00:00
|
|
|
{
|
|
|
|
private:
|
2015-01-14 16:16:15 +02:00
|
|
|
VclPtr<BreakPointWindow> aBrkWindow;
|
|
|
|
VclPtr<LineNumberWindow> aLineNumberWindow;
|
|
|
|
VclPtr<EditorWindow> aEdtWindow;
|
|
|
|
VclPtr<ScrollBar> aEWVScrollBar;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void DataChanged(DataChangedEvent const & rDCEvt) SAL_OVERRIDE;
|
2002-07-05 09:22:53 +00:00
|
|
|
|
2000-09-29 10:02:42 +00:00
|
|
|
protected:
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void Resize() SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
DECL_LINK( ScrollHdl, ScrollBar * );
|
|
|
|
|
|
|
|
public:
|
2015-05-14 13:38:34 +01:00
|
|
|
explicit ComplexEditorWindow( ModulWindow* pParent );
|
2015-01-14 16:16:15 +02:00
|
|
|
virtual ~ComplexEditorWindow();
|
|
|
|
virtual void dispose() SAL_OVERRIDE;
|
|
|
|
BreakPointWindow& GetBrkWindow() { return *aBrkWindow.get(); }
|
|
|
|
LineNumberWindow& GetLineNumberWindow() { return *aLineNumberWindow.get(); }
|
|
|
|
EditorWindow& GetEdtWindow() { return *aEdtWindow.get(); }
|
|
|
|
ScrollBar& GetEWVScrollBar() { return *aEWVScrollBar.get(); }
|
2011-11-16 16:45:38 -05:00
|
|
|
|
|
|
|
void SetLineNumberDisplay(bool b);
|
2000-09-29 10:02:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
Basic IDE: namespace basctl
Now all names in basctl are in namespace 'basctl'.
There were lots of names that included the word 'Basic' or 'BasicIDE' in
it, e.g. BasicIDEData, BasicDocumentEntry, BasicTreeListBox,
BasicIDEModule, IDEBaseWindow etc. This information is now stored in the
namespace name, so the names could be shortened: basctl::DocumentEntry,
basctl::TreeListBox, basctl::Module, basctl::BaseWindow etc.
Some other minor changes:
* LibInfos, LibInfoItem, LibInfoKey ->
LibInfos, LibInfos::Item, LibInfos::Key
* The header guards are now uniformly BASCTL_FILENAME_HXX, instead of
e.g. _FILENAME_HXX, which is undefined behaviour because of the '_'.
* namespace BasicIDE, BasicIDEGlobals, basicide -> namespace basctl
* BASICIDE_TYPE_MODULE, ... -> basctl::TYPE_MODULE, ...
Change-Id: I2a9b493562d0d8a2510d569798fbe9e1161b7c9b
Reviewed-on: https://gerrit.libreoffice.org/501
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-08-25 12:43:27 +02:00
|
|
|
class ModulWindow: public BaseWindow
|
2000-09-29 10:02:42 +00:00
|
|
|
{
|
|
|
|
private:
|
2012-08-17 07:29:20 +02:00
|
|
|
ModulWindowLayout& rLayout;
|
2004-07-23 11:01:45 +00:00
|
|
|
StarBASICRef xBasic;
|
2000-09-29 10:02:42 +00:00
|
|
|
short nValid;
|
2015-01-14 16:16:15 +02:00
|
|
|
VclPtr<ComplexEditorWindow> aXEditorWindow;
|
2000-09-29 10:02:42 +00:00
|
|
|
BasicStatus aStatus;
|
|
|
|
SbModuleRef xModule;
|
2012-10-01 13:03:37 -03:00
|
|
|
OUString aCurPath;
|
|
|
|
OUString m_aModule;
|
2001-06-28 14:26:41 +00:00
|
|
|
|
2000-09-29 10:02:42 +00:00
|
|
|
void CheckCompileBasic();
|
2012-07-20 06:11:34 +09:00
|
|
|
bool BasicExecute();
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2015-04-15 09:06:34 +02:00
|
|
|
static void GoOnTop();
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2009-05-19 11:32:44 +00:00
|
|
|
sal_Int32 FormatAndPrint( Printer* pPrinter, sal_Int32 nPage = -1 );
|
2010-03-03 19:59:09 +00:00
|
|
|
SbModuleRef XModule();
|
2000-09-29 10:02:42 +00:00
|
|
|
protected:
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void Resize() SAL_OVERRIDE;
|
|
|
|
virtual void GetFocus() SAL_OVERRIDE;
|
2015-04-28 11:00:54 +09:00
|
|
|
virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& ) SAL_OVERRIDE;
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void DoInit() SAL_OVERRIDE;
|
|
|
|
virtual void DoScroll( ScrollBar* pCurScrollBar ) SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
|
|
|
public:
|
2014-03-26 11:54:10 +01:00
|
|
|
TYPEINFO_OVERRIDE();
|
2001-06-28 14:26:41 +00:00
|
|
|
|
2014-03-17 09:17:07 +02:00
|
|
|
ModulWindow( ModulWindowLayout* pParent, const ScriptDocument& rDocument, const OUString& aLibName, const OUString& aName, OUString& aModule );
|
2001-06-28 14:26:41 +00:00
|
|
|
|
2014-04-01 19:18:35 +02:00
|
|
|
virtual ~ModulWindow();
|
2015-01-14 16:16:15 +02:00
|
|
|
virtual void dispose() SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void ExecuteCommand (SfxRequest& rReq) SAL_OVERRIDE;
|
|
|
|
virtual void ExecuteGlobal (SfxRequest& rReq) SAL_OVERRIDE;
|
|
|
|
virtual void GetState( SfxItemSet& ) SAL_OVERRIDE;
|
|
|
|
virtual void StoreData() SAL_OVERRIDE;
|
|
|
|
virtual void UpdateData() SAL_OVERRIDE;
|
|
|
|
virtual bool CanClose() SAL_OVERRIDE;
|
2009-05-19 11:32:44 +00:00
|
|
|
// return number of pages to be printed
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual sal_Int32 countPages( Printer* pPrinter ) SAL_OVERRIDE;
|
2009-05-19 11:32:44 +00:00
|
|
|
// print page
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void printPage( sal_Int32 nPage, Printer* pPrinter ) SAL_OVERRIDE;
|
|
|
|
virtual OUString GetTitle() SAL_OVERRIDE;
|
|
|
|
virtual EntryDescriptor CreateEntryDescriptor() SAL_OVERRIDE;
|
|
|
|
virtual bool AllowUndo() SAL_OVERRIDE;
|
|
|
|
virtual void SetReadOnly (bool bReadOnly) SAL_OVERRIDE;
|
|
|
|
virtual bool IsReadOnly() SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2010-04-30 10:46:23 +01:00
|
|
|
StarBASIC* GetBasic() { XModule(); return xBasic; }
|
2004-07-23 11:01:45 +00:00
|
|
|
|
2001-08-29 11:29:09 +00:00
|
|
|
SbModule* GetSbModule() { return xModule; }
|
|
|
|
void SetSbModule( SbModule* pModule ) { xModule = pModule; }
|
2012-10-01 13:03:37 -03:00
|
|
|
OUString GetSbModuleName();
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2012-08-07 08:36:40 +02:00
|
|
|
bool CompileBasic();
|
2012-07-20 06:11:34 +09:00
|
|
|
bool BasicRun();
|
|
|
|
bool BasicStepOver();
|
|
|
|
bool BasicStepInto();
|
|
|
|
bool BasicStepOut();
|
2000-09-29 10:02:42 +00:00
|
|
|
void BasicStop();
|
2012-07-24 17:46:32 +09:00
|
|
|
bool BasicToggleBreakPoint();
|
2003-04-11 16:37:30 +00:00
|
|
|
void BasicToggleBreakPointEnabled();
|
|
|
|
void ManageBreakPoints();
|
2000-09-29 10:02:42 +00:00
|
|
|
void UpdateBreakPoint( const BreakPoint& rBrk );
|
|
|
|
void BasicAddWatch();
|
|
|
|
void BasicRemoveWatch();
|
|
|
|
|
2014-01-17 16:28:40 +01:00
|
|
|
bool BasicErrorHdl( StarBASIC* pBasic );
|
2012-08-17 07:29:20 +02:00
|
|
|
long BasicBreakHdl( StarBASIC* pBasic );
|
|
|
|
void AssertValidEditEngine();
|
|
|
|
|
2012-07-24 17:46:32 +09:00
|
|
|
bool LoadBasic();
|
|
|
|
bool SaveBasicSource();
|
|
|
|
bool ImportDialog();
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2013-03-28 22:08:26 +01:00
|
|
|
void EditMacro( const OUString& rMacroName );
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2012-07-24 17:46:32 +09:00
|
|
|
bool ToggleBreakPoint( sal_uLong nLine );
|
2000-09-29 10:02:42 +00:00
|
|
|
|
|
|
|
BasicStatus& GetBasicStatus() { return aStatus; }
|
|
|
|
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual bool IsModified () SAL_OVERRIDE;
|
|
|
|
virtual bool IsPasteAllowed () SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2012-07-24 17:46:32 +09:00
|
|
|
void ShowCursor( bool bOn );
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2015-04-16 13:44:05 +02:00
|
|
|
virtual SearchOptionFlags GetSearchOptions() SAL_OVERRIDE;
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual sal_uInt16 StartSearchAndReplace (SvxSearchItem const&, bool bFromStart = false) SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2015-01-14 16:16:15 +02:00
|
|
|
EditorWindow& GetEditorWindow() { return aXEditorWindow->GetEdtWindow(); }
|
|
|
|
BreakPointWindow& GetBreakPointWindow() { return aXEditorWindow->GetBrkWindow(); }
|
|
|
|
LineNumberWindow& GetLineNumberWindow() { return aXEditorWindow->GetLineNumberWindow(); }
|
|
|
|
ScrollBar& GetEditVScrollBar() { return aXEditorWindow->GetEWVScrollBar(); }
|
2000-09-29 10:02:42 +00:00
|
|
|
ExtTextEngine* GetEditEngine() { return GetEditorWindow().GetEditEngine(); }
|
|
|
|
ExtTextView* GetEditView() { return GetEditorWindow().GetEditView(); }
|
|
|
|
BreakPointList& GetBreakPoints() { return GetBreakPointWindow().GetBreakPoints(); }
|
2012-08-17 07:29:20 +02:00
|
|
|
ModulWindowLayout& GetLayout () { return rLayout; }
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void BasicStarted() SAL_OVERRIDE;
|
|
|
|
virtual void BasicStopped() SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2010-10-20 14:54:59 +02:00
|
|
|
virtual ::svl::IUndoManager*
|
2014-03-27 18:12:18 +01:00
|
|
|
GetUndoManager() SAL_OVERRIDE;
|
2001-06-28 14:26:41 +00:00
|
|
|
|
2012-10-01 13:03:37 -03:00
|
|
|
const OUString& GetModule() const { return m_aModule; }
|
|
|
|
void SetModule( const OUString& aModule ) { m_aModule = aModule; }
|
2012-08-17 07:29:20 +02:00
|
|
|
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void Activating () SAL_OVERRIDE;
|
|
|
|
virtual void Deactivating () SAL_OVERRIDE;
|
2012-08-17 07:29:20 +02:00
|
|
|
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void OnNewDocument () SAL_OVERRIDE;
|
|
|
|
virtual char const* GetHid () const SAL_OVERRIDE;
|
|
|
|
virtual ItemType GetType () const SAL_OVERRIDE;
|
|
|
|
virtual bool HasActiveEditor () const SAL_OVERRIDE;
|
2012-08-17 07:29:20 +02:00
|
|
|
|
|
|
|
void UpdateModule ();
|
2000-09-29 10:02:42 +00:00
|
|
|
};
|
|
|
|
|
2012-08-17 07:29:20 +02:00
|
|
|
class ModulWindowLayout: public Layout
|
2000-09-29 10:02:42 +00:00
|
|
|
{
|
2012-08-17 07:29:20 +02:00
|
|
|
public:
|
2014-09-23 11:20:40 +02:00
|
|
|
ModulWindowLayout (vcl::Window* pParent, ObjectCatalog&);
|
2015-01-14 16:16:15 +02:00
|
|
|
virtual ~ModulWindowLayout();
|
|
|
|
virtual void dispose() SAL_OVERRIDE;
|
2012-08-17 07:29:20 +02:00
|
|
|
public:
|
|
|
|
// Layout:
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void Activating (BaseWindow&) SAL_OVERRIDE;
|
|
|
|
virtual void Deactivating () SAL_OVERRIDE;
|
|
|
|
virtual void GetState (SfxItemSet&, unsigned nWhich) SAL_OVERRIDE;
|
|
|
|
virtual void UpdateDebug (bool bBasicStopped) SAL_OVERRIDE;
|
2012-08-17 07:29:20 +02:00
|
|
|
public:
|
2013-03-28 22:08:26 +01:00
|
|
|
void BasicAddWatch (OUString const&);
|
2012-08-17 07:29:20 +02:00
|
|
|
void BasicRemoveWatch ();
|
|
|
|
Color GetSyntaxColor (TokenTypes eType) const { return aSyntaxColors.GetColor(eType); }
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2012-08-17 07:29:20 +02:00
|
|
|
protected:
|
|
|
|
// Window:
|
2015-04-28 11:00:54 +09:00
|
|
|
virtual void Paint (vcl::RenderContext& rRenderContext, const Rectangle& rRect) SAL_OVERRIDE;
|
2012-08-17 07:29:20 +02:00
|
|
|
// Layout:
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void OnFirstSize (long nWidth, long nHeight) SAL_OVERRIDE;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2012-08-17 07:29:20 +02:00
|
|
|
private:
|
|
|
|
// main child window
|
2015-03-09 14:29:30 +02:00
|
|
|
VclPtr<ModulWindow> pChild;
|
2012-08-06 14:28:28 +02:00
|
|
|
// dockable windows
|
2015-01-14 16:16:15 +02:00
|
|
|
VclPtr<WatchWindow> aWatchWindow;
|
|
|
|
VclPtr<StackWindow> aStackWindow;
|
2012-08-17 07:29:20 +02:00
|
|
|
ObjectCatalog& rObjectCatalog;
|
|
|
|
private:
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void DataChanged (DataChangedEvent const& rDCEvt) SAL_OVERRIDE;
|
2012-08-17 07:29:20 +02:00
|
|
|
private:
|
|
|
|
// SyntaxColors -- stores Basic syntax highlighting colors
|
|
|
|
class SyntaxColors : public utl::ConfigurationListener
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
SyntaxColors ();
|
2014-04-01 19:18:35 +02:00
|
|
|
virtual ~SyntaxColors ();
|
2012-08-17 07:29:20 +02:00
|
|
|
public:
|
|
|
|
void SetActiveEditor (EditorWindow* pEditor_) { pEditor = pEditor_; }
|
|
|
|
void SettingsChanged ();
|
|
|
|
public:
|
|
|
|
Color GetColor (TokenTypes eType) const { return aColors[eType]; }
|
|
|
|
|
|
|
|
private:
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void ConfigurationChanged (utl::ConfigurationBroadcaster*, sal_uInt32) SAL_OVERRIDE;
|
2012-08-17 07:29:20 +02:00
|
|
|
void NewConfig (bool bFirst);
|
|
|
|
|
|
|
|
private:
|
2013-02-15 13:02:10 +01:00
|
|
|
// the color values (the indexes are TokenTypes, see comphelper/syntaxhighlight.hxx)
|
2012-08-17 07:29:20 +02:00
|
|
|
Color aColors[TT_KEYWORDS + 1];
|
|
|
|
// the configuration
|
|
|
|
svtools::ColorConfig aConfig;
|
|
|
|
// the active editor
|
2015-03-09 14:29:30 +02:00
|
|
|
VclPtr<EditorWindow> pEditor;
|
2012-08-17 07:29:20 +02:00
|
|
|
|
|
|
|
} aSyntaxColors;
|
2000-09-29 10:02:42 +00:00
|
|
|
};
|
|
|
|
|
2013-06-24 16:02:24 +02:00
|
|
|
class CodeCompleteListBox: public ListBox
|
|
|
|
{
|
2013-07-18 00:25:16 +02:00
|
|
|
friend class CodeCompleteWindow;
|
2013-08-02 12:32:13 +02:00
|
|
|
friend class EditorWindow;
|
2013-06-24 16:02:24 +02:00
|
|
|
private:
|
2013-07-18 00:25:16 +02:00
|
|
|
OUStringBuffer aFuncBuffer;
|
|
|
|
/* a buffer to build up function name when typing
|
|
|
|
* a function name, used for showing/hiding listbox values
|
|
|
|
* */
|
2015-03-09 14:29:30 +02:00
|
|
|
VclPtr<CodeCompleteWindow> pCodeCompleteWindow; // parent window
|
2013-06-24 16:02:24 +02:00
|
|
|
|
2013-08-07 12:30:14 +02:00
|
|
|
void SetMatchingEntries(); // sets the visible entries based on aFuncBuffer variable
|
2013-08-06 15:17:41 +02:00
|
|
|
void HideAndRestoreFocus();
|
2013-08-08 18:02:02 +02:00
|
|
|
ExtTextView* GetParentEditView();
|
2013-07-18 00:25:16 +02:00
|
|
|
|
2013-06-24 16:02:24 +02:00
|
|
|
public:
|
2015-05-14 13:38:34 +01:00
|
|
|
explicit CodeCompleteListBox( CodeCompleteWindow* pPar );
|
2015-03-09 14:29:30 +02:00
|
|
|
virtual ~CodeCompleteListBox();
|
|
|
|
virtual void dispose() SAL_OVERRIDE;
|
2013-07-17 15:54:13 +02:00
|
|
|
void InsertSelectedEntry(); //insert the selected entry
|
|
|
|
|
2013-07-17 12:41:13 +02:00
|
|
|
DECL_LINK(ImplDoubleClickHdl, void*);
|
2013-08-02 17:36:29 +02:00
|
|
|
DECL_LINK(ImplSelectHdl, void*);
|
2013-07-19 22:00:29 +02:00
|
|
|
|
2013-08-02 12:32:13 +02:00
|
|
|
protected:
|
2014-03-27 18:12:18 +01:00
|
|
|
virtual void KeyInput( const KeyEvent& rKeyEvt ) SAL_OVERRIDE;
|
2013-07-20 13:03:42 +02:00
|
|
|
};
|
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
class CodeCompleteWindow: public vcl::Window
|
2013-07-20 13:03:42 +02:00
|
|
|
{
|
|
|
|
friend class CodeCompleteListBox;
|
|
|
|
private:
|
2015-03-09 14:29:30 +02:00
|
|
|
VclPtr<EditorWindow> pParent; // parent window
|
2013-07-20 13:03:42 +02:00
|
|
|
TextSelection aTextSelection;
|
2015-03-09 14:29:30 +02:00
|
|
|
VclPtr<CodeCompleteListBox> pListBox;
|
2013-07-20 13:03:42 +02:00
|
|
|
|
|
|
|
void InitListBox(); // initialize the ListBox
|
|
|
|
|
|
|
|
public:
|
2015-05-14 13:38:34 +01:00
|
|
|
explicit CodeCompleteWindow( EditorWindow* pPar );
|
2015-01-14 16:16:15 +02:00
|
|
|
virtual ~CodeCompleteWindow();
|
|
|
|
virtual void dispose() SAL_OVERRIDE;
|
2013-07-20 13:03:42 +02:00
|
|
|
|
|
|
|
void InsertEntry( const OUString& aStr );
|
|
|
|
void ClearListBox();
|
|
|
|
void SetTextSelection( const TextSelection& aSel );
|
2014-06-12 14:06:28 +02:00
|
|
|
const TextSelection& GetTextSelection() const { return aTextSelection;}
|
2013-08-29 12:04:06 +02:00
|
|
|
void ResizeAndPositionListBox();
|
2013-07-20 13:03:42 +02:00
|
|
|
void SelectFirstEntry(); //selects first entry in ListBox
|
2013-07-21 19:36:56 +02:00
|
|
|
void ClearAndHide();
|
|
|
|
/*
|
|
|
|
* clears if typed anything, then hides
|
|
|
|
* the window, clear internal variables
|
|
|
|
* */
|
2013-08-02 12:32:13 +02:00
|
|
|
CodeCompleteListBox* GetListBox(){return pListBox;}
|
2013-06-24 16:02:24 +02:00
|
|
|
};
|
|
|
|
|
2013-08-07 11:49:33 +02:00
|
|
|
class UnoTypeCodeCompletetor
|
|
|
|
{
|
|
|
|
private:
|
2014-05-27 08:11:10 +02:00
|
|
|
css::uno::Reference< css::lang::XMultiServiceFactory > xFactory;
|
|
|
|
css::uno::Reference< css::reflection::XIdlReflection > xRefl;
|
|
|
|
css::uno::Reference< css::reflection::XIdlClass > xClass;
|
2013-08-07 11:49:33 +02:00
|
|
|
bool bCanComplete;
|
|
|
|
|
|
|
|
bool CheckField( const OUString& sFieldName );
|
|
|
|
bool CheckMethod( const OUString& sMethName );
|
|
|
|
|
|
|
|
public:
|
|
|
|
UnoTypeCodeCompletetor( const std::vector< OUString >& aVect, const OUString& sVarType );
|
|
|
|
~UnoTypeCodeCompletetor(){}
|
|
|
|
|
|
|
|
std::vector< OUString > GetXIdlClassMethods() const;
|
|
|
|
std::vector< OUString > GetXIdlClassFields() const;
|
|
|
|
|
2014-06-09 10:09:42 +02:00
|
|
|
bool CanCodeComplete() const { return bCanComplete;}
|
2013-08-07 11:49:33 +02:00
|
|
|
};
|
|
|
|
|
2012-08-17 07:29:20 +02:00
|
|
|
} // namespace basctl
|
|
|
|
|
2014-04-18 18:32:22 +02:00
|
|
|
#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_BASIDE2_HXX
|
2010-10-27 12:45:03 +01:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|