That works, thanks cnavarro.
Inline looks good, Antonio.
That works, thanks cnavarro.
Inline looks good, Antonio.
I was pleasantly surprised to see that we already defined a key (tab) to switch back & forth between the tree and the text area.
However - Go ahead and pick a node, and then Tab back & forth, several times. Each time the pointer moves into the Text area, it will generate a new tab inside the text area.
In other words, you start with a node and a blank text area. We start by pointing to the node. When you Tab to the Text area, it will create a tab inside the text area. When you Tab again, it goes back to the node. When you tab again, it goes back to the Text Area, but adds another Tab. Etc.
In Treepad Enterprise, they resolve this by assigning the F11 key to return to the node. The F12 key is used to switch to the Text Area.
We could also just assign a different dedicated key, other than Tab. I think one Pim assigned the F6 key, although I don't remember which one that was.
Antonio Linares wrote:D.
F11 and F12 implemented this way:
SetKey( VK_F12, { || If( oWnd:oWndActive != nil, oWnd:oWndActive:aControls[ 2 ]:SetFocus(),) } )
SetKey( VK_F11, { || If( oWnd:oWndActive != nil, oWnd:oWndActive:aControls[ 1 ]:SetFocus(),) } )
Updated EXE and PRG:
https://github.com/FiveTechSoft/FWH_tools/blob/master/pim.zip
<?xml version="1.0" encoding="utf-8" ?>
<start>
<UTF_encoded>Å </UTF_encoded>
</start>Looks good, but it's still popping up a 43, after pressing the Num+ key. I can't seem to programatically assign Insert Child to other keys, like Insert.
Also, inline editing - fine, but it should also work with a double-click on an existing node.
bpd2000 wrote:Antonio Linares wrote:D.
F11 and F12 implemented this way:
SetKey( VK_F12, { || If( oWnd:oWndActive != nil, oWnd:oWndActive:aControls[ 2 ]:SetFocus(),) } )
SetKey( VK_F11, { || If( oWnd:oWndActive != nil, oWnd:oWndActive:aControls[ 1 ]:SetFocus(),) } )
Updated EXE and PRG:
https://github.com/FiveTechSoft/FWH_tools/blob/master/pim.zip
PIM can generate unicode file like
<?xml version="1.0" encoding="utf-8" ?> <start> <UTF_encoded>Å </UTF_encoded> </start>
FWExplorer wrote:Looks good, but it's still popping up a 43, after pressing the Num+ key. I can't seem to programatically assign Insert Child to other keys, like Insert.
Also, inline editing - fine, but it should also work with a double-click on an existing node.
Ok, thanks Antonio. I'll continue testing, and looking through the code.
Mostly working.
I created a separate git account, for HB and FW. When we need to attach an image to our posts here, should we create an issue? Or do we upload to a specific page?
So,
I removed the popup that asks if you want to replace the file, when you click the Save button. Recompiled, and looks fine.
I added some nodes to the test.xml, and also changed the pages associated with some of the nodes, and then added an image to one of the pages.
Saved and exited.
But when I try to open the new version that was just saved, there's an error that
Filename C:\fwh\samples\test.xml
Line 28
Description: HBXML_ERROR_UNCLOSED
Node < company >
D.
You simply upload the image file to your repo in GitHub, then you click on it, right click on the image again and copy the "raw" url.
That url is the one to post here clicking on the Img button here when editing.
Please post here the entire content of C:\fwh\samples\test.xml once your overwrite it
Sorry, I thought we were sharing files on the FW repository. But of course we're using our own space.
Too many things going on. Alright, thanks Antonio.
Let me know if you need any more info, regarding the error.
Here's the test.xml
Did you get the same error, Antonio?
D.
Yes, it fails here too
We still have some bugs to solve
Ok, thanks. I'll continue playing with it.