diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2018-08-16 09:11:18 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2018-08-16 09:11:18 +1000 |
commit | e32711dead461c0c612802a1d8b6dd02eb668e3c (patch) | |
tree | 21b93809c5382fc730fc6183cbaf050206252f08 | |
parent | 0a5fb31779d68807ea08807b89f1b43e8f09ea49 (diff) | |
download | scintilla-mirror-e32711dead461c0c612802a1d8b6dd02eb668e3c.tar.gz |
For reverse arrow margin cursor, move hotspot to the tip of the arrow.
This fixes a bug where clicking seemed to affect the wrong margin.
-rw-r--r-- | cocoa/ScintillaView.mm | 2 | ||||
-rw-r--r-- | doc/ScintillaHistory.html | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index 75f3c4f41..05fdf5984 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -1195,7 +1195,7 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor) { path = [bundle pathForResource: @"mac_cursor_flipped" ofType: @"tiff" inDirectory: nil]; image = [[NSImage alloc] initWithContentsOfFile: path]; - reverseArrowCursor = [[NSCursor alloc] initWithImage: image hotSpot: NSMakePoint(12, 2)]; + reverseArrowCursor = [[NSCursor alloc] initWithImage: image hotSpot: NSMakePoint(15, 2)]; } } diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 38b1263aa..055828d30 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -575,6 +575,9 @@ Fix crash on Win32 when switching technology to default after setting bidirectional mode. </li> <li> + Fix margin cursor on Cocoa to point more accurately. + </li> + <li> Fix SciTE crash on GTK+ when using director interface. </li> </ul> |