Commit Graph

447 Commits

Author SHA1 Message Date
tabudz
55489ea323 Fix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node) 2025-02-28 22:29:03 +08:00
METANEOCORTEX\Kotti
4c1add22c0 +upd: Scintilla v5.5.4 2025-02-02 13:06:07 +01:00
LIU Hao
c3f2ec8fb6
Recover cursor state when editor window loses focus
The show count [1] of the mouse cursor, controlled by `ShowCursor()`, is
thread-local and has an effect only when the cursor is above a window of the
same thread. On the other hand, `GetCursorInfo()` reports the asynchronous
state of the cursor, which may be outside the editor window and doesn't
reflect the show count of our thread.

So, it is incorrect to manipulate the show count according to the result of
`GetCursorInfo()`. This commit reverts relevant changes about `cursorIsHidden`
in upstream Scintilla.

When the editor window loses focus but the cursor is not above it, the system
does not send a `WM_MOUSELEAVE` notification. So we also have to recover the
cursor state in `WM_KILLFOCUS`.

This closes https://github.com/rizonesoft/Notepad3/issues/5369

[1] https://devblogs.microsoft.com/oldnewthing/20091217-00/?p=15643

Signed-off-by: LIU Hao <lh_mouse@126.com>
2025-01-23 11:09:15 +08:00
METANEOCORTEX\Kotti
6a7500bc36 +upd: Scintilla Lib v5.5.3 2024-11-30 12:12:50 +01:00
METANEOCORTEX\Kotti
a2acd0d4fd +upd: Lexilla Library v5.4.0 (switch to Lexilla new TOML Lexer) 2024-08-24 12:23:10 +02:00
METANEOCORTEX\Kotti
89b75999c8 +add: Scintilla Libray v5.5.2 2024-08-24 09:51:07 +02:00
METANEOCORTEX\Kotti
c1d00ab579 +chg: menu Edit / Lines and Edit / Selection / Sort... : "remove duplicate lines" => "unite duplicate lines", "white-space" => "blank" , move order, 2024-07-03 01:56:45 +02:00
METANEOCORTEX\Kotti
b5b214a2f3 +upd: Scintilla Lib v5.5.0 2024-05-20 13:27:59 +02:00
METANEOCORTEX\Kotti
963c5f2ca7 fix mouse cursor flickering in case of "hide mouse while typing" 2024-05-20 13:01:50 +02:00
Pairi Daiza
ee7b89e305
+fix: Redo failure introduced with Scintilla v5.4.2 Bug 2432 2024-03-09 14:05:01 +01:00
METANEOCORTEX\Kotti
9de70147e9 +upd: Scintilla Lib v5.4.2 2024-03-07 18:14:03 +01:00
METANEOCORTEX\Kotti
8bcc76089d +chg: Oniguruma syntax flavor for \h and \H (Ruby: match hex digit) to "horizontal space" definition of Perl / PCRE 2024-03-02 14:16:40 +01:00
METANEOCORTEX\Kotti
3985f999b5 +fix: regex dot(.) not matching linefeed(LF)/newline character, if not enabled for line-breaks 2024-02-26 02:04:26 +01:00
METANEOCORTEX\Kotti
debdba1f64 +fix: Ctrl+Up/Down should keep selection 2024-01-10 22:42:39 +01:00
Rainer Kottenhoff
5bac2c544e
Merge pull request #5081 from DustinLuck/master
Fix horizontal mouse wheel scroll direction
2024-01-10 20:58:09 +01:00
METANEOCORTEX\Kotti
5851cd29d3 +upd: Oniguruma v6.9.9 2024-01-10 19:07:31 +01:00
METANEOCORTEX\Kotti
868683ed5f +upd: Lexilla v5.3.0 and Scintilla v5.4.1
+add: allow selected lines movement for rectangular selection also
2024-01-10 17:06:08 +01:00
Dustin Luck
2fcbdcd29d Fix horizontal mouse wheel scrolling direction 2024-01-09 21:57:59 +00:00
rkotten
562cd8afbb +upd: Oniguruma update 2023-09-26 14:37:20 +02:00
rkotten
8d558072e6 +upd: Update Scintilla v5.3.7 2023-09-26 13:01:16 +02:00
METANEOCORTEX\Kotti
f9df6977a1 +upd: Scintilla v5.3.6
+chg: "Dot matches all" -> "Dot matches line-breaks" (like NP++)
2023-09-13 17:36:02 +02:00
METANEOCORTEX\Kotti
89e065fb8f +upd: Oniguruma (intermediate) 2023-09-12 15:37:01 +02:00
METANEOCORTEX\Kotti
6cdc4f5526 +fix: RegularExpression broken 2023-09-12 14:51:34 +02:00
METANEOCORTEX\Kotti
66c1209a55 +rfc: some code refactorings 2023-07-12 23:35:58 +02:00
METANEOCORTEX\Kotti
af9173e65f fix: regEx search with begin/end line meta chars 2023-07-11 00:34:14 +02:00
METANEOCORTEX\Kotti
0f3b992f46 fix: regression: do not generally move selection to top on view 2023-07-07 15:59:58 +02:00
METANEOCORTEX\Kotti
c3ea57915f +chg: patch Oniguruma engine to accept EOF as line-terminator (line-break) 2023-07-07 14:54:41 +02:00
METANEOCORTEX\Kotti
60f6f13d64 +upd: Scintilla v5.3.5 2023-06-19 12:51:42 +02:00
METANEOCORTEX\Kotti
2c8b105134 +chg: Tooltip/Calltip style using Segoe UI font 2023-06-19 12:06:24 +02:00
Pairi Daiza
bcc0826915
MUI - Removing old debug configuration: "Release_Dbg" 2023-05-23 17:45:09 +02:00
METANEOCORTEX\Kotti
fac64649fc +upd: Oniguruma current dev 2023-05-16 17:01:50 +02:00
rkotten
76739a116b +upd: current Scintilla (v5.3.4+) development 2023-05-03 12:13:33 +02:00
rkotten
8903122724 +fix: some more issues around "File Change Monitoring" 2023-03-30 18:19:48 +02:00
METANEOCORTEX\Kotti
3f58c3490c +fix: Oniguruma line-break handling (CRLF & CR) support 2023-03-27 03:01:52 +02:00
rkotten
7cf648351e +rfc: fallback on LoadIconWithScaleDown() failed 2023-03-22 15:43:57 +01:00
METANEOCORTEX\Kotti
8b442ce38a +upd: Scintilla v5.3.4 2023-03-15 02:10:33 +01:00
METANEOCORTEX\Kotti
789c87e17f +enh: RegExpr enhancements 2023-03-14 17:58:44 +01:00
METANEOCORTEX\Kotti
2ea0adb0c3 +upd: Scintilla v5.3.3 2023-02-24 18:15:03 +01:00
METANEOCORTEX\Kotti
d0a8ba9f2f +upd: Oniguruma current dev 2023-02-24 17:19:23 +01:00
METANEOCORTEX\Kotti
d391413064 +chg: Solution/Project tuning
+chg: Display of Unicode Point
2023-02-24 07:38:53 +01:00
METANEOCORTEX\Kotti
36b6f0c5f3 +chg: Lexer TEXT using own Default, 2023-02-20 00:05:37 +01:00
Pairi Daiza
e011a602ea
+fix: repair build (add forgotten file) 2023-01-22 00:47:26 +01:00
Pairi Daiza
ed323d9229
MUI - Refreshing ".gitignore" cache to respect the ".gitignore rules. 2023-01-21 10:08:49 +01:00
METANEOCORTEX\Kotti
4bca73b5c8 +upd: Oniguruma fix (ONIG_OPTION_FIND_LONGEST behavior) 2022-12-09 13:30:04 +01:00
METANEOCORTEX\Kotti
6c6f3495a6 +upd: Scintilla Lib v5.3.2 2022-12-09 12:19:34 +01:00
METANEOCORTEX\Kotti
af085165b0 upd: Oniguruma current development 2022-11-25 21:17:13 +01:00
METANEOCORTEX\Kotti
4f28d11cfa +fix linker problem (Debug Win32) 2022-11-18 18:29:31 +01:00
METANEOCORTEX\Kotti
517bbf88d1 Merge branch 'Dev_Master' into Dev_VC143
# Conflicts:
#	scintilla/win32/PlatWin.cxx
#	scintilla/win32/ScintillaWin.cxx
2022-11-14 09:25:40 +01:00
METANEOCORTEX\Kotti
78fbcd20fa +fix: set correct _WIN32_WINNT version (0x0601 /*_WIN32_WINNT_WIN7*/) 2022-11-09 08:28:30 +01:00
METANEOCORTEX\Kotti
d6f1d12293 +exp: experimental settings 2022-11-08 00:31:24 +01:00