[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev patch to allow anchors to be specified for 'g','G','E'
From: |
Vlad Harchev |
Subject: |
lynx-dev patch to allow anchors to be specified for 'g','G','E' |
Date: |
Thu, 29 Apr 1999 23:18:03 +0500 (SAMST) |
* anchors became allowed as input for commands 'g','G','E' -VH
Best regards,
-Vlad
diff -ruP dev25-orig/src/LYMainLoop.c lynx-2.8.2dev25-fixed/src/LYMainLoop.c
--- lynx-2.8.2dev25-orig/src/LYMainLoop.c Wed Apr 28 18:38:10 1999
+++ lynx-2.8.2dev25-fixed/src/LYMainLoop.c Thu Apr 29 22:23:46 1999
@@ -3616,6 +3616,16 @@
}
check_goto_URL:
+ /* allow going to anchors*/
+ if (*user_input_buffer == '#' ) {
+ if ( user_input_buffer[1] &&
+ HTFindPoundSelector(user_input_buffer+1) ) {
+ /* HTFindPoundSelector will initialize www_search_result,
+ so we do nothing else. */
+ HTAddGotoURL(user_input_buffer);
+ };
+ break;
+ };
/*
* If its not a URL then make it one.
*/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lynx-dev patch to allow anchors to be specified for 'g','G','E',
Vlad Harchev <=