TopStyle 4.0 Release Notes

build 4.0.0.66 / oktober 5, 2009

Tap into the power of cascading style sheets (CSS) and (X)HTML.

What's new in TopStyle 4.0

TopStyle 4 includes many new features to help you create and maintain CSS and (X)HTML documents that support best practices and the latest technologies.

Unicode

When you save your (X)HTML document (File > Save As), you can optionally select encoding for your document. TopStyle allows you to save your document ANSI-encoded (the TopStyle 3.x default), or Unicode-encoded (UTF-8 or UTF-16).

When you open an existing document (File > Open), TopStyle will try and auto-detect the encoding for the document you're trying to open. If the document you're trying to open does not contain a BOM (byte-order mark), auto-detect assumes your document is ANSI-encoded (the TopStyle 3.x default).

Note: TopStyle will always include a BOM (byte-order mark) with your Unicode-encoded documents.

Live FTP editing

TopStyle allows you to edit online documents via FTP (File Transfer Protocol). The new FTP Explorer Panel (View > Panels > FTP Explorer Panel) allows you to drag-and-drop documents from your FTP site(s) into the TopStyle editor. Alternatively, you can select File > Open from FTP from the TopStyle menu.

Note: when you save your document, it is automatically uploaded to your FTP site. TopStyle makes FTP totally transparent. You are not bothered with downloading (and/or uploading) your document(s) by hand.

Last but not least, you can upload your local documents (the ones not downloaded from a FTP site) to your FTP site(s) via File > Save to FTP.

HTML toolbar

TopStyle comes with a new, user-configurable HTML toolbar (View > Show HTML Toolbar) that is displayed above the editor. By default, this HTML toolbar is available to (X)HTML documents only, but you can optionally enable it for CSS documents too via Options (F8) > General > User Interface.

Simply click and hold down the mouse button on a HTML toolbar item, and then drag the item from the HTML toolbar anywhere into your document. When you release your mouse button, a snippet is inserted into your document. Some HTML toolbar items optionally display a dialog where you can configure the snippet before it is inserted.

You can apply a HTML toolbar item to selected text as well. Select some text in your document, then click a HTML toolbar item and release the mouse button without dragging the item out of the HTML toolbar.

Note: HTML toolbar items are stored under \Documents and Settings\<username>\Application Data\Bradsoft.com\TopStyle\4.0 (Windows XP) or \Users\<username>\AppData\Roaming\Bradsoft.com\TopStyle\4.0 (Windows Vista). Advanced users can create their own HTML toolbar items.

New style definitions

TopStyle includes new style definitions for IE8 (Microsoft Internet Explorer 8), FF3 (Mozilla FireFox 3), SF3 (Apple Safari 3), and SF4 (Apple Safari 4).

Insight for scripting languages

TopStyle includes Script Insight for ASP (both JavaScript and VBScript), PHP, and ColdFusion.

Code folding

In addition to CSS rule collapsing, TopStyle allows you to collapse...

Bookmarks

The TopStyle editor context menu contains new commands for navigating your document(s). To display the editor context menu, right-click anywhere in the editor window.

Choose Toggle Bookmarks from the editor context menu to set or clear up to 10 bookmarked locations in each document you have open in the editor. Bookmarks let you save your place within a long document. You can also press Ctrl+Shift and the number of the bookmark to set or change the location of a bookmark. When a bookmark is set, you see a box in the left margin of the editor with the bookmark number in it.

Choose Goto Bookmarks from the editor context menu to display a list of bookmarked locations you can jump to in the editor. You can also jump to bookmarks by typing Ctrl + the number of the bookmark.

iPhone (and iPod touch) web app development

TopStyle includes iWebKit, a simple and advanced development framework for iPhone (and iPod touch) web apps:

In addition to iWebKit, TopStyle includes new CSS definitions for Apple's mobile Safari (iPhone OS 1.1 and iPhone OS 2.0).

Last but not least, TopStyle includes a new *internal* preview for Apple Safari.

Improved inline style

Inline style attributes (eg. style="|") support CSS color-coding and Style Insight (Ctrl+Space).

IE8 document compatibility

TopStyle allows you to change the current IE8 document compatibility mode (you can select a mode from the document compatibility list under TopStyle's HTML menu).

TopStyle's full screen preview (F12) enables experimenting with different IE8 document compatibility modes, so you can see how they affect the rendering of your pages. Because the full screen preview may be split in two panels, each preview panel has its own IE8 document compatibility mode!

HTML 5

TopStyle contains a new HTML definition for HTML 5, and supports the new !DOCTYPE for HTML 5.

Improved CSS Insight

Live spelling (HTML-only)

TopStyle identifies spelling errors as you type with wavy red underlines, and allows you to act upon each identified problem with a new context menu.

New HTML templates

TopStyle includes new (HTML) templates for HTML 5, ASP JavaScript, ASP VBScript, ASP.NET C#, and ASP.NET VB.

Support for the latest web browsers

TopStyle auto-detects the latest (external) browsers, including Mozilla Firefox, Apple Safari, Opera, and Google Chrome.

Additionally, the (internal) preview for Mozilla Gecko (Mozilla FireFox) has been updated to support the latest version of Mozilla Gecko (Mozilla FireFox).

Improved PHP support

Inside PHP HEREDOCs, TopStyle will display it's Tag Inspector (or Inline Style Inspector) and HTML Insight when you're adding/editing HTML tags.

Improved CSE HTML Validator integration

TopStyle includes improved integration with CSE HTML Validator.

Updated HTML Tidy

TopStyle includes the March 2009 release of HTML Tidy, and supports all the latest HTML Tidy configuration options.

Windows XP themes

TopStyle supports (Windows) XP themes, and provides a better visual user-interface experience on both Windows XP and Windows Vista.


TopStyle 3.5 Release Notes

build 3.5.0.9 / October 15, 2007

Changes in Version 3.5