aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authorZufu Liu <unknown>2020-07-11 09:12:43 +1000
committerZufu Liu <unknown>2020-07-11 09:12:43 +1000
commit0d82cdcb2cb889efe2a6370309593cda64528cc2 (patch)
treecba7dff15465c2fb651e3e92beb26b45f42e41b1 /src/Editor.cxx
parent7ad03f7fa0d340d514031b376dd65d5b70cb7669 (diff)
downloadscintilla-mirror-0d82cdcb2cb889efe2a6370309593cda64528cc2.tar.gz
Backport: Feature [feature-requests:1369]. Represent DEL control character 0x7f with DEL.
Backport of changeset 8395:b0355e996f10.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 4bcebaf8d..104f6d500 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -217,6 +217,7 @@ void Editor::SetRepresentations() {
const char c[2] = { static_cast<char>(j), 0 };
reprs.SetRepresentation(c, reps[j]);
}
+ reprs.SetRepresentation("\x7f", "DEL");
// C1 control set
// As well as Unicode mode, ISO-8859-1 should use these