Commit Graph

26 Commits

Author SHA1 Message Date
Udo Hoffmann
a19dc77525 Fix hovered indicators issue in Scintilla
Close #8769
2020-09-08 16:20:45 +02:00
Udo Hoffmann
84430809df Add back hovered blue underlined URLs
Fix #8654, close #8713
2020-08-23 12:28:14 +02:00
Udo Hoffmann
d55350b4b5
Fix mouse cursor flicker while hovering
The reason, why the flicker occurs, is the following: There are two Windows messages sent by Windows to Scintilla, when the mouse is moved: WM_MOUSEMOVE and WM_SETCURSOR.

WM_MOUSEMOVE informs Scintilla, that the mouse has been moved inside its window.
WM_SETCURSOR informs Scintilla, that the mouse cursor has been moved. Anywhere, not necessarily in its window.
Scintilla calls the Windows function SetCursor (, which sets the mouse cursor shape, not the position), while processing both messages. Unfortunately, Scintilla uses different ways to calculate the desired cursor shape. So, whenever the mouse cursor is moved, two SetCursor calls are applied, sometimes with two different cursor shapes.

On WM_MOUSEMOVE, Scintilla calls ButtonMoveWithModifiers, which sets the correct cursor shape.
On WM_SETCURSOR, Scintilla calls SetCursor directly, sometimes with the wrong cursor shape.

This PR shows how to eliminate this effect in the modified Scintilla version used by Notepad++. This may be the fastest way to get results without introducing new effects.

The current original Scintilla version (Version 4.4.4, downloaded 2020-07-30, 5d134721c303ceecbdcb28ec82b28f0cbbdb4a55) has the same effect and can be fixed in the same way, although the WM_SETCURSOR code has been changed a little. Before updating to a new Scintilla version, we should try to get it fixed in the original Scintilla.

Fix #8588, fix #8647, close #8641
2020-08-01 15:41:04 +02:00
Don HO
92bad0a60a
Upgrade Scintilla from 4.1.4 to 4.2.0
Fix #5822
2019-07-22 13:08:41 +02:00
Don HO
37c4b894cc
Upgrade Scintilla from v3.56 to v4.14 2019-05-04 21:14:48 +03:00
Don Ho
4ac665d0ce [UPGRADE] Upgrade Scintilla from v3.34 to v3.56. 2015-06-07 23:19:26 +02:00
Don Ho
01f3148e0e [UPDATE] (Author: Neomi) Remove unnecessary modification in Scintilla.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1106 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-09-02 08:30:29 +00:00
Don Ho
cb7806e94c [UPDATE] Update Scintilla to 3.3.4
[BUG_FIXED] (Author: Dave Brotherstone) Fix scintilla crash bug while closing a document.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1104 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-08-28 00:44:27 +00:00
Don Ho
10dc4e06d7 [UPDATE] Update Scintilla to 2.27.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@791 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-07-17 22:30:49 +00:00
Don Ho
0152ded3ff [UPDATE] Scintilla update from 2.21 to 2.25
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@742 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-03-22 00:16:49 +00:00
Don Ho
a7f127dca0 [BUG_FIXED] (Author: Neil Hodgson) Fix for bug #3103936. Backwards search with code page 936 does not match at line start.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@698 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-11-09 19:27:26 +00:00
Don Ho
9d9d64fb2c [BUG_FIXED] (Author: Neil Hodgson) Fix for bug #3065912 Fail to Search up when code.page = 936.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@686 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-10-23 18:33:49 +00:00
Don Ho
059f9977ef [UPDATE] Update Scintilla to v2.21.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@662 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-09-05 22:56:27 +00:00
Don Ho
d4d42f8a1a [UPDATE] Update Scintilla from 2.12 to 2.20
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@653 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-08-21 23:59:56 +00:00
Don Ho
52e19bbb88 [UPDATE] Complete Scintilla source files.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@641 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-07-14 09:47:17 +00:00
Don Ho
a2dd828443 [UPDATE] Update Scintilla from 2.0.1 to 2.1.2
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@640 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-07-12 22:19:51 +00:00
Don Ho
6f052ca8dc [BUG_FIXED] (Author : Vitaliy Dovgan)Fix case-insensitive searching bug for non-ascii characters (for example some characters in French and Cyrillic characters).
[BUG_FIXED] Fix brace highlighting performance issue.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@578 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-12-02 02:24:37 +00:00
Don Ho
c14d526b2a [NEW] Add SQL ESC symbol '\'.
[NEW] Add new Notepad++ logo in About box.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@554 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-10-26 01:14:12 +00:00
Don Ho
074441eda2 [[NEW_FEATURE] (Author : Christian Cuvier) Rational number is recognized in User Defined Language System.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@535 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-09-12 13:05:46 +00:00
Don Ho
9627abcd69 [NEW_FEATURE] (Author : Christian Cuvier) Add the escape character capacity for the delimiter in User Defined Language System.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@531 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-09-10 00:44:36 +00:00
Don Ho
d37b20de07 [UPDATE] commit forgotten files.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@526 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-08-23 20:43:22 +00:00
Don Ho
c84437b0d1 [UPDATE] Update Scintilla from v1.78 to v2.01.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@525 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-08-23 02:24:48 +00:00
Don Ho
8ee30eaef2 [NEW] Upgrade Scintilla from 1.77 to 1.78.
Signed-off-by: Don HO <don.h@free.fr>

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@499 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-06-24 19:09:31 +00:00
Don Ho
83ac50e3dd [CLEAN] Remove C notion (void).
[BUG_FIXED] Fix a crash bug of docking manager
[ADD] Add LexMySQL.cxx

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@465 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-04-26 18:59:23 +00:00
Don Ho
9b645c68d3 [UPDATE] Update Scintilla from v1.75 to v1.77.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@464 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-04-25 23:38:15 +00:00
Don Ho
9d4a4a9edb Moved scintilla in trunk remotely
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@461 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-04-24 23:35:41 +00:00