diff options
author | nyamatongwe <devnull@localhost> | 2006-06-15 01:32:23 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2006-06-15 01:32:23 +0000 |
commit | 0a9c9e2caad0239410af6b0d1f49e4fbbbeaee2b (patch) | |
tree | 161fe00a2d05d9844c63b8e3c63a35a15779e702 /src/Editor.h | |
parent | 27fd50b878ffb760bb0e4406ed8aa9ae61aa412c (diff) | |
download | scintilla-mirror-0a9c9e2caad0239410af6b0d1f49e4fbbbeaee2b.tar.gz |
Only allow setting the code page to valid values.
Diffstat (limited to 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.h b/src/Editor.h index 5799b4110..fe7be268a 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -525,6 +525,7 @@ protected: // ScintillaBase subclass needs access to much of Editor void GetHotSpotRange(int& hsStart, int& hsEnd); int CodePage() const; + virtual bool ValidCodePage(int /* codePage */) const { return true; } int WrapCount(int line); virtual sptr_t DefWndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) = 0; |