//----------------------------------------------------------------------
+#include <ctype.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+
#include "Platform.h"
#include "Scintilla.h"
void DoLoseFocus();
void DoGainFocus();
void DoSysColourChange();
- void DoButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, bool alt);
- void DoButtonUp(Point pt, unsigned int curTime, bool ctrl);
- void DoButtonMove(Point pt);
- void DoMouseWheel(int rotation, int delta, int linesPerAction, int ctrlDown);
- void DoAddChar(char ch);
+ void DoLeftButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, bool alt);
+ void DoLeftButtonUp(Point pt, unsigned int curTime, bool ctrl);
+ void DoLeftButtonMove(Point pt);
+ void DoMiddleButtonUp(Point pt);
+ void DoMouseWheel(int rotation, int delta, int linesPerAction, int ctrlDown, bool isPageScroll);
+ void DoAddChar(int key);
int DoKeyDown(int key, bool shift, bool ctrl, bool alt, bool* consumed);
void DoTick() { Tick(); }
void DoScrollToColumn(int column);
private:
- bool capturedMouse;
wxStyledTextCtrl* stc;
#if wxUSE_DRAG_AND_DROP