|
|
@ -181,8 +181,8 @@ while chrs < maxc do
|
|
|
|
inlink = true
|
|
|
|
inlink = true
|
|
|
|
lb = str_toint(str_find(a, "\"", ch)+1)
|
|
|
|
lb = str_toint(str_find(a, "\"", ch)+1)
|
|
|
|
le = str_toint(str_find(a, "\"", lb))
|
|
|
|
le = str_toint(str_find(a, "\"", lb))
|
|
|
|
lintdescript = str_mid(a, lb, le-lb)
|
|
|
|
linkscript = str_mid(a, lb, le-lb)
|
|
|
|
//debug("link data - "+lb+" "+le+" "+lintdescript)
|
|
|
|
//debug("link data - "+lb+" "+le+" "+linkscript)
|
|
|
|
elseif str_mid(a, ch, 3) == "<p>" then
|
|
|
|
elseif str_mid(a, ch, 3) == "<p>" then
|
|
|
|
lc = lc + 1
|
|
|
|
lc = lc + 1
|
|
|
|
cc = 0
|
|
|
|
cc = 0
|
|
|
@ -199,11 +199,11 @@ while chrs < maxc do
|
|
|
|
if inlink == true then
|
|
|
|
if inlink == true then
|
|
|
|
//debug("examining link at row"+lc+" between col "+cp+" and col "+cc)
|
|
|
|
//debug("examining link at row"+lc+" between col "+cp+" and col "+cc)
|
|
|
|
if (Self.Item(0) == lc &&Self.Item(1) >= cp && Self.Item(1) <= cc) then
|
|
|
|
if (Self.Item(0) == lc &&Self.Item(1) >= cp && Self.Item(1) <= cc) then
|
|
|
|
debug("call "+lintdescript)
|
|
|
|
debug("call "+linkscript)
|
|
|
|
if widgetExists(lintdescript) then
|
|
|
|
if widgetExists(linkscript) then
|
|
|
|
lintdescript.execute(Self.Item(0),Self.Item(1))
|
|
|
|
linkscript.execute(Self.Item(0),Self.Item(1))
|
|
|
|
elseif str_left(lintdescript, 4) == "http" then
|
|
|
|
elseif str_left(linkscript, 4) == "http" then
|
|
|
|
exec("konqueror --profile webbrowsing "+lintdescript)
|
|
|
|
exec("konqueror --profile webbrowsing "+linkscript)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
break
|
|
|
|
break
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|