From 2f3545bb8eb19ffbfc174c32dfd53c35d1fcea3b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 14 Apr 2012 17:37:33 +1000 Subject: Remove unused WhiteSpace get/set. Feature #3517596. From Marko Njezic. --- src/Editor.cxx | 8 -------- src/Editor.h | 3 --- 2 files changed, 11 deletions(-) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index 4249fb648..2d19decbf 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -5643,14 +5643,6 @@ int Editor::KeyDown(int key, bool shift, bool ctrl, bool alt, bool *consumed) { return KeyDownWithModifiers(key, modifiers, consumed); } -void Editor::SetWhitespaceVisible(int view) { - vs.viewWhitespace = static_cast(view); -} - -int Editor::GetWhitespaceVisible() { - return vs.viewWhitespace; -} - void Editor::Indent(bool forwards) { for (size_t r=0; rLineFromPosition(sel.Range(r).anchor.Position()); diff --git a/src/Editor.h b/src/Editor.h index bdb0f6b30..c33f5b5f1 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -469,9 +469,6 @@ protected: // ScintillaBase subclass needs access to much of Editor int KeyDownWithModifiers(int key, int modifiers, bool *consumed); int KeyDown(int key, bool shift, bool ctrl, bool alt, bool *consumed=0); - int GetWhitespaceVisible(); - void SetWhitespaceVisible(int view); - void Indent(bool forwards); virtual CaseFolder *CaseFolderForEncoding(); -- cgit v1.2.3