Next, either click on the "+" button (for Add) beneath the linked files table or drag a file onto the table from the finder. Setting the refresh to instantly in the options palette will increase the responsiveness. Now whenever the linked file is updated, the web view will be refreshed.
|Note: It is a good idea to uncheck the "Cache data (faster)" box in the options palette, otherwise when the page is reloaded, you may not see the changes made.|
The "Check Externally Linked Files Interval" slider controls the rate at which the linked files are checked for changes. Each tick represents one second.
In linked file mode, the web preview will be collapsed, and the file will be saved automatically. A change in the document will refresh the HTML file it is linked to instantly.
Linked files can also be used for PHP editing. Link your include/require files, and any changes will refresh the main PHP document.
Style sheets can be attached to documents without using <link> or <style> tags. This is useful for writing blog entries or forum postings, where you want to test how it will look when published. To attach a style sheet to the document, select "Other..." from the Style sheet pop-up menu in the Options palette and select your file.
The style sheet can also be set for all new documents by selecting it in the content tab of HyperEdit's preferences.
|Note: Style sheets are cached, so changes will not show up in the preview pane. If you intend to edit the style sheet, use the linked file method mentioned above.|