Re: new IDE command for revDocumentationGo?

2016-09-08 Thread Richard Gaskin

Mark Wieder wrote:


Here's what I do:

local tText, tData
put the clicktext into tText
if the version > 7 then
   put ideDocsFetchLCSData(tText) into tData
   if tData is not empty then
  revIDEGoToLCSDictionaryEntry tText, tData[1]["type"]
   end if
else
   revDocumentationGo tText
end if


Nicely done - thanks Mark, Monte.

I discovered the ideDocsFetchLCSData function earlier today while poking 
around.  I like the array structure, very handy if you need that sort of 
info.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: new IDE command for revDocumentationGo?

2016-09-08 Thread mwieder
Here's what I do:

local tText, tData
put the clicktext into tText
if the version > 7 then
   put ideDocsFetchLCSData(tText) into tData
   if tData is not empty then
  revIDEGoToLCSDictionaryEntry tText, tData[1]["type"]
   end if
else
   revDocumentationGo tText
end if

-- 
 Mark Wieder
 ahsoftw...@gmail.com




-
-- 
 Mark Wieder
 ahsoftw...@gmail.com
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/new-IDE-command-for-revDocumentationGo-tp4708223p4708227.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: new IDE command for revDocumentationGo?

2016-09-08 Thread Monte Goulding

> On 9 Sep 2016, at 7:21 AM, Richard Gaskin  wrote:
> 
> In IDE < 8.0 the revDocumentationGo command could be used to open the 
> Dictionary to a specific entry, e.g.:
> 
>revDocumentationGo “securityPermissions"
> 
> What is the current command for this in v8.0?

revIDEGoToLCSDictionaryEntry "securityPermissions","property"

> 
> Where can I find a guide to such IDE commands and functions?

Nowhere, unfortunately. Eventually all IDE APIs will have lcdoc comments and we 
will generate a separate dictionary for it. It would be a great help if anyone 
finding a useful IDE API would add a lcdoc comment and contribute it.

Cheers

Monte
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

new IDE command for revDocumentationGo?

2016-09-08 Thread Richard Gaskin
In IDE < 8.0 the revDocumentationGo command could be used to open the 
Dictionary to a specific entry, e.g.:


revDocumentationGo "securityPermissions"

What is the current command for this in v8.0?

Where can I find a guide to such IDE commands and functions?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode