ViReplaceEndOfWord does not property handle word delimiters at end of line

オープン
#5,128 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
csharp, powershell
領域
cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
C#
スター
4.4k
フォーク
341
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PowerShell/PSReadLine のほかの issue

PowerShell/PSReadLine の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。