From d2299a660d680f8a533abcbf8e050eb41a893e25 Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Fri, 4 Mar 2022 08:21:05 +1100 Subject: Feature [feature-requests:#1432] Cosmetic - comment position and trailing space. --- src/EditView.cxx | 2 +- win32/ScintillaWin.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EditView.cxx b/src/EditView.cxx index 1e87fa294..fad523351 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -388,7 +388,7 @@ bool ViewIsASCII(std::string_view text) { void LayoutSegments(IPositionCache *pCache, Surface *surface, const ViewStyle &vstyle, - LineLayout *ll, + LineLayout *ll, const std::vector &segments, std::atomic &nextIndex, const bool textUnicode, diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index c0b31866f..eae82a0fb 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -3496,11 +3496,11 @@ LRESULT PASCAL ScintillaWin::CTWndProc( #endif RECT rc; GetClientRect(hWnd, &rc); - // Create a Direct2D render target. if (sciThis->technology == Technology::Default) { surfaceWindow->Init(ps.hdc, hWnd); } else { #if defined(USE_D2D) + // Create a Direct2D render target. D2D1_HWND_RENDER_TARGET_PROPERTIES dhrtp {}; dhrtp.hwnd = hWnd; dhrtp.pixelSize = D2D1::SizeU(rc.right - rc.left, rc.bottom - rc.top); -- cgit v1.2.3