diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index a42464f2c..0a7928c14 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -3050,7 +3050,7 @@ void Notepad_plus::command(int id) _pEditView->execute(SCI_HIDELINES, startLine, endLine); _pEditView->execute(SCI_MARKERADD, startLine-1, MARK_HIDELINESBEGIN); _pEditView->execute(SCI_MARKERADD, endLine+1, MARK_HIDELINESEND); - + break; } diff --git a/PowerEditor/src/Notepad_plus.h b/PowerEditor/src/Notepad_plus.h index 59af3ac79..ba550301e 100644 --- a/PowerEditor/src/Notepad_plus.h +++ b/PowerEditor/src/Notepad_plus.h @@ -798,6 +798,8 @@ private: { if (_pEditView->execute(SCI_GETLINEVISIBLE, i)) break; + hideLinesMarkDelete(i, MARK_HIDELINESBEGIN); + hideLinesMarkDelete(i, MARK_HIDELINESEND); } start = i; } @@ -810,6 +812,8 @@ private: { if (_pEditView->execute(SCI_GETLINEVISIBLE, i)) break; + hideLinesMarkDelete(i, MARK_HIDELINESBEGIN); + hideLinesMarkDelete(i, MARK_HIDELINESEND); } end = i; }