From a515bc2776c8f577b69ebe38a8b3225f768c5ceb Mon Sep 17 00:00:00 2001 From: Petko Georgiev Date: Fri, 2 Apr 2021 16:07:39 +1100 Subject: Bug [#2238]. Fix drawing in revealed area after enlarging window. --- cocoa/ScintillaView.mm | 2 ++ doc/ScintillaHistory.html | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index e5b3a2e7b..c0b2ee950 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -266,6 +266,8 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor) { super.frame = frame; mOwner.backend->Resize(); + + [super prepareContentInRect: [self visibleRect]]; } //-------------------------------------------------------------------------------------------------- diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index cf933b774..faa7539fe 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -558,6 +558,7 @@ Derek Brown cshnik + Petko Georgiev

@@ -623,6 +624,10 @@ Increases memory use. Bug #2224. +

  • + On Cocoa, fix drawing in revealed area after enlarging window. + Bug #2238. +
  • Release 5.0.0 -- cgit v1.2.3