aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-11-20 11:05:28 +1100
committerNeil <nyamatongwe@gmail.com>2015-11-20 11:05:28 +1100
commit6652c4eadad09cf6ea23b690c92d70b55a49d57f (patch)
tree955441c738e7e43de65414f956b16d678486eb1a /win32/ScintillaWin.cxx
parentad16ecb14a085d950b6a243b02267a0eca50f5c9 (diff)
downloadscintilla-mirror-6652c4eadad09cf6ea23b690c92d70b55a49d57f.tar.gz
Remove line end whitespace.
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r--win32/ScintillaWin.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index 92df2aad6..a5733d39b 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -987,7 +987,7 @@ void ScintillaWin::EscapeHanja() {
}
void ScintillaWin::ToggleHanja() {
- // If selection, convert every hanja to hangul within the main range.
+ // If selection, convert every hanja to hangul within the main range.
// If no selection, commit to IME.
if (sel.Count() > 1) {
return; // Do not allow multi carets.
@@ -1557,7 +1557,7 @@ sptr_t ScintillaWin::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam
return ::DefWindowProc(MainHWND(), iMessage, wParam, lParam);
case WM_IME_COMPOSITION:
- if (KoreanIME() || imeInteraction == imeInline) {
+ if (KoreanIME() || imeInteraction == imeInline) {
return HandleCompositionInline(wParam, lParam);
} else {
return HandleCompositionWindowed(wParam, lParam);
@@ -1704,7 +1704,7 @@ sptr_t ScintillaWin::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam
#endif
case SCI_SETTECHNOLOGY:
- if ((wParam == SC_TECHNOLOGY_DEFAULT) ||
+ if ((wParam == SC_TECHNOLOGY_DEFAULT) ||
(wParam == SC_TECHNOLOGY_DIRECTWRITERETAIN) ||
(wParam == SC_TECHNOLOGY_DIRECTWRITEDC) ||
(wParam == SC_TECHNOLOGY_DIRECTWRITE)) {
@@ -2203,7 +2203,7 @@ void ScintillaWin::Paste() {
if (!::OpenClipboard(MainHWND()))
return;
UndoGroup ug(pdoc);
- const bool isLine = SelectionEmpty() &&
+ const bool isLine = SelectionEmpty() &&
(::IsClipboardFormatAvailable(cfLineSelect) || ::IsClipboardFormatAvailable(cfVSLineTag));
ClearSelection(multiPasteMode == SC_MULTIPASTE_EACH);
bool isRectangular = (::IsClipboardFormatAvailable(cfColumnSelect) != 0);
@@ -2702,7 +2702,7 @@ LRESULT ScintillaWin::ImeOnReconvert(LPARAM lParam) {
rc->dwCompStrLen = (DWORD)static_cast<int>(rcCompWstring.length());
rc->dwCompStrOffset = (DWORD)static_cast<int>(rcCompWstart.length()) * sizeof(wchar_t);
rc->dwTargetStrLen = rc->dwCompStrLen;
- rc->dwTargetStrOffset =rc->dwCompStrOffset;
+ rc->dwTargetStrOffset =rc->dwCompStrOffset;
IMContext imc(MainHWND());
if (!imc.hIMC)
@@ -2718,7 +2718,7 @@ LRESULT ScintillaWin::ImeOnReconvert(LPARAM lParam) {
std::string tgCompStart = StringEncode(rcFeed.substr(0, tgWstart), codePage);
std::string tgComp = StringEncode(rcFeed.substr(tgWstart, tgWlen), codePage);
- // No selection needs to adjust reconvert start position for IME set.
+ // No selection needs to adjust reconvert start position for IME set.
int adjust = static_cast<int>(tgCompStart.length() - rcCompStart.length());
int docCompLen = static_cast<int>(tgComp.length());