mirror of
1
Fork 0
forgejo/templates/repo/diff
zeripath 99efa02edf
Switch Unicode Escaping to a VSCode-like system (#19990)
This PR rewrites the invisible unicode detection algorithm to more
closely match that of the Monaco editor on the system. It provides a
technique for detecting ambiguous characters and relaxes the detection
of combining marks.

Control characters are in addition detected as invisible in this
implementation whereas they are not on monaco but this is related to
font issues.

Close #19913

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-08-13 19:32:34 +01:00
..
blob_excerpt.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2022-08-13 19:32:34 +01:00
box.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
comment_form.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
comment_form_datahandler.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
comments.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
compare.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
conversation.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
csv_diff.tmpl Prevent NPE in CSV diff rendering when column removed (#17018) 2021-10-20 20:10:03 +01:00
escape_title.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2022-08-13 19:32:34 +01:00
image_diff.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
new_comment.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
new_review.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
options_dropdown.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
section_code.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2022-08-13 19:32:34 +01:00
section_split.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2022-08-13 19:32:34 +01:00
section_unified.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2022-08-13 19:32:34 +01:00
stats.tmpl Replace fomantic popup module with tippy.js (#20428) 2022-08-09 14:37:34 +02:00
whitespace_dropdown.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00