diff --git a/PowerEditor/installer/nativeLang/chinese.xml b/PowerEditor/installer/nativeLang/chinese.xml index a7a435a52..b229e5621 100644 --- a/PowerEditor/installer/nativeLang/chinese.xml +++ b/PowerEditor/installer/nativeLang/chinese.xml @@ -79,6 +79,7 @@ + @@ -343,9 +344,9 @@ - + diff --git a/PowerEditor/installer/nativeLang/english.xml b/PowerEditor/installer/nativeLang/english.xml index 0bd3af980..fce150f1d 100644 --- a/PowerEditor/installer/nativeLang/english.xml +++ b/PowerEditor/installer/nativeLang/english.xml @@ -79,6 +79,7 @@ + @@ -343,6 +344,7 @@ + diff --git a/PowerEditor/installer/nativeLang/french.xml b/PowerEditor/installer/nativeLang/french.xml index 190b86f6b..e2bd98932 100644 --- a/PowerEditor/installer/nativeLang/french.xml +++ b/PowerEditor/installer/nativeLang/french.xml @@ -84,6 +84,7 @@ + @@ -340,6 +341,7 @@ + diff --git a/PowerEditor/src/NppIO.cpp b/PowerEditor/src/NppIO.cpp index 263a6dd2b..b6f695d53 100644 --- a/PowerEditor/src/NppIO.cpp +++ b/PowerEditor/src/NppIO.cpp @@ -1110,7 +1110,8 @@ bool Notepad_plus::fileCloseAllUnchanged() { std::vector vecIndexesToClose; - for (int i = int(_pDocTab->nbItem()) - 1; i >= 0; i--) { + for (int i = int(_pDocTab->nbItem()) - 1; i >= 0; i--) + { BufferID id = _mainDocTab.getBufferByIndex(i); Buffer* buf = MainFileManager->getBufferByID(id); if ((buf->isUntitled() && buf->docLength() == 0) || !buf->isDirty()) diff --git a/PowerEditor/src/localization.cpp b/PowerEditor/src/localization.cpp index 89982d8d2..5480bb1c9 100644 --- a/PowerEditor/src/localization.cpp +++ b/PowerEditor/src/localization.cpp @@ -370,30 +370,30 @@ static const int tabContextMenuItemPos[] = // | // | +------ Number in english.xml (.xml) : // | | - 0, // 0 : Close - 1, // 1 : Close ALL BUT This - 5, // 2 : Save - 6, // 3 : Save As - 10, // 4 : Print - 24, // 5 : Move to Other View - 25, // 6 : Clone to Other View - 20, // 7 : Full File Path to Clipboard - 21, // 8 : Filename to Clipboard - 22, // 9 : Current Dir. Path to Clipboard - 7, // 10: Rename - 8, // 11: Move to Recycle Bin - 17, // 12: Read-Only - 18, // 13: Clear Read-Only Flag - 26, // 14: Move to New Instance - 27, // 15: Open to New Instance - 9, // 16: Reload - 2, // 17: Close ALL to the Left - 3, // 18: Close ALL to the Right - 12, // 19: Open Containing Folder in Explorer - 13, // 20: Open Containing Folder in cmd + 0, // 0 : Close + 1, // 1 : Close ALL BUT This + 5, // 2 : Save + 6, // 3 : Save As + 10, // 4 : Print + 24, // 5 : Move to Other View + 25, // 6 : Clone to Other View + 20, // 7 : Full File Path to Clipboard + 21, // 8 : Filename to Clipboard + 22, // 9 : Current Dir. Path to Clipboard + 7, // 10: Rename + 8, // 11: Move to Recycle Bin + 17, // 12: Read-Only + 18, // 13: Clear Read-Only Flag + 26, // 14: Move to New Instance + 27, // 15: Open to New Instance + 9, // 16: Reload + 2, // 17: Close ALL to the Left + 3, // 18: Close ALL to the Right + 12, // 19: Open Containing Folder in Explorer + 13, // 20: Open Containing Folder in cmd 15, // 21: Open in Default Viewer - 4, // 22: Close ALL Unchanged - -1 //-------End + 4, // 22: Close ALL Unchanged + -1 //-------End };