diff options
author | Zufu Liu <unknown> | 2020-07-11 09:12:43 +1000 |
---|---|---|
committer | Zufu Liu <unknown> | 2020-07-11 09:12:43 +1000 |
commit | d59a10eddefab7523aa8846dfd21b17ee6c0cdd8 (patch) | |
tree | 0ab6ba2af26fd4f97a5468fa8c6c9cf8b7161d51 | |
parent | 5db47041156b975b99ca9284479f306a3063c3da (diff) | |
download | scintilla-mirror-d59a10eddefab7523aa8846dfd21b17ee6c0cdd8.tar.gz |
Feature [feature-requests:1369]. Represent DEL control character 0x7f with DEL.
-rw-r--r-- | doc/ScintillaHistory.html | 4 | ||||
-rw-r--r-- | src/Editor.cxx | 1 |
2 files changed, 5 insertions, 0 deletions
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 @@ <a href="https://sourceforge.net/p/scintilla/feature-requests/1355/">Feature #1355</a>. </li> <li> + Display DEL control character as visible "DEL" block like other control characters. + <a href="https://sourceforge.net/p/scintilla/feature-requests/1369/">Feature #1369</a>. + </li> + <li> Allow caret width to be up to 20 pixels. <a href="https://sourceforge.net/p/scintilla/feature-requests/1361/">Feature #1361</a>. </li> 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<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 |