diff --git a/language/np3_ko_kr/strings_ko_kr.rc b/language/np3_ko_kr/strings_ko_kr.rc index 4f66cf133..e446493de 100644 --- a/language/np3_ko_kr/strings_ko_kr.rc +++ b/language/np3_ko_kr/strings_ko_kr.rc @@ -129,7 +129,7 @@ STRINGTABLE BEGIN IDS_MUI_ERR_LOADFILE """%s"" 파일을 불러오는 동안 오류가 발생하였습니다" IDS_MUI_ERR_SAVEFILE """%s"" 파일을 저장하는 동안 오류가 발생하였습니다" - IDS_MUI_ERR_PATHNOTFOUND ""%s"의 경로는 더 이상 존재하지 않습니다.\n경로를 다시 생성하고 파일을 저장하시겠습니까?" + IDS_MUI_ERR_PATHNOTFOUND """%s""의 경로는 더 이상 존재하지 않습니다.\n경로를 다시 생성하고 파일을 저장하시겠습니까?" IDS_MUI_ERR_DLG_FORMAT "오류 '%s', 원인:\n%s(ID:%d)\n" IDS_MUI_ERR_BROWSE "파일 탐색기 플러그인을 찾을 수 없습니다\nMiniPath 파일 탐색기 플러그인은 https://rizonesoft.com에서 다운로드할 수 있습니다" IDS_MUI_ERR_GREPWIN "파일 검색 플러그인을 찾을 수 없습니다\ngrepWinNP3 파일 검색 플러그인은 https://rizonesoft.com에서 다운로드할 수 있습니다" diff --git a/scintilla/src/Document.cxx b/scintilla/src/Document.cxx index bed90ab43..a8c3f0670 100644 --- a/scintilla/src/Document.cxx +++ b/scintilla/src/Document.cxx @@ -1907,7 +1907,7 @@ std::string Document::TransformLineEnds(const char *s, size_t len, EndOfLine eol void Document::ConvertLineEnds(EndOfLine eolModeSet) { UndoGroup ug(this); - const Sci::Position length = Length(); + Sci::Position length = Length(); for (Sci::Position pos = 0; pos < length; pos++) { const char ch = cb.CharAt(pos); if (ch == '\r') { @@ -1915,8 +1915,10 @@ void Document::ConvertLineEnds(EndOfLine eolModeSet) { // CRLF if (eolModeSet == EndOfLine::Cr) { DeleteChars(pos + 1, 1); // Delete the LF + --length; } else if (eolModeSet == EndOfLine::Lf) { DeleteChars(pos, 1); // Delete the CR + --length; } else { pos++; } @@ -1924,6 +1926,7 @@ void Document::ConvertLineEnds(EndOfLine eolModeSet) { // CR if (eolModeSet == EndOfLine::CrLf) { pos += InsertString(pos + 1, "\n", 1); // Insert LF + ++length; } else if (eolModeSet == EndOfLine::Lf) { pos += InsertString(pos, "\n", 1); // Insert LF DeleteChars(pos, 1); // Delete CR @@ -1934,6 +1937,7 @@ void Document::ConvertLineEnds(EndOfLine eolModeSet) { // LF if (eolModeSet == EndOfLine::CrLf) { pos += InsertString(pos, "\r", 1); // Insert CR + ++length; } else if (eolModeSet == EndOfLine::Cr) { pos += InsertString(pos, "\r", 1); // Insert CR DeleteChars(pos, 1); // Delete LF