2003-09-18 01:05:52 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: defsext.h extensions
|
|
|
|
// Purpose: STC test declarations
|
|
|
|
// Maintainer: Wyo
|
|
|
|
// Created: 2003-09-01
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) wxGuide
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_DEFSEXT_H_
|
|
|
|
#define _WX_DEFSEXT_H_
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
// headers
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
|
2004-05-25 07:20:37 -04:00
|
|
|
//! wxWidgets headers
|
2005-09-16 14:25:44 -04:00
|
|
|
#include "wx/print.h" // printing support
|
|
|
|
#include "wx/printdlg.h" // printing dialog
|
2003-09-18 01:05:52 -04:00
|
|
|
|
|
|
|
|
|
|
|
//============================================================================
|
|
|
|
// declarations
|
|
|
|
//============================================================================
|
|
|
|
|
2008-01-09 09:35:11 -05:00
|
|
|
#define DEFAULT_LANGUAGE "<default>"
|
2003-09-18 01:05:52 -04:00
|
|
|
|
|
|
|
#define PAGE_COMMON _("Common")
|
|
|
|
#define PAGE_LANGUAGES _("Languages")
|
|
|
|
#define PAGE_STYLE_TYPES _("Style types")
|
|
|
|
|
|
|
|
#define STYLE_TYPES_COUNT 32
|
|
|
|
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// standard IDs
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
enum {
|
|
|
|
// menu IDs
|
|
|
|
myID_PROPERTIES = wxID_HIGHEST,
|
|
|
|
myID_INDENTINC,
|
|
|
|
myID_INDENTRED,
|
|
|
|
myID_FINDNEXT,
|
|
|
|
myID_REPLACE,
|
|
|
|
myID_REPLACENEXT,
|
|
|
|
myID_BRACEMATCH,
|
|
|
|
myID_GOTO,
|
|
|
|
myID_PAGEACTIVE,
|
|
|
|
myID_DISPLAYEOL,
|
|
|
|
myID_INDENTGUIDE,
|
|
|
|
myID_LINENUMBER,
|
|
|
|
myID_LONGLINEON,
|
|
|
|
myID_WHITESPACE,
|
|
|
|
myID_FOLDTOGGLE,
|
|
|
|
myID_OVERTYPE,
|
|
|
|
myID_READONLY,
|
|
|
|
myID_WRAPMODEON,
|
|
|
|
myID_CHANGECASE,
|
|
|
|
myID_CHANGELOWER,
|
|
|
|
myID_CHANGEUPPER,
|
|
|
|
myID_HILIGHTLANG,
|
|
|
|
myID_HILIGHTFIRST,
|
|
|
|
myID_HILIGHTLAST = myID_HILIGHTFIRST + 99,
|
|
|
|
myID_CONVERTEOL,
|
|
|
|
myID_CONVERTCR,
|
|
|
|
myID_CONVERTCRLF,
|
|
|
|
myID_CONVERTLF,
|
|
|
|
myID_USECHARSET,
|
|
|
|
myID_CHARSETANSI,
|
|
|
|
myID_CHARSETMAC,
|
|
|
|
myID_PAGEPREV,
|
|
|
|
myID_PAGENEXT,
|
|
|
|
myID_SELECTLINE,
|
|
|
|
|
|
|
|
// other IDs
|
|
|
|
myID_STATUSBAR,
|
|
|
|
myID_TITLEBAR,
|
|
|
|
myID_ABOUTTIMER,
|
|
|
|
myID_UPDATETIMER,
|
|
|
|
|
|
|
|
// dialog find IDs
|
|
|
|
myID_DLG_FIND_TEXT,
|
|
|
|
|
|
|
|
// preferences IDs
|
|
|
|
myID_PREFS_LANGUAGE,
|
|
|
|
myID_PREFS_STYLETYPE,
|
|
|
|
myID_PREFS_KEYWORDS,
|
|
|
|
};
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// global items
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
//! global application name
|
|
|
|
extern wxString *g_appname;
|
|
|
|
|
2005-08-23 12:02:51 -04:00
|
|
|
#if wxUSE_PRINTING_ARCHITECTURE
|
|
|
|
|
2003-09-18 01:05:52 -04:00
|
|
|
//! global print data, to remember settings during the session
|
|
|
|
extern wxPrintData *g_printData;
|
|
|
|
extern wxPageSetupData *g_pageSetupData;
|
|
|
|
|
2005-08-23 12:02:51 -04:00
|
|
|
#endif // wxUSE_PRINTING_ARCHITECTURE
|
2003-09-18 01:05:52 -04:00
|
|
|
|
2005-08-23 12:02:51 -04:00
|
|
|
#endif // _WX_DEFSEXT_H_
|