diff options
| author | nyamatongwe <unknown> | 2010-03-23 05:36:57 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2010-03-23 05:36:57 +0000 |
| commit | fd0e4a02c782d1a37f552ccfa06743f82bd7c091 (patch) | |
| tree | 7d3ec69ef423479367c6d450c78f38d594fb4e13 /src/Editor.h | |
| parent | a9235ffc9976527a6147ca87ca371ea70582404f (diff) | |
| download | scintilla-mirror-fd0e4a02c782d1a37f552ccfa06743f82bd7c091.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(); |
