Hi David,
I don't know the classes you are using, but maybe you have to do
something like this:
if(treeKey->firstChild()) {
do {
this->toc += treeKey->getText();
//Add a space around the new line for the tokenizer to
split on
this->toc += "\n ";
Hi David,
I don't know the classes you are using, but maybe you have to do
something like this:
if(treeKey->firstChild()) {
do {
this->toc += treeKey->getText();
//Add a space around the new line for the tokenizer to split on
this->toc += "\n ";
On Thursday, April 4, 2024 11:17:57 AM EDT you wrote:
> Hi David,
>
> I don't know the classes you are using, but maybe you have to do
> something like this:
>
> if(treeKey->firstChild()) {
> do {
> this->toc += treeKey->getText();
> //Add a space around
On Tuesday, March 5, 2024 2:05:39 PM EDT Troy A. Griffitts wrote:
> Hi David,
>
> Traversing a tree without recursion usually required keeping a stack you can
> push onto and pop when you hit a leaf. This is all handled for you in the
> call stack when you use recursion. If you really do want
On Wednesday, March 6, 2024 10:01:38 AM EST Troy A. Griffitts wrote:
> Hey David, glad you are making progress on the TOC.
>
> Yes, assureKeyPath will create the full path if it doesn't exist.
>
> If you would simply like to try to position a treekey to a path, you can
> set it like any other
On 3/6/24 07:49, David "Judah's Shadow" Blue wrote:
On Tuesday, March 5, 2024 12:28:26 PM EST you wrote:
Hi David,
Traversing a tree without recursion usually required keeping a stack you
can push onto and pop when you hit a leaf. This is all handled for you
in the call stack when you use
Hi David,
Traversing a tree without recursion usually required keeping a stack you can
push onto and pop when you hit a leaf. This is all handled for you in the call
stack when you use recursion. If you really do want to avoid recursion, I
would recommend having a look at general strategies
On Monday, March 4, 2024 4:32:43 PM EST David "Judah's Shadow" Blue wrote:
> Ok, I think I have a handle on how to generate the TOC. However, I'm not
> seeing a method in the API docs that would give me the text for a given TOC
> entry
Well I thought i had a handle on generating a TOC, but I'm
Ok, I think I have a handle on how to generate the TOC. However, I'm not seeing
a method in the API docs that would give me the text for a given TOC entry
On March 1, 2024 4:38:02 PM EST, "David "Judah's Shadow" Blue"
wrote:
>I'm working on adding support for genbooks to BIBISH, but I'm not
I'm working on adding support for genbooks to BIBISH, but I'm not sure the
best way to work with TreeKeys. I'm looking right now at getting/generating
the TOC. I'm a little confused by the example in the wiki, which seems to walk
the tree using recursion. is that the best way to get the TOC, or is
10 matches
Mail list logo