Ed - Web Programmer's Editor


Ed is a web programmer's editor with functions supporting HTML, ASP, ColdFusion, and other web programming. It supports editing of mutiple files at the same time. A single key (F5) switches between the files which makes it convenient to compare files. It has advanced features for integrating databases with HTML forms, and formatting HTML source code so that it is more readable (and therefore, easier to add and edit the code). This is a full function editor with all the usual HTML editing features, and a few unusual ones. HTML code is color coded to make it easy to see what HTML tags you have, and what text and graphics will actually be displayed on the screen. This is not a WYSIWYG editor. It is a programmers editor with features meant to make it easier to add and edit code.




The tools available for cleaning up HTML code make this program worth looking at. As you can see from the screen shot below, the tools on the Tool menu provide a large list of features for cleaning up the convoluted, mangled up code that comes out of a typical WYSIWYG editor. This is very important to you as a programmer, since you need to identify where in the HTML code you need to add your code. Simplifying the code also makes your web pages load faster.

To see what kind of job Ed does, take a look at these examples of an HTML file created in MS Word.

This is the file before using the "Cleanup All" function.

This is the file after using the "Cleanup All" function.

(By the way, the above file was made using our "Show HTML" function)




Ed was entirely written in Visual Basic, and the source code is a free download!!! This makes it an ideal tool for VB Programmers working on Web Page design. (for example, ASP programming.) VB programming is supported in Ed for more than one reason. We use it ourselves for our VB programming editor. It supports VB programming function such as Next/Previous Sub/Function (Ctrl-Right and Ctrl-Left keys). Not only does the VB source code come with it, but it has a Macro facility, allowing users to write their own macros in VB Script!! Below is a sample VB Script macro which will run in Ed:



   Sub Macro

       ' This macro will make the selection Bold (as in <B>selection</B>)


        TagName="B"
        StartTag = "<" & TagName & ">"
        TagString = TagName
        If InStr(TagString, " ") Then TagString = Left(TagString, InStr(TagString, " ") - 1)
        EndTag = "</" & TagString & ">"
        SelStart = Ed.SelStart
        SelTxt = Ed.SelText
        NewSel = StartTag & SelTxt & EndTag
        
        Ed.HideSelection = True
        Ed.SelText = ""                ' Erase Old Text
        
        Ed.SelStart = SelStart
        Ed.SelLength = 0
        Ed.SelColor = vbBlue           ' Start Tag w/ Color
        Ed.SelText = "<"
        
        Ed.SelLength = 0
        Ed.SelColor = vbRed
        Ed.SelText = TagName
        
        Ed.SelLength = 0
        Ed.SelColor = vbBlue
        Ed.SelText = ">"
        
        Ed.SelLength = 0               ' Orig Text
        Ed.SelColor = vbBlack
        Ed.SelText = SelTxt
        
        Ed.SelLength = 0               ' End Tag w/ Color
        Ed.SelColor = vbBlue
        Ed.SelText = "<"
        
        Ed.SelLength = 0
        Ed.SelColor = vbRed
        Ed.SelText = "/" & TagName
        
        Ed.SelLength = 0
        Ed.SelColor = vbBlue
        Ed.SelText = ">"
        
        Ed.SelStart = SelStart        ' Select it
        Ed.SelLength = Len(NewSel)
        Ed.HideSelection = False
   End Sub

   



[ Back ] [ Download Ed ]

Send mail to webmaster@swe-eng.com with questions or comments about this web site.
Please read our Usage Rules before using any information from this site.
Copyright © 2000 SWE Engineering
Last modified: June 10, 2002