diff --git a/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp b/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp index e8cad4139df..01a574c6349 100644 --- a/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp +++ b/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp @@ -561,7 +561,7 @@ LRESULT ScintillaEditView::scintillaNew_Proc(HWND hwnd, UINT Message, WPARAM wPa Sci_TextRangeFull tr; tr.chrg.cpMin = posStart; tr.chrg.cpMax = posEnd + 2; - if (tr.chrg.cpMax > static_cast(docLen)) + if (tr.chrg.cpMax > static_cast(docLen)) { tr.chrg.cpMax = docLen; } diff --git a/PowerEditor/src/tabContextMenu_example.xml b/PowerEditor/src/tabContextMenu_example.xml index 12d711c7f25..f9f9b39f724 100644 --- a/PowerEditor/src/tabContextMenu_example.xml +++ b/PowerEditor/src/tabContextMenu_example.xml @@ -7,59 +7,62 @@ Please check "How to Customize the Context Menu" on: https://npp-user-manual.org/docs/config-files/#the-context-menu-tabcontextmenu-xml --> - - - + + + - - - - - + + + + + - - - - - - - - + + - - - - + + + + + - - + + + + - - + + - - - - - - - - - - - - - - - + + - + + + + + + + + + + + + + + + + + + + +