Common

TEA Manual
Prev | Chapter 8. Markup | Next

# 8.3. Common

Some of functions those described below are works in a dual-way - if there no text selected, then will be inserted a pair of tags, otherwise the selected text will be enclosed with tags.

Close the current tag - use this fucntion to close the current tag. Type any tag with the ">" at the end, then use this menu item. Also you can turn on the automatic tag closing at Preferences > Editor > Autoclose Tags. All that stuff works with Docbook, HTML etc.

Comment - enclose the selection into the comment tags. It works fine for TeX, HTML, CSS, Pascal and C/C++ files, according to syntax rules.

Color - opens the color selection dialog. If no text selected, then a HTML-color inserts into the cursor position, otherwise the selected text will be embraced with a span-tag with the color property CSS.

Image - opens the file open dialog. You can select an image[s], which will be inserted as img-tags (with filled attributes such as height and width) or image object (Docbook) into the current document. There are supported all formats what GTK+ 2 usually understands - PNG, JPEG, GIF, WBMP etc.

Table stuff > Make table - I don't like any wizards, but I always have dreamed about the tool to create empty tables quickly. And I did it. Again we use the Famous text entry. It is very simply. Just type: rows count~columns count, and apply this function. For example, we want to make 2x4 table - 2 rows, with 4 cells per each row. So our template will be such of this: 2~4

Catch it? And now for something completely different.

Prev | Home | Next
HTML Tools | Up | List stuff