diff options
| author | nyamatongwe <devnull@localhost> | 2010-03-23 05:36:57 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-03-23 05:36:57 +0000 |
| commit | 7eeabefc7dc4324ce78324d801c496d099520832 (patch) | |
| tree | 7d3ec69ef423479367c6d450c78f38d594fb4e13 /src/Editor.h | |
| parent | 99335bdcf3814c7268bfb3f1a9c0906e59ae11c3 (diff) | |
| download | scintilla-mirror-7eeabefc7dc4324ce78324d801c496d099520832.tar.gz | |
Upper and lower casing now works on non-ASCII characters.
Diffstat (limited to 'src/Editor.h')
| -rw-r--r-- | src/Editor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h index 6e6c25f0f..053b10a9e 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -405,7 +405,9 @@ protected: // ScintillaBase subclass needs access to much of Editor void NotifyMacroRecord(unsigned int iMessage, uptr_t wParam, sptr_t lParam); void PageMove(int direction, Selection::selTypes sel=Selection::noSel, bool stuttered = false); - void ChangeCaseOfSelection(bool makeUpperCase); + enum { cmSame, cmUpper, cmLower } caseMap; + virtual std::string CaseMapString(const std::string &s, int caseMapping); + void ChangeCaseOfSelection(int caseMapping); void LineTranspose(); void Duplicate(bool forLine); virtual void CancelModes(); |
