Page 1 of 1

Can I add my own notes to the dictionary?

Posted: Wed Aug 03, 2011 11:43 pm
by BarrySumpter
Is there a way I can add my own notes to the dictionary?
So that they are always there and I can carry them to the next LiveCode udpate?
And NOT have to wait for RunRev to add my notes to the dictionary?

Is there a way I can add my own terms o the dictionary?
(i.e. Select Case - see Switch Case - or adding content for Array[] etc. )

Re: Can I add my own notes to the dictionary?

Posted: Thu Aug 04, 2011 12:04 am
by FourthWorld
BarrySumpter wrote:Is there a way I can add my own notes to the dictionary?
So that they are always there and I can carry them to the next LiveCode udpate?
Yes.
{quote]And NOT have to wait for RunRev to add my notes to the dictionary?[/quote]
Not at this time, but perhaps modifying BVG Docu will be easier than modifying RunRev's dictionary:
http://forums.runrev.com/viewtopic.php?f=4&t=8695

Re: Can I add my own notes to the dictionary?

Posted: Thu Aug 04, 2011 12:30 am
by BvG
Andre had a modified version of the old BvG docu stack. It used webspace on his server for user notes, but it seems to have gotten lost during one of his page redesigns. I don't know if it still works, and it obviously won't use the new enhancements of bvg docu 2.

If you want to edit BvG Docu 2, I suggest to add a sql column, and show it in an additional, editable field on the stack. Then, when you navigate away from an entry, that field could be saved into your table with a single sql command, as part of the entry.

Re: Can I add my own notes to the dictionary?

Posted: Thu Aug 04, 2011 3:01 am
by BarrySumpter
OK, after a two hour bike ride my parinoia has abated some what.

Thanks to both FourthWorld and Bvg for the concise replies.
Much appreciated.

BvG Docu 2 notes:
...
It takes the Revolution documentation files and exports them into a SQLite database. The main advantage compared with the build-in docu is
speed,
full text search,
and less verbose list of terms.
Known to be compatible with LiveCode versions 4.0 to 4.6.3.
...
Very nice work. Thanks for allowing me to use it.

Wow! Automatically sucked in all the 4.6.3 dictionary.
Super nice!

Once 4.6.4 dictionary is available how do I keep the import from replacing all my changes.
(i.e. Play Video heading needs to be changed from
play (video-file | video-url)
to
play video (video-file | video-url)
- Well for Android anyway

I'll plan to add an area for my own notes.
And see if I can add an area for sample code for each platform.
And an area for hyperlinks for further research.

Thinking and typing notes for myself here:
How can we make this public so others can contribute to each other? - too hard?
Perhaps we can add a "send dictionary mods to RunRev" and see if RunRev will come on board.

Re: Can I add my own notes to the dictionary?

Posted: Thu Aug 04, 2011 5:29 pm
by BvG
BvG Docu creates a new database file for each LC version. So you'd need to transfer the row from one table to the other. You'd need to do some SQL coding to do that, using UPDATE I'd guess?

If you edit existing fields, I don't really know. Maybe you can add a field that explains which fields you edited from their default value, then check for those when you do a migration?

Both probably need quite a bit of coding...

Re: Can I add my own notes to the dictionary?

Posted: Thu Aug 04, 2011 5:32 pm
by BvG
BarrySumpter wrote:(i.e. Play Video heading needs to be changed from
play (video-file | video-url)
to
play video (video-file | video-url)
- Well for Android anyway
If true, this is a documentation bug. You should file it in the "Quality Center".

Re: Can I add my own notes to the dictionary?

Posted: Thu Aug 04, 2011 11:49 pm
by BarrySumpter
Already done.
Falls under the catagory of having to wait for RunRev.

With the current status of all the above I'd prefer to document here.
So I can find it from Google.

And in the dictionary where I can see it immediately.
If RunRev doesn't have the time to filter thru all the submissions,
make the sumissions available to all asap
And as soon as someone marks the submission as off-topic or inappropriate then immedately take it off line for later review etc.

Having a good look at Bvg Docu 2 is still on my todo list.
Just trying to work out in me head how to maintain it.