LibreOffice Module sw (master) 1
Classes | Macros | Typedefs | Functions
srcedtw.cxx File Reference
#include <sal/config.h>
#include <hintids.hxx>
#include <cmdid.h>
#include <com/sun/star/beans/XMultiPropertySet.hpp>
#include <com/sun/star/beans/XPropertiesChangeListener.hpp>
#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
#include <cppuhelper/implbase.hxx>
#include <officecfg/Office/Common.hxx>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/event.hxx>
#include <vcl/svapp.hxx>
#include <vcl/textview.hxx>
#include <vcl/ptrstyle.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/viewfrm.hxx>
#include <svtools/htmltokn.h>
#include <vcl/txtattr.hxx>
#include <vcl/settings.hxx>
#include <svtools/colorcfg.hxx>
#include <editeng/flstitem.hxx>
#include <vcl/metric.hxx>
#include <svtools/ctrltool.hxx>
#include <svtools/scrolladaptor.hxx>
#include <tools/time.hxx>
#include <swmodule.hxx>
#include <docsh.hxx>
#include <srcview.hxx>
#include <helpids.h>
#include <vector>
Include dependency graph for srcedtw.cxx:

Go to the source code of this file.

Classes

class  SwSrcEditWindow::ChangesListener
 

Macros

#define MAX_SYNTAX_HIGHLIGHT   20
 
#define MAX_HIGHLIGHTTIME   200
 

Typedefs

typedef std::vector< TextPortionTextPortions
 

Functions

static void lcl_Highlight (std::u16string_view aSource, TextPortions &aPortionList)
 
 IMPL_LINK_NOARG (SwSrcEditWindow, HorzScrollHdl, weld::Scrollbar &, void)
 
 IMPL_LINK_NOARG (SwSrcEditWindow, VertScrollHdl, weld::Scrollbar &, void)
 
 IMPL_LINK (SwSrcEditWindow, SyntaxTimerHdl, Timer *, pIdle, void)
 
static bool lcl_GetLanguagesForEncoding (rtl_TextEncoding eEnc, LanguageType aLanguages[])
 

Macro Definition Documentation

◆ MAX_HIGHLIGHTTIME

#define MAX_HIGHLIGHTTIME   200

Definition at line 66 of file srcedtw.cxx.

◆ MAX_SYNTAX_HIGHLIGHT

#define MAX_SYNTAX_HIGHLIGHT   20

Definition at line 65 of file srcedtw.cxx.

Typedef Documentation

◆ TextPortions

typedef std::vector<TextPortion> TextPortions

Definition at line 68 of file srcedtw.cxx.

Function Documentation

◆ IMPL_LINK()

IMPL_LINK ( SwSrcEditWindow  ,
SyntaxTimerHdl  ,
Timer ,
pIdle  ,
void   
)

◆ IMPL_LINK_NOARG() [1/2]

IMPL_LINK_NOARG ( SwSrcEditWindow  ,
HorzScrollHdl  ,
weld::Scrollbar ,
void   
)

Definition at line 554 of file srcedtw.cxx.

◆ IMPL_LINK_NOARG() [2/2]

IMPL_LINK_NOARG ( SwSrcEditWindow  ,
VertScrollHdl  ,
weld::Scrollbar ,
void   
)

Definition at line 563 of file srcedtw.cxx.

◆ lcl_GetLanguagesForEncoding()

static bool lcl_GetLanguagesForEncoding ( rtl_TextEncoding  eEnc,
LanguageType  aLanguages[] 
)
static

◆ lcl_Highlight()

static void lcl_Highlight ( std::u16string_view  aSource,
TextPortions aPortionList 
)
static