summaryrefslogtreecommitdiff
path: root/java/org/gnu/emacs/EmacsDialogButtonLayout.java
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2026-05-09 00:58:36 +0100
committerJoão Távora <joaotavora@gmail.com>2026-05-09 02:52:18 +0100
commit56f27dd9f066a1dc80942a100f1045bdf5376152 (patch)
treeaf9ae91dd432126887259af75666b2057b8036ed /java/org/gnu/emacs/EmacsDialogButtonLayout.java
parent543d8a7a9d7edadced77aced028b848bd9802a6b (diff)
Eglot: fix eglot--sig-info with non-UTF-32 positionEncoding
Github-reference: https://github.com/joaotavora/eglot/discussions/1588 When the server negotiates positionEncoding utf-8 or utf-16, ParameterInformation.label vector offsets are byte/code-unit counts into the signature label, not character counts. Using them raw caused wrong highlights and crashes on Unicode-rich signatures. * lisp/progmodes/eglot.el (eglot--sig-info): Mostly rewrite. (eglot-move-to-utf-8-linepos-function): Tweak docstring. (eglot-move-to-utf-8-linepos, eglot-move-to-utf-16-linepos): Return position moved to.
Diffstat (limited to 'java/org/gnu/emacs/EmacsDialogButtonLayout.java')
0 files changed, 0 insertions, 0 deletions