Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TGML editor

Status
Not open for further replies.

ahmun

IS-IT--Management
Jan 7, 2002
432
US
I don't know what board to post this in... so I'll ask in the one I'm currently browsing...

is there something out there that can edit TGML much like you would format font in MS WORD?

in order to
Code:
type this
sentence, I must pause at each point where I want formating and literally type the '[', the tag name, and the closing ']'.

It gets even worse if I want to format my code I post so that comments appear dimmed and my ASP code looks different than the html code I post...

It took me ten minutes to write this post!

Earnie Eng
 
Well...sometimes :)

I've toyed with the idea of making an editor, but haven't had the time to do it. It doesn't seem like it would really be to difficult, even if it simply displayed the tags inline instead of showing how it would really look.


[sub]01000111 01101111 01110100 00100000 01000011 01101111 01100110 01100110 01100101 01100101 00111111[/sub]
The never-completed website:
 
Anyone know of any plugins for Frontpage or Dreamweaver that will teach them to render TGML as well as normal HTML?

Earnie Eng
 
Ok, I'm not promisiong anything, but I am playing with creating a simple one in .Net. So far it handles Bold, Italic, and Underline. Overlapping, non overlapping, etc. It outputs nested tags correctly, etc. Here's a sample:
Code:
[U]This entire piece of text is underlined. [B]The bold starts here. [I]The italic starts here. The bold stops first, oh my.[/I][/B] [I]The italic stops last. [/I][/U]
This entire piece of text is underlined. The bold starts here. The italic starts here. The bold stops first, oh my. The italic stops last.

I'm moving on to colors now, then I'll add things such as Pre's, Code, and then I'll play with other TGML tags I find.

[sub]01000111 01101111 01110100 00100000 01000011 01101111 01100110 01100110 01100101 01100101 00111111[/sub]
The never-completed website:
 
bold, italics, underline, strike, color. When I get some time i'll finish the code, ignore, and smileys and it should be functional enough. I got sidetracked and started playing with a code colorizer app. I have an ASP version that almost works if anyone is interested. It has a flaw in it somwhere that pops up rather unexpectedly and is hard to debug because it sends a regular expression into an endless match quest, eating up the CPU. It converts to either html or tgml.

[sub]01000111 01101111 01110100 00100000 01000011 01101111 01100110 01100110 01100101 01100101 00111111[/sub]
The never-completed website:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top