Repository :
https://github.com/FarGroup/FarManager
On branch : master
Link :
https://github.com/FarGroup/FarManager/commit/0a92f24012e17cde529f3b6ab6a0df567411ad5e
>---------------------------------------------------------------
commit 0a92f24012e17cde529f3b6ab6a0df567411ad5e
Author: Alex Alabuzhev <
alab...@gmail.com>
Date: Tue Dec 2 21:39:40 2025 +0000
Fix editor line numbers background
>---------------------------------------------------------------
0a92f24012e17cde529f3b6ab6a0df567411ad5e
far/editor.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/far/editor.cpp b/far/editor.cpp
index efd669071..d36777a93 100644
--- a/far/editor.cpp
+++ b/far/editor.cpp
@@ -355,7 +355,9 @@ void Editor::ShowEditor()
if (Y != m_Where.bottom + 1)
{
- SetScreen({ m_Where.left, Y, XX2, m_Where.bottom }, L' ', Color); //Пустые строки после конца текста
+ // Empty space after the last line
+ SetScreen({ m_Where.left + LineNumWidth, Y, XX2, m_Where.bottom }, L' ', Color);
+ SetScreen({ m_Where.left, Y, LineNumWidth - 1, m_Where.bottom }, L' ', LineNumColor);
}
if (IsVerticalSelection() && VBlockSizeX > 0 && VBlockSizeY > 0)