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...
- Comments in CSS and HTML
- PHP and ASP blocks in HTML
- JavaScript functions and compound statements (such as
while
, try
, and switch
)
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:
- Start a new iWebKit project via
File > New Site > iWebKit
.
- Add a new iWebKit page to your site via
File > New HTML Document > iWebKit
.
- the new HTML toolbar contains an iWebKit tab, providing easy access to most of the commonly used iWebKit elements (such as navigation buttons, menus, lists, form elements, etc).
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
- includes recently used colors (CSS color properties only)
- (sub)property values are grouped (CSS shorthand properties only)
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
- Added: "Box Spy" - exposes an HTML tag's margins, padding and content box as you mouse over it in the preview
- Added: External URLs may now be used as preview files when editing CSS documents (IE only) (28922)
- Added: "Find in Files" now supports replace (
Edit > Find/Replace in Files
)
- Added: Style definition for Firefox 2 (73921)
- Added: Style definition for Internet Explorer 7
- Added: Style definition for Safari 2 (36348)
- Added: Style definition for Opera 9
- Added: Style definition for Outlook 2007 (HTML email)
- Added: IE7, FF2 and O9 added to property help
- Added: Support for PNG images in the thumbnail viewer
- Added: Site Reports now supports multiple class names within a single class attribute (ex:
<p class="one two three">
). The first time you open a site created in a previous version, TopStyle will quickly scan its HTML files for multiple class names, and if any exist, you'll be prompted to upgrade the site. Note that the upgrade must be performed in order to open the site in v3.5.
- Added: Progress bar added to site-related operations (reports, etc.)
- Added: Insight now displays HTML entities when & pressed in content
- Added: Navigation buttons added to full screen preview (27891)
- Added: Color picker now enables entering (or pasting) a six-digit hex value (58995)
- Added: Hitting TAB when text is selected now indents the selected lines of text
- Added: Preview files dialog now enables multi-select (for deleting multiple preview files)
- Added: Preview files "Add Url" dialog now automatically inserts "http://"
- Added: Safari for Windows auto-detected as external browser
- Added: "Quick Options" added to Options menu and editor context menu
- Added: Support for printing in color (72294)
- Added: "Close other tabs" added to editor context menu
- Added: TopStyle now uses the same error reporting feature that's used by FeedDemon
- Added: "Reopen" added to menu
- Added: "Refresh" button added to file panel
- Added: Performance improvements throughout (hat tip to FastMM)
- Added: Ctrl+M now supports PHP comments
- Added: Hitting TAB when text is selected now indents the selected lines of text
- Added: "Automatically check for new versions" added to General page in Options (checks once a week for new versions of TopStyle)
- Added: "Edit All in Group" added to site summary context menu (ex: opens all files in selected folder)
- Added: The editor tab tooltip for HTML documents now includes the
<title>
- Added: Find/replace in files now enables searching just the current document
- Added: Confirmation dialog when using "Replace All" now moves to avoid obscuring the selection
- Added: Find/replace now scrolls the matched text to the middle of the screen, to provide better context
- Added: Clicking the "Edit" toolbutton below a site report now highlights the selected class or ID in the editor
- Changed: "File list panel" renamed to "File explorer panel"
- Changed: The thumbnail viewer is now embedded below the file explorer. Selecting a thumbnail will highlight it in the file list, and selecting an image in the file list will highlight it in the thumbnail viewer.
- Changed: HTML Tidy (Tidy.exe) upgraded to June 13, 2007 version
- Changed: Style definitions for Safari 1.0, Opera 8, Netscape 4 (Mac), Konquerer, and Netscape 8 are no longer included in the install (but they won't be removed if you already have them)
- Changed: Comment tags no longer inserted when selecting
- Changed: "Remove existing styles before previewing" moved from Options dialog to preview options toolbutton
- Changed: "File list panel" renamed to "File explorer panel"
- Changed: Thumbnail viewer moved to file explorer panel
- Changed: Color values (both named and hex) are now inserted in lowercase by default (this can be changed on the "Colors" page in TopStyle's options)
- Changed: When "auto-convert special characters" is enabled, the conversion is now skipped when typing inside a comment
- Fixed: TopStyle's help fails to load on Windows Vista (75255)
- Fixed: "Color grabber" (eyedropper icon) in TopStyle's color picker fails on Windows Vista (95879)
- Fixed: Style checker incorrectly flags 'inline-block' as an invalid display value in CSS 2.1 (52804)
- Fixed: Style checker incorrectly gives generic family name warning when 'inherit' used for font-family
- Fixed: Content-type doesn't include 'text/html' when using W3C HTML Validator (72220)
- Fixed: Style sweeper removes last declaration in rule when it doesn't end with a semi-colon (51045)
- Fixed: Style sweeper fails to move at-rules to the top when sorting selectors logically (78484)
- Fixed: "Open from Web" needs to insert HTML comment after DOCTYPE or XML prolog, and CSS comment after @charset declaration (52460)
- Fixed: Find dialog doesn't accommodate user-modified system font sizes (50155)
- Fixed: TopStyle may start partially obscured on multimon systems when secondary monitor is "higher" than the primary (49389)
- Fixed: Exception when loading trial version if older version of TopStyle Lite installed after installing trial version (63211)
- Fixed: Embedded browser doesn't support
Ctrl+C
and other standard shortcuts (63743)
- Fixed: Class names containing hyphens aren't color-coded correctly (61205)
- Fixed: Can't cut, copy or paste color values in color picker
- Fixed: Files with no extension can't be opened from the file panel (69428)
- Fixed: Default keyboard shortcuts can be deleted (72183)
- Fixed: Access violation when using TopStyle over VNC (71285)
- Fixed: Clicking +/- buttons in palette editor selects that color in the editor (50731)
- Fixed: Changes aren't reflected when "Synchronize the preview with editor position" is enabled and IE7 is installed
- Fixed: Status bar shows the wrapped line number instead of the unwrapped line number when word-wrap is enabled (30539)
- Fixed: Form controls don't reflect current XP theme
- Fixed: Insight doesn't accommodate multiple class names (35819)
- Fixed: Files which use the Mac EOL format are converted to PC EOL format when saved in TopStyle
- Fixed: Opera 9 not auto-detected as external browser
- Fixed: Safari for Windows doesn't show current document when selected from external browser list
- Fixed: Install fails to warn when TopStyle is already running
- Fixed: TopStyle Lite consistently fails to start on limited accounts
- Fixed: Refresh toolbutton on file panel doesn't refresh folders
- Fixed: Invalid thumbnail images show up as empty boxes (changed to write "Error" on the thumbnail)
- Fixed: TopStyle Lite consistently fails to start on limited accounts
- Fixed: Refresh toolbutton on file panel doesn't refresh folders
- Fixed: Invalid thumbnail images show up as empty boxes (changed to write "Error" on the thumbnail)
- Fixed: Thumbnail viewer shows wrong size when large fonts are used (102914)
- Fixed: Auto-generated CSS preview doesn't handle definition lists correctly (104260)
- Fixed: Hex values typed into the color picker don't honor the "Lowercase hexadecimal color values" setting
- Fixed: Crash at closing when preview is showing an active embedded object (such as a running YouTube video)
- Fixed: Panel captions too large when using large fonts
- Fixed: Thumbnail viewer doesn't reload when hitting refresh
- Fixed: "Edit Preview Files" doesn't show filenames in tooltip
- Fixed: "Edit Preview Files" leaves multiple files selected after re-ordering
- Fixed: Error when checking for hyperlink at cursor (99261)
- Fixed: Error attempting to make TopStyle the default CSS editor under non-admin Vista (102104)
- Fixed: Error adding TopStyle to IE's list of HTML editors under non-admin Vista (107382)
- Fixed: Exception when clicking an empty link in the preview
- Fixed: TopStyle's "user" folder not always successfully copied to "Application Data" folder when the multi-user install option was chosen
- Fixed: "File in use" error when style sheet displayed in dual full screen preview
- Fixed: Color-coding of
<link>
tags doesn't account for embedded PHP/ASP
- Fixed: Invalid
<script>
tag inserted when JavaScript filed drag-and-dropped onto XHTML document
- Fixed: Color picker shows previous color selection
- Fixed: "Read only file" warnings in message panel appear under the wrong filename when doing a replace in files
- Fixed: Insight for the current CSS property doesn't automatically appear if there are no spaces between the cursor position and the close brace
- Fixed: Sibling selectors incorrectly appear in orphan classes report
- Fixed: Style Sweeper adds extra ";" to end of style rule when preceded by a comment
- Fixed: Style Sweeper removes double-spacing inside comments even when "remove blank lines" isn't selected
- Fixed: Style Sweeper removes comments that appears right after a declaration if immediately preceded by another comment
- Fixed: Style Sweeper fails to correctly indent comments that appear above indented declaration
- Fixed: Style Sweeper removes comments that appear before a declaration's semi-colon when reformatting color values
- Fixed: Can't use Ctrl+C in site reports editor
- Fixed: If a style rule isn't closed, subsequent rules don't color-code correctly even after typing a "}" to close the rule
- Fixed: When building a site, @import statements are ignored in HTML documents which use Eric Meyer's highpass filter hack (109347)
- Fixed: "Find/Replace in Files" fails with search strings longer than 255 characters
- Fixed: File error when switching between embedded IE and the Mozilla Control
- Fixed: Crash under Windows Vista when using the default style preview if the current style sheet contains an
applet
selector