WebView: fix issues with anchors

Eolite: use Shift+Enter to open all selected files

git-svn-id: svn://kolibrios.org@8417 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2020-12-16 10:23:59 +00:00
parent 08aecd42a8
commit c987c0d2d5
4 changed files with 37 additions and 17 deletions

View File

@@ -41,7 +41,7 @@
// DATA //
// //
//===================================================//
char version[]="WebView 3.03";
char version[]="WebView 3.04";
#define DEFAULT_URL URL_SERVICE_HOMEPAGE
@@ -599,6 +599,7 @@ bool EventClickAnchor()
if (anchors.get_pos_by_name(aURL+1)!=-1) {
WB1.list.first = anchors.get_pos_by_name(aURL+1);
WB1.list.CheckDoesValuesOkey();
strcpy(#editURL, history.current());
strcat(#editURL, aURL);
DrawOmnibox();
@@ -842,6 +843,7 @@ void DrawStatusBar(dword _msg)
{
dword status_y = Form.cheight - STATUSBAR_H + 4;
dword status_w = Form.cwidth - 90;
if (Form.status_window>2) return;
DrawBar(0,Form.cheight - STATUSBAR_H+1, Form.cwidth,STATUSBAR_H-1, sc.work);
if (_msg) {
ESI = math.min(status_w/6, strlen(_msg));