diff --git a/res/rizonesoft.bmp b/res/rizonesoft.bmp index 2c640a647..067240e6d 100644 Binary files a/res/rizonesoft.bmp and b/res/rizonesoft.bmp differ diff --git a/scintilla/doc/ChangeHistory.png b/scintilla/doc/ChangeHistory.png new file mode 100644 index 000000000..fbde9a499 Binary files /dev/null and b/scintilla/doc/ChangeHistory.png differ diff --git a/scintilla/src/CaseFolder.cxx b/scintilla/src/CaseFolder.cxx index 45b2a4fb2..d66df3f4f 100644 --- a/scintilla/src/CaseFolder.cxx +++ b/scintilla/src/CaseFolder.cxx @@ -21,7 +21,7 @@ constexpr unsigned char IndexFromChar(char ch) { return static_cast(ch); } - } +} CaseFolderTable::CaseFolderTable() noexcept : mapping{} { StandardASCII(); @@ -31,11 +31,11 @@ size_t CaseFolderTable::Fold(char *folded, size_t sizeFolded, const char *mixed, if (lenMixed > sizeFolded) { return 0; } - for (size_t i=0; iCreateBitmapBrush(pBitmap, brushProperties, &pBitmapBrush); @@ -1977,9 +1977,9 @@ void SurfaceD2D::DrawRGBAImage(PRectangle rc, int width, int height, const unsig ID2D1Bitmap *bitmap = nullptr; const D2D1_SIZE_U size = D2D1::SizeU(width, height); D2D1_BITMAP_PROPERTIES props = {{DXGI_FORMAT_B8G8R8A8_UNORM, - D2D1_ALPHA_MODE_PREMULTIPLIED}, 72.0, 72.0}; + D2D1_ALPHA_MODE_PREMULTIPLIED}, 72.0, 72.0}; const HRESULT hr = pRenderTarget->CreateBitmap(size, image.data(), - width * 4, &props, &bitmap); + width * 4, &props, &bitmap); if (SUCCEEDED(hr)) { const D2D1_RECT_F rcDestination = RectangleFromPRectangle(rc); pRenderTarget->DrawBitmap(bitmap, rcDestination); @@ -3934,7 +3934,7 @@ LRESULT ListBoxX::WndProc(HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lParam } LRESULT PASCAL ListBoxX::StaticWndProc( - HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lParam) { + HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lParam) { if (iMessage == WM_CREATE) { CREATESTRUCT *pCreate = reinterpret_cast(lParam); SetWindowPointer(hWnd, pCreate->lpCreateParams); @@ -4072,9 +4072,9 @@ void Platform_Initialise(void *hInstance) noexcept { void Platform_Finalise(bool fromDllMain) noexcept { #if defined(USE_D2D) if (!fromDllMain) { - // >>>>>>>>>>>>>>> BEG NON STD SCI PATCH >>>>>>>>>>>>>>> - ReleaseUnknown(gdiInterop); - // <<<<<<<<<<<<<<< END NON STD SCI PATCH <<<<<<<<<<<<<<< + // >>>>>>>>>>>>>>> BEG NON STD SCI PATCH >>>>>>>>>>>>>>> + ReleaseUnknown(gdiInterop); + // <<<<<<<<<<<<<<< END NON STD SCI PATCH <<<<<<<<<<<<<<< ReleaseUnknown(pIDWriteFactory); ReleaseUnknown(pD2DFactory); if (hDLLDWrite) { diff --git a/scintilla/win32/ScintillaWin.cxx b/scintilla/win32/ScintillaWin.cxx index d660e694c..2c62659f4 100644 --- a/scintilla/win32/ScintillaWin.cxx +++ b/scintilla/win32/ScintillaWin.cxx @@ -742,9 +742,9 @@ void ScintillaWin::StartDrag() { IDropSource *pDropSource = reinterpret_cast(&ds); //Platform::DebugPrintf("About to DoDragDrop %x %x\n", pDataObject, pDropSource); const HRESULT hr = ::DoDragDrop( - pDataObject, - pDropSource, - DROPEFFECT_COPY | DROPEFFECT_MOVE, &dwEffect); + pDataObject, + pDropSource, + DROPEFFECT_COPY | DROPEFFECT_MOVE, &dwEffect); //Platform::DebugPrintf("DoDragDrop = %x\n", hr); if (SUCCEEDED(hr)) { if ((hr == DRAGDROP_S_DROP) && (dwEffect == DROPEFFECT_MOVE) && dropWentOutside) { @@ -3779,7 +3779,7 @@ sptr_t ScintillaWin::DirectFunction( } sptr_t ScintillaWin::DirectStatusFunction( - sptr_t ptr, UINT iMessage, uptr_t wParam, sptr_t lParam, int *pStatus) { + sptr_t ptr, UINT iMessage, uptr_t wParam, sptr_t lParam, int *pStatus) { ScintillaWin *sci = reinterpret_cast(ptr); PLATFORM_ASSERT(::GetCurrentThreadId() == ::GetWindowThreadProcessId(sci->MainHWND(), nullptr)); const sptr_t returnValue = sci->WndProc(static_cast(iMessage), wParam, lParam); @@ -3790,7 +3790,7 @@ sptr_t ScintillaWin::DirectStatusFunction( namespace Scintilla::Internal { sptr_t DirectFunction( - ScintillaWin *sci, UINT iMessage, uptr_t wParam, sptr_t lParam) { + ScintillaWin *sci, UINT iMessage, uptr_t wParam, sptr_t lParam) { return sci->WndProc(static_cast(iMessage), wParam, lParam); }