InfoViewer Plugin |
By Dirk Möbius
dmoebius@gmx.net |
Introduction
Docking And Automatic Update
Frequently Asked Questions
Change Log
Todo
License information
With the InfoViewer Plugin you can choose the preferred browser, that jEdit and assorted plugins use to display HTML documentation.
You can use an external browser like Netscape or IE, but the InfoViewer Plugin also contains a lightweight mini web-browser named InfoViewer, written in Java, utilizing builtin Swing capabilities.
At the moment, the only plugin that supports the InfoViewer Plugin, is the JIndex plugin.
You can use this feature to create a two-pane layout: Dock InfoViewer to the right of the jEdit text area, making it a HTML preview pane of the current buffer. This makes jEdit similar to some well-known HTML editors.
Use the Auto-Update feature of InfoViewer to automatically update the preview pane on certain events, e.g.:
Better history support (save/browse history) with caching
More standard online web browsing functionality
Possibility to open more than one InfoViewer window
Note: The string "$u" (without quotes) will be substituted by the URL to display. If you don't enter any "$u", the URL will be appended at the end of the command string.
sh -c netscape -remote -openURL\('$u'\) -raise || netscape '$u'
This is a strange error. It only occurs, if the HTML document contains a Content-Type property, such as:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
I'll have to investigate further, but it seems to be a bug in the Swing implementation. (That is, I can blame Sun for it ;-) There are two workarounds: