Can I add my own notes to the dictionary?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Can I add my own notes to the dictionary?

Post by BarrySumpter » Wed Aug 03, 2011 11:43 pm

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. )
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10049
Joined: Sat Apr 08, 2006 7:05 am
Contact:

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

Post by FourthWorld » Thu Aug 04, 2011 12:04 am

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
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

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

Post by BvG » Thu Aug 04, 2011 12:30 am

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.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

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

Post by BarrySumpter » Thu Aug 04, 2011 3:01 am

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.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

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

Post by BvG » Thu Aug 04, 2011 5:29 pm

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...
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

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

Post by BvG » Thu Aug 04, 2011 5:32 pm

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".
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

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

Post by BarrySumpter » Thu Aug 04, 2011 11:49 pm

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.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

Post Reply