added some missing Scintilla constants for events.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-05-24 00:56:14 +00:00
parent f998c383d4
commit 96901a6f4c
2 changed files with 32 additions and 4 deletions

View File

@@ -22,7 +22,7 @@
#include <wx/wx.h> #include <wx/wx.h>
#include "SciLexer.h"
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// constants and stuff // constants and stuff
@@ -596,7 +596,7 @@ private:
}; };
// Event types
enum { enum {
wxEVT_STC_CHANGE = 1650, wxEVT_STC_CHANGE = 1650,
wxEVT_STC_STYLENEEDED, wxEVT_STC_STYLENEEDED,
@@ -613,6 +613,20 @@ enum {
wxEVT_STC_NEEDSHOWN wxEVT_STC_NEEDSHOWN
}; };
// Modification and action types
const int wxSTC_MOD_INSERTTEXT = 0x1;
const int wxSTC_MOD_DELETETEXT = 0x2;
const int wxSTC_MOD_CHANGESTYLE = 0x4;
const int wxSTC_MOD_CHANGEFOLD = 0x8;
const int wxSTC_PERFORMED_USER = 0x10;
const int wxSTC_PERFORMED_UNDO = 0x20;
const int wxSTC_PERFORMED_REDO = 0x40;
const int wxSTC_LASTSTEPINUNDOREDO = 0x100;
const int wxSTC_MOD_CHANGEMARKER = 0x200;
const int wxSTC_MOD_BEFOREINSERT = 0x400;
const int wxSTC_MOD_BEFOREDELETE = 0x800;
#ifndef SWIG #ifndef SWIG
typedef void (wxEvtHandler::*wxStyledTextEventFunction)(wxStyledTextEvent&); typedef void (wxEvtHandler::*wxStyledTextEventFunction)(wxStyledTextEvent&);

View File

@@ -22,7 +22,7 @@
#include <wx/wx.h> #include <wx/wx.h>
#include "SciLexer.h"
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// constants and stuff // constants and stuff
@@ -596,7 +596,7 @@ private:
}; };
// Event types
enum { enum {
wxEVT_STC_CHANGE = 1650, wxEVT_STC_CHANGE = 1650,
wxEVT_STC_STYLENEEDED, wxEVT_STC_STYLENEEDED,
@@ -613,6 +613,20 @@ enum {
wxEVT_STC_NEEDSHOWN wxEVT_STC_NEEDSHOWN
}; };
// Modification and action types
const int wxSTC_MOD_INSERTTEXT = 0x1;
const int wxSTC_MOD_DELETETEXT = 0x2;
const int wxSTC_MOD_CHANGESTYLE = 0x4;
const int wxSTC_MOD_CHANGEFOLD = 0x8;
const int wxSTC_PERFORMED_USER = 0x10;
const int wxSTC_PERFORMED_UNDO = 0x20;
const int wxSTC_PERFORMED_REDO = 0x40;
const int wxSTC_LASTSTEPINUNDOREDO = 0x100;
const int wxSTC_MOD_CHANGEMARKER = 0x200;
const int wxSTC_MOD_BEFOREINSERT = 0x400;
const int wxSTC_MOD_BEFOREDELETE = 0x800;
#ifndef SWIG #ifndef SWIG
typedef void (wxEvtHandler::*wxStyledTextEventFunction)(wxStyledTextEvent&); typedef void (wxEvtHandler::*wxStyledTextEventFunction)(wxStyledTextEvent&);