It would be good, since I need to modify the sources to produce output that is
- Well-formed (ie good XHTML)
- Without any mention of stylesheets
- Simple HTML inside a div statement. (no head or body tags).
I use tools like this for importing stuff into other DOMs so it's really important that I can make it well-formed. After all, if you can't embed the output of such a tool into a document, it's rather tricky to annotate it!
This is fairly trivial for the unix version but unfortunately i do most work on win32
Would also be good if the recognition of html tagsd as keywords was configurable since if the user is writing XML then effectively all tags are keywords. Seeing html tags show up differently in valid XML that may be nothing to do with html is a little irksome!
When you do use style sheets it would be cool if you gave some namespace for the context, ie
in the html:
<div class="webcpp">
..then the output
</div>
The sources are included in the windows versions of webcpp. Installing the sources is an option you can check in the "Custom" installation process.
Your suggestions are good. But I'm not a hardcore XML, CSS or even HTML guy. Webcpp is just my first program, I guess poeple don't really know that, so they expect more out of it.
The reason I made my CSS support implementation is because the tags are exactly the same size of the font colour tags...
Having all the tags the same length of characters makes it easier to read, understand, and allows alot of code reuse in the webcpp source.
If you look at the source, you'll notice that webcpp inserts and removes the tags by using index numbers. It took a while to get it all functional, and I certainly don't want to mess around with it. ;)
--Jeffrey Bakker
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The source option did not work when I installed webcpp (it was greyed out). I was able, however, to download the source from the download area. Thanks!
BTW, for a first program, this is *WAY* above what most beginners do. Kudos!
John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks. Sorry I didn't look harder for the Win32 sources - I'll try again.
Regarding the div tag, I proposed wrapping the entire output inside a div tag, (not the individual font color changes), which shouldn't be too difficult. I'll try to hack something up that does this and send you an example if I have time. Also, optionally removing the <html> and <body> tags should be pretty straightforward.
In fact I hacked the code to do exactly what I wanted in about 40 minutes thanks to the nice structure (and I'm no hacker).
Very nice website by the way.
-Simon.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It would be good, since I need to modify the sources to produce output that is
- Well-formed (ie good XHTML)
- Without any mention of stylesheets
- Simple HTML inside a div statement. (no head or body tags).
I use tools like this for importing stuff into other DOMs so it's really important that I can make it well-formed. After all, if you can't embed the output of such a tool into a document, it's rather tricky to annotate it!
This is fairly trivial for the unix version but unfortunately i do most work on win32
Would also be good if the recognition of html tagsd as keywords was configurable since if the user is writing XML then effectively all tags are keywords. Seeing html tags show up differently in valid XML that may be nothing to do with html is a little irksome!
When you do use style sheets it would be cool if you gave some namespace for the context, ie
in the html:
<div class="webcpp">
..then the output
</div>
then in the css
.webcpp .comment { }
.webcpp .keyword { }
.webcpp .strings { }
That way your themes would be easier to import into other docs without clashes
Hope you don't mind my suggestions :-)
-Simon
The sources are included in the windows versions of webcpp. Installing the sources is an option you can check in the "Custom" installation process.
Your suggestions are good. But I'm not a hardcore XML, CSS or even HTML guy. Webcpp is just my first program, I guess poeple don't really know that, so they expect more out of it.
The reason I made my CSS support implementation is because the tags are exactly the same size of the font colour tags...
<font COLOR=#ff0000>"Some string"</font>
<font CLASS=strings>"Some string"</font>
Having all the tags the same length of characters makes it easier to read, understand, and allows alot of code reuse in the webcpp source.
If you look at the source, you'll notice that webcpp inserts and removes the tags by using index numbers. It took a while to get it all functional, and I certainly don't want to mess around with it. ;)
--Jeffrey Bakker
The source option did not work when I installed webcpp (it was greyed out). I was able, however, to download the source from the download area. Thanks!
BTW, for a first program, this is *WAY* above what most beginners do. Kudos!
John
Thanks. Sorry I didn't look harder for the Win32 sources - I'll try again.
Regarding the div tag, I proposed wrapping the entire output inside a div tag, (not the individual font color changes), which shouldn't be too difficult. I'll try to hack something up that does this and send you an example if I have time. Also, optionally removing the <html> and <body> tags should be pretty straightforward.
In fact I hacked the code to do exactly what I wanted in about 40 minutes thanks to the nice structure (and I'm no hacker).
Very nice website by the way.
-Simon.
Okay, I've finally done it...put it all in DIV tags and put the stylesheet stuff unto a namespace.
I would have done it sooner, but I didn't exactly understand you until just recently.