From 00caab1ba9b21f963144d8935e1fc6dd893adf51 Mon Sep 17 00:00:00 2001 From: "k.takanori" <24849691+niki@users.noreply.github.com> Date: Sun, 7 Apr 2024 16:42:42 +0900 Subject: [PATCH] =?UTF-8?q?Change=20=E6=96=87=E5=AD=97=E6=95=B0=EF=BC=88?= =?UTF-8?q?=E3=83=90=E3=82=A4=E3=83=88=E6=95=B0=E3=81=A7=E3=81=AA=E3=81=84?= =?UTF-8?q?=EF=BC=89=E3=82=92=E3=82=AB=E3=82=A6=E3=83=B3=E3=83=88=E3=81=99?= =?UTF-8?q?=E3=82=8B=E3=81=A8=E3=81=8D=E3=81=AFEOL=E3=81=AF=E5=90=AB?= =?UTF-8?q?=E3=82=81=E3=81=AA=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sakura_core/view/CViewSelect.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sakura_core/view/CViewSelect.cpp b/sakura_core/view/CViewSelect.cpp index 6294230c..b5e12275 100644 --- a/sakura_core/view/CViewSelect.cpp +++ b/sakura_core/view/CViewSelect.cpp @@ -789,7 +789,7 @@ void CViewSelect::PrintSelectionInfoMsg() const } else { // 2行以上選択されている場合 select_sum = pcLayout->GetLengthWithoutEOL() - + pcLayout->GetLayoutEol().GetLen() +/*nkmm + pcLayout->GetLayoutEol().GetLen()*/ - pView->LineColumnToIndex( pcLayout, m_sSelect.GetFrom().GetX2() ); // GetSelectedDataと似ているが,先頭行と最終行は排除している @@ -802,7 +802,8 @@ void CViewSelect::PrintSelectionInfoMsg() const // 2006.06.06 ryoji 指定行のデータが存在しない場合の対策 if( NULL == pLine ) break; - select_sum += pcLayout->GetLengthWithoutEOL() + pcLayout->GetLayoutEol().GetLen(); +//nkmm select_sum += pcLayout->GetLengthWithoutEOL() + pcLayout->GetLayoutEol().GetLen(); + select_sum += pcLayout->GetLengthWithoutEOL(); } // 最終行の処理