diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-11-02 23:21:21 +0100 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-11-02 23:21:21 +0100 |
| commit | 1391e9c6ea1f9bef965f96e70f4e27141abcb5cd (patch) | |
| tree | e9c6631ce6959f8522ac3cf2425dd0a522e9cc16 /src/view.c | |
| parent | d9f10a31103d95b5b464207418f2a0498a03a7ae (diff) | |
render tabs as "TAB" in the command-line and in SciTECO macros
* This requires the new SCI_SETTABDRAWMODE(SCTD_CONTROLCHAR).
* It makes no sense to let TAB indent in TECO code as it can be
the insert-with-tab command (^I).
On the other hand large `I`-blocks could include TABs which are
actually meant as indentations.
Diffstat (limited to 'src/view.c')
| -rw-r--r-- | src/view.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -145,7 +145,14 @@ teco_view_setup(teco_view_t *ctx) TECO_DEFINE_UNDO_CALL(teco_view_ssm, teco_view_t *, unsigned int, uptr_t, sptr_t); -/** @memberof teco_view_t */ +/** + * Configure typical TECO representations for control characters. + * + * You may have to SCI_SETVIEWEOL(TRUE) to see the CR and LF characters. + * In order to see the TAB character use SCI_SETTABDRAWMODE(SCTD_CONTROLCHAR). + * + * @memberof teco_view_t + */ void teco_view_set_representations(teco_view_t *ctx) { |
