Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Token highlighting for identifiers with Unicode

Abierto
#1,531 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
haskell
Área
frontend, web-dev

Línea de trabajo

Comienza revisando la implementación modificada para #1525 y localizando las expresiones regulares utilizadas para el resaltado de primer plano y de tokens idénticos. Reproduce el caso betáp/betűkkel y, a continuación, verifica que el resaltado de fondo cubra únicamente el identificador Unicode completo, preservando al mismo tiempo el comportamiento existente del primer plano.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug

Hi, Chris,

This is a followup on Issue #1525. That one fixed the colour deviation of Unicode characters in the display of identifiers (red instead of the surrounding black for ASCII).

In the original report I also mentioned the background colour for highlighting all the occurrences of the identifier currently under the cursor. While the foreground colour got fixed in #1525, the identical-token-highlighting (with background colour) did not.

To illustrate: #1525 fixed the token colouring issue, but not the "token highlighting" (of token under cursor) (with light-green background)
example-20210920
(With the cursor on betáp, the expectation would be to highlight all of it, and to not highlight the bet part of betűkkel).

I created this separate issue, because I suspect my comment on the already closed issue might go unnoticed.

I'd totally understand if this would be a a "won't fix" (because of Code Mirror dependency) or low priority, however, I figured given the experience gained with #1525, maybe this turns out to be a similarly minor patch, and someone just has to find the place where the regexes are defined. (I think it's strange to begin with, that the code is not shared with the foreground colour).

Lenguaje dominante
Haskell
Estrellas
1.3k
Forks
201
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de google/codeworld

Todos los issues de google/codeworld

Issues similares

Más issues de Haskell

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.