Web Design HTML Editor

Setting up and using Markers

If you need a way to quickly jump to certain parts of a document, such as functions, scripts, links, headers or anything else for that matter, WebDesign's markers feature lets you do this with ease. Lets say for example you are creating a page with dozens of different headings. To create the headings you are simply using the HTML Header tags (<H#> and </H#>) to make the headers stand out on your web site. As your page gets longer and longer, jumping between headers gets very tedious. You can always use the Find feature but this can get overwhelming and time consuming. Instead, using the Markers features would make much more sense and be much quicker.

To set up the Markers feature, Open the Preferences window and select the Markers tab or select Add Marker from the Marker button's menu (third button at the top of each document window) to go directly to this tab. Fortunately, for this task an example is already there for you. Select the example labeled Headers, click the add button and save your preferences. Now all your headers are listed in the Marker button's menu. You can select one to quickly jump to the correct location in your document. You will notice that this marker works for any size header from H1 all the way to H5. This is because it uses WebDesign's powerful pattern searching (called regular expression) to search your document.

Setting Up Function Markers

Set up Function Markers by entering the start string and the end string that WebDesign should search for in your document. When it finds these strings, the text in between them are listed in the Function Markers menu in each document window. You can even define regular expression search strings

An example may not always be available so setting up markers may not always be this easy, but it does not get much harder. To set so up a custom marker, enter the start and end strings that WebDesign should look for. WebDesign will search your entire document for each occurrence of these strings and, if found, the text that they surround will be listed in the marker button's menu and is where WebDesign will jump to when the marker is selected. For example, if you enter 'href="' in the start string field and '"' into the end string field, any text that follows 'href="' all the way till the next '"' will be listed in the marker button's menu and will be highlighted when the marker is selected. WebDesign also provides options to help narrow your search. You can set it to be case sensitive so that it does not match 'A' if your enter 'a' and you can also set it to only match entire words. The third option allows you to enable regular expressions for your search terms. This allows you to enter complex patterns instead of simple strings for WebDesign to search for. Regular expression syntax is explained in more detail in Section 6 'Search & Replace' of this user manual. Lastly you can also set the document mode that the search pattern should be applied to. For example, if your marker was set to find HTML headers you might only want it to be enabled for HTML documents or if your marker was set to find PHP functions you may only want it to be enabled for PHP documents. This can help speed up WebDesign's searching and remove unwanted markers from the menu.

Function Markers Listed in Each Document Window

Each Document Window will list the results of your Function Markers. In this case, all text within a heading tag (<H#>>...</H#>) are listed so you can easily jump to the selected section of your document.

Previous | Top | Next


Have Any Questions? Post them on our FREE discussion forum at http://www.ragesw.com/forums/
Copyright 1999-2005 Rage Software. All rights reserved world wide
Back to Index | More About WebDesign | FREE WebDesign Add-ons

Designed With WebDesign