Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/1ea47f9caf702abac0d96...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/1ea47f9caf702abac0d9679...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/1ea47f9caf702abac0d96795b...
The branch, master has been updated
via 1ea47f9caf702abac0d96795b2502e438086aeed (commit)
from 410cb9a8fd9354b4c3b95824e135b64cc002986f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=1ea47f9caf702abac0d...
commit 1ea47f9caf702abac0d96795b2502e438086aeed
Author: zeug <zeug(a)tuxproject.de>
Commit: Vincent Sanders <vince(a)kyllikki.org>
Support Ctrl+A in the windows toolkit address bar
diff --git a/frontends/windows/window.c b/frontends/windows/window.c
index e192191..750c577 100644
--- a/frontends/windows/window.c
+++ b/frontends/windows/window.c
@@ -416,7 +416,11 @@ nsws_window_urlbar_callback(HWND hwnd, UINT msg, WPARAM wparam,
LPARAM lparam)
/* override messages */
switch (msg) {
case WM_CHAR:
- if (wparam == 13) {
+ if (wparam == 1) {
+ /* handle ^A */
+ SendMessage(hwnd, EM_SETSEL, 0, -1);
+ return 1;
+ } else if (wparam == 13) {
SendMessage(gw->main, WM_COMMAND, IDC_MAIN_LAUNCH_URL, 0);
return 0;
}
-----------------------------------------------------------------------
Summary of changes:
frontends/windows/window.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/frontends/windows/window.c b/frontends/windows/window.c
index e192191..750c577 100644
--- a/frontends/windows/window.c
+++ b/frontends/windows/window.c
@@ -416,7 +416,11 @@ nsws_window_urlbar_callback(HWND hwnd, UINT msg, WPARAM wparam,
LPARAM lparam)
/* override messages */
switch (msg) {
case WM_CHAR:
- if (wparam == 13) {
+ if (wparam == 1) {
+ /* handle ^A */
+ SendMessage(hwnd, EM_SETSEL, 0, -1);
+ return 1;
+ } else if (wparam == 13) {
SendMessage(gw->main, WM_COMMAND, IDC_MAIN_LAUNCH_URL, 0);
return 0;
}
--
NetSurf Browser