diff options
author | Neil <nyamatongwe@gmail.com> | 2022-04-08 10:05:11 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2022-04-08 10:05:11 +1000 |
commit | 8a44ef9acfda0ec46a541f0be56333eb5cf6b0ff (patch) | |
tree | 5a916f02eeb2d7ae00412175458291c9934d585d /src/Editor.cxx | |
parent | a1961d248ac5521cea7bd22e4d7e2e203bf2d361 (diff) | |
download | scintilla-mirror-8a44ef9acfda0ec46a541f0be56333eb5cf6b0ff.tar.gz |
Feature [feature-requests:#1389] Initialize CaseFolderTable to ASCII so
subclasses do not need to call StandardASCII.
Avoid some lint warnings.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index d5e6a92ff..6ff0f2d97 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4084,17 +4084,9 @@ void Editor::Indent(bool forwards) { ContainerNeedsUpdate(Update::Selection); } -class CaseFolderASCII : public CaseFolderTable { -public: - CaseFolderASCII() noexcept { - StandardASCII(); - } -}; - - std::unique_ptr<CaseFolder> Editor::CaseFolderForEncoding() { // Simple default that only maps ASCII upper case to lower case. - return std::make_unique<CaseFolderASCII>(); + return std::make_unique<CaseFolderTable>(); } /** |