aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2012-04-14 17:37:33 +1000
committernyamatongwe <devnull@localhost>2012-04-14 17:37:33 +1000
commit2f3545bb8eb19ffbfc174c32dfd53c35d1fcea3b (patch)
treeb2cdfde37042abb0be8a4e2c96661398248699ae
parentd8863139998da18b5649da18223d8888fc4fdf6d (diff)
downloadscintilla-mirror-2f3545bb8eb19ffbfc174c32dfd53c35d1fcea3b.tar.gz
Remove unused WhiteSpace get/set. Feature #3517596.
From Marko Njezic.
-rw-r--r--src/Editor.cxx8
-rw-r--r--src/Editor.h3
2 files changed, 0 insertions, 11 deletions
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<WhiteSpaceVisibility>(view);
-}
-
-int Editor::GetWhitespaceVisible() {
- return vs.viewWhitespace;
-}
-
void Editor::Indent(bool forwards) {
for (size_t r=0; r<sel.Count(); r++) {
int lineOfAnchor = pdoc->LineFromPosition(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();