InfoViewer Plugin
By Dirk Möbius
dmoebius@gmx.net

Introduction
Docking And Automatic Update
Frequently Asked Questions
Change Log
Todo
License information


Introduction

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.

Docking And Automatic Update

InfoViewer, the lightweight mini web-browser, may be docked into jEdit's View. See Utilities>Global Options>Docking.

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.:

See Utilities>Global Options>Plugin Options>InfoViewer>Internal Browser for a list of options.

Frequently Asked Questions

What is planned for the future?

How can I configure the external browser?

See Utilities>Global Options>Plugin Options>InfoViewer>Choose Browser. There is an option for "External browser". Enter any command in the field "External browser command".

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.

What does "Netscape (with reuse, Unix only)" in the options do?

It invokes the following command:

sh -c netscape -remote -openURL\('$u'\) -raise || netscape '$u'

How can I add an separator between bookmark entries?

In the "Edit Bookmarks" dialog, enter a new entry with dash ("-") as title.

It looks like Automatic Periodic Update doesn't work?

You enabled the options "Update InfoViewer automatically" and "...periodically", but the InfoViewer pane doesn't seem to get updated when you edit the corresponding jEdit buffer.

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:


All contents copyright (c) 1999-2001 Dirk Möbius (dmoebius@gmx.net)