ViReplaceEndOfWord does not property handle word delimiters at end of line

Abierto
#5,128 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
72/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Tranquilo
Stack tecnológico
csharp, powershell
Área
cli

Línea de trabajo

Start by reproducing the issue in PSReadLine Vi mode with a line ending in a word delimiter, using the stated PowerShell, PSReadLine, and Windows Terminal environment. Locate the ViReplaceEndOfWord entry point and any related tests; done means the cursor lands before the ending delimiter and the existing trailing-character case remains correct.

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

Descripción

Needs-Triage :mag:
Prerequisites
  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues, especially the pinned issues.
Exception report
N/A
Screenshot

N/A

Environment data
PS Version: 7.6.0
PS HostName: ConsoleHost (Windows Terminal)
PSReadLine Version: 2.4.5
PSReadLine EditMode: Vi
OS: 10.0.26100.1 (WinBuild.160101.0800)
BufferWidth: 200
BufferHeight: 50
Steps to reproduce

Type some text that ends with a word delimiter. In VI mode, with the cursor anywhere before that ending word delimiter, type <c, e>. For example:

'sometext'

Expected behavior

The cursor should end up landing just before the delimiter

Actual behavior

The cursor lands after the delimiter, at the end of the line.

If you were to repeat the test, but place a space (or any character, really) at the end of the line, after the delimiter, then the cursor will correctly land before the delimiter

Lenguaje dominante
C#
Estrellas
4.4k
Forks
341
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 PowerShell/PSReadLine

Todos los issues de PowerShell/PSReadLine

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.