Funny thing happened on the last post: groups cut my mail at the attachment. Do they really think an email ends at the attachment? Here's the full mail without picture:
Normally I use Cactus just to browse because the editing capabilities still leave a lot to be desired and find/replace is still on the todo list.
Nevertheless, I wrote some html from scratch in Cactus yesterday and was delighted at the ease of element creation.
Start editing, just type the name and indent the elements that belongs inside; not caring about open and close tags or indentation like you have to when using a text editor.
Some observations:
- I'm NOT a html crack.
- The editor needs work for a better flow. Too many structure/text editor switches. The esc key gets hot.
- <meta charset="UTF-8"> needs to be included by hand. I was under the impression that spitting out utf-8 encoded html 5 would suffice.
- <br> are complicated to insert since they are standalone elements. That references an early bug, that the tail section of a node was not saved. Since then Cactus stores the tail, the text after the node, in the attributes.
Until I have support for such cases, you'll have open an attribute editor (ctrl-enter), add a node (return), name it "br", TAB to the value field, enter your text and just close the window.
- The saved html looks beautiful.
Two bugs:
The first is more of an invisible annoyance. Cactus marks the documents it writes with a comment of the form:
<html>
<!--Created by Cactus Outline-Editor 0.5.9 on 2013-11-25_18:51:52.-->
...
I never gave it much thought and I obviously didn't save the same document more than once until today. This is what the top of the generated html looked like after 4 saves:
<!DOCTYPE html>
<html>
<!--Created by Cactus Outline-Editor 0.5.9 on 2013-11-25_18:51:52.-->
<!--Created by Cactus Outline-Editor 0.5.9 on 2013-11-25_18:50:28.-->
<!--Created by Cactus Outline-Editor 0.5.9 on 2013-11-25_18:48:42.-->
<!--Created by Cactus Outline-Editor 0.5.9 on 2013-11-25_18:38:15.-->
<head>
...
So for now the creator time-stamp comment is off. This affects HTML and XML documents.
---
The second bug is is about pressing return (to create a new node) without any row selected.
Up until 0.5.9 this raises an error and you'll have to click continue, select the starting row and press return again.
I don't know when this error was introduced; recently a lot of code lines have been shuffled.
It's fixed in the upcoming release 0.5.10.
A binary has been uploaded:
http://goo.gl/EALQi
In the dropbox folder are now two folders: archive and current. Guess their meaning.
-karsten