From a8c1d12398aa7fa45c9432b157af95e2506622ad Mon Sep 17 00:00:00 2001 From: fox0430 Date: Tue, 16 Mar 2021 00:51:09 +0900 Subject: [PATCH 1/4] Update version info --- moe.nimble | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moe.nimble b/moe.nimble index 871fe73f2..7e8a6368a 100644 --- a/moe.nimble +++ b/moe.nimble @@ -1,6 +1,6 @@ # Package -version = "0.2.5" +version = "0.2.6.0" author = "fox0430" description = "A command lined based text editor" license = "GPLv3" From 3adf94188f9fd17bb77021f320a235c090151ae7 Mon Sep 17 00:00:00 2001 From: fox0430 Date: Tue, 16 Mar 2021 00:51:57 +0900 Subject: [PATCH 2/4] Fix integration test --- shpec.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shpec.sh b/shpec.sh index d3394e390..2589b79a8 100644 --- a/shpec.sh +++ b/shpec.sh @@ -43,7 +43,7 @@ describe "moe is an editor" describe "invocation options" it "can display it's version" - assert equal `moe -v | grep -oPq "^moe v\d+\.\d+\.\d+$";echo $?` 0 + assert equal `moe -v | grep -oPq "^moe v\d+\.\d+\.\d+.\d+$";echo $?` 0 end it "can display command line options" From 07a239f27070e9600575b0186ff3ebb879989c5b Mon Sep 17 00:00:00 2001 From: fox0430 Date: Tue, 16 Mar 2021 20:08:05 +0900 Subject: [PATCH 3/4] Fix #1292 --- src/moepkg/editorview.nim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/moepkg/editorview.nim b/src/moepkg/editorview.nim index 237e063c6..016181204 100644 --- a/src/moepkg/editorview.nim +++ b/src/moepkg/editorview.nim @@ -217,9 +217,10 @@ proc writeCurrentLine(win: var Window, currentLineColorPair.inc + # Write spaces after text in the current line let - spaces = ru" ".repeat(view.width - view.lines[y].len) - x = view.widthOfLineNum + view.lines[y].len + spaces = ru" ".repeat(view.width - view.lines[y].width) + x = view.widthOfLineNum + view.lines[y].width view.write(win, y, x, spaces, currentLineColorPair) else: view.write(win, y, x, str, highlight[i].color) From 3fc2496b8a7a9745fd3a80d934d45ad2312a9600 Mon Sep 17 00:00:00 2001 From: fox0430 Date: Tue, 16 Mar 2021 20:41:13 +0900 Subject: [PATCH 4/4] Hotfix: Update v0.2.5.1 --- moe.nimble | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moe.nimble b/moe.nimble index 24fd2de89..fc2cf5ef9 100644 --- a/moe.nimble +++ b/moe.nimble @@ -1,6 +1,6 @@ # Package -version = "0.2.5.0" +version = "0.2.5.1" author = "fox0430" description = "A command lined based text editor" license = "GPLv3"