From d59a10eddefab7523aa8846dfd21b17ee6c0cdd8 Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Sat, 11 Jul 2020 09:12:43 +1000 Subject: Feature [feature-requests:1369]. Represent DEL control character 0x7f with DEL. --- doc/ScintillaHistory.html | 4 ++++ src/Editor.cxx | 1 + 2 files changed, 5 insertions(+) diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 1b8522a2a..f0e2dcca6 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -594,6 +594,10 @@ Feature #1355.
  • + Display DEL control character as visible "DEL" block like other control characters. + Feature #1369. +
  • +
  • Allow caret width to be up to 20 pixels. Feature #1361.
  • diff --git a/src/Editor.cxx b/src/Editor.cxx index ad41b518d..45cc42804 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -218,6 +218,7 @@ void Editor::SetRepresentations() { const char c[2] = { static_cast(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 -- cgit v1.2.3