aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2012-04-14 17:37:33 +1000
committernyamatongwe <unknown>2012-04-14 17:37:33 +1000
commit117fe1a28085e14601d0fb345c0b3f07f57dfe34 (patch)
tree6a28d9f682b3e1c66258b7361e3fa6872905d69b
parent65e526dd2a5b1fce59513a7f2720ffbf91c2f310 (diff)
downloadscintilla-mirror-117fe1a28085e14601d0fb345c0b3f07f57dfe34.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();