Working With Views

jEdit is very flexible when it comes to working with multiple windows. When it starts up, it only creates one editor window, or view. However, it is possible to have any number of views open at once. Furthermore, each view can be split into multiple panes. Each pane can be editing a different buffer; alternatively, you can select the same buffer in more than one pane to view multiple locations simultaneously.

Utilities>New View (keyboard equivalent: Control-E Control-N) will create a new view. It will display the same buffer as the current view. A different buffer can also be selected from the Buffers menu or using the buffer tabs. Utilities>Close View (keyboard equivalent: Control-E Control-W) will close the current view. jEdit will exit when the last view is closed (unless background mode is on, in which case it will continue running; see Appendix B).

Utilities>Split Horizontally (keyboard equivalent: Control-E 2) will horizontally split the view. Utilities>Split Vertically (keyboard equivalent: Control-E 3) will vertically split the view. Utilities>Unsplit (keyboard equivalent: Control-E 1) will remove all splits from the current view. When a view is split into multiple panes, editing commands operate on the pane that has keyboard focus (or if no pane is focused, the one that last had keyboard focus).

Figure 4-3. A view split into two panes