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 | 0d82cdcb2cb889efe2a6370309593cda64528cc2 (patch) | |
| tree | cba7dff15465c2fb651e3e92beb26b45f42e41b1 | |
| parent | 7ad03f7fa0d340d514031b376dd65d5b70cb7669 (diff) | |
| download | scintilla-mirror-0d82cdcb2cb889efe2a6370309593cda64528cc2.tar.gz | |
Backport: Feature [feature-requests:1369]. Represent DEL control character 0x7f with DEL.
Backport of changeset 8395:b0355e996f10.
| -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 b24933a1f..a3dea460e 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -591,6 +591,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 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 |
