mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00

Problem: From https://matrix.to/#/!cylwlNXSwagQmZSkzs:matrix.org/$Ofj-TFIsEMbp0O9OhE8xuZSNi-nhRLtZTOgs6JRLNrs?via=matrix.org&via=gitter.im&via=mozilla.org In lesson 2.6, users are asked to remove the second, forth and fifth lines with `dd` command, then they are asked to undo twice to make the text go back to original state. But after that, the mark ✗ appears again, which confuses the user because they think they do something wrong. This is a limitation with the current implementation, which is based on line number only. Solution: Reimplement interactive marks as extmarks in Lua. This also make the feature less fragile, as users can remove, add some arbitrary lines without breaking the interactive marks. Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
45 lines
2.1 KiB
JSON
45 lines
2.1 KiB
JSON
{
|
|
"expect": {
|
|
"104": "その うさぎ は つき を こえて とびはねた",
|
|
"126": "この 行 には 幾つか 足りない テキスト が ある。",
|
|
"127": "この 行 には 幾つか 足りない テキスト が ある。",
|
|
"145": "この 行 には 間違った テキスト が あります。",
|
|
"146": "この 行 には 間違った テキスト が あります。",
|
|
"147": "ここ にも 間違った テキスト が あります。",
|
|
"148": "ここ にも 間違った テキスト が あります。",
|
|
"217": "この 文 には いくつかの 必要のない 単語 が 含まれて います。",
|
|
"233": "誰かがこの行の最後を2度タイプしました。",
|
|
"272": -1,
|
|
"291": "この行の単語は綺麗になった。",
|
|
"308": "1) 薔薇は赤く",
|
|
"309": "",
|
|
"310": "3) 菫は青く",
|
|
"311": "",
|
|
"312": "",
|
|
"313": "6) 砂糖は甘く",
|
|
"314": "7) そして貴方も",
|
|
"335": "この行の間違いを修正し、後でそれらの修正を取り消します。",
|
|
"381": -1,
|
|
"382": -1,
|
|
"383": -1,
|
|
"384": -1,
|
|
"400": "この行を入力した時に、その人は幾つか間違ったキーを押しました!",
|
|
"401": "この行を入力した時に、その人は幾つか間違ったキーを押しました!",
|
|
"421": "This line has a few words that need changing using the change operator.",
|
|
"422": "This line has a few words that need changing using the change operator.",
|
|
"442": "The end of this line needs to be corrected using the c$ command.",
|
|
"443": "The end of this line needs to be corrected using the c$ command.",
|
|
"505": -1,
|
|
"524": -1,
|
|
"548": "Usually the best time to see the flowers is in the spring.",
|
|
"737": -1,
|
|
"742": -1,
|
|
"758": "This line will allow you to practice appending text to a line.",
|
|
"759": "This line will allow you to practice appending text to a line.",
|
|
"776": "Adding 123 to 456 gives you 579.",
|
|
"777": "Adding 123 to 456 gives you 579.",
|
|
"802": "a) This is the first item.",
|
|
"803": "b) This is the second item."
|
|
}
|
|
}
|