diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/Platform.h | 5 | ||||
| -rw-r--r-- | include/Scintilla.h | 3 | 
2 files changed, 8 insertions, 0 deletions
| diff --git a/include/Platform.h b/include/Platform.h index 021bcf686..1ac931ce2 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -221,6 +221,7 @@ public:  // A surface abstracts a place to draw  class Surface {  private: +	bool unicodeMode;  #if PLAT_GTK  	GdkDrawable *drawable;  	GdkGC *gc; @@ -293,6 +294,10 @@ public:  	int SetPalette(Palette *pal, bool inBackGround);  	void SetClip(PRectangle rc);  	void FlushCachedState(); + +	void SetUnicodeMode(bool unicodeMode_) { +		unicodeMode=unicodeMode_; +	}  };  // Class to hide the details of window manipulation diff --git a/include/Scintilla.h b/include/Scintilla.h index 822b2ea9d..f39ce4535 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -107,6 +107,9 @@ extern "C" {  #define SCI_STARTSTYLING SCI_START + 32  #define SCI_SETSTYLING SCI_START + 33 +// This is the same value as CP_UTF8 in Windows +#define SC_CP_UTF8 65001 +  #define SCI_SETBUFFEREDDRAW SCI_START + 35  #define SCI_SETTABWIDTH SCI_START + 36  #define SCI_SETCODEPAGE SCI_START + 37 | 
