diff options
| author | Zufu Liu <unknown> | 2022-03-04 08:21:05 +1100 | 
|---|---|---|
| committer | Zufu Liu <unknown> | 2022-03-04 08:21:05 +1100 | 
| commit | d2299a660d680f8a533abcbf8e050eb41a893e25 (patch) | |
| tree | 5bb1def477f28408a6b354b9ca20cdd96ce362c8 | |
| parent | f3e4f3579a6c9ad620cf00ad951cc97cd59be365 (diff) | |
| download | scintilla-mirror-d2299a660d680f8a533abcbf8e050eb41a893e25.tar.gz | |
Feature [feature-requests:#1432] Cosmetic - comment position and trailing space.
| -rw-r--r-- | src/EditView.cxx | 2 | ||||
| -rw-r--r-- | 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<TextSegment> &segments,  	std::atomic<uint32_t> &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); | 
