The buffer sets feature helps keep the buffer lists local and manageable when using jEdit in a multiple-View and multiple-EditPane environment.
As mentioned in the previous section, each EditPane can show a Buffer Switcher, which displays the contents of a BufferSet. In jEdit 4.2, all EditPane buffer switchers showed the same BufferSet: a global list of all buffers that were opened from any EditPane in any View. When using many Views and EditPanes, this resulted in large lists of buffers, and made the next/previous buffer actions useless with many Views, EditPanes and Buffers.
Since jEdit 4.3, it is possible to have more narrow scopes for the BufferSets of an EditPane. This makes the 'next-buffer' and 'previous-buffer' actions switch between buffers that are local to the view or pane.
The three BufferSet scopes are:
Global: Includes all buffers open from any EditPane.
View: EditPanes in the same View share the same BufferSet. Opening a buffer in one View will not affect the other views.
EditPane: Each EditPane can have its own independent BufferSet.
Bufferset scope can be set from BufferSet scope:.> > >
> removes the current buffer from the EditPane's BufferSet only. If it was the last BufferSet to contain that buffer, the buffer is also closed.
The> action closes the buffer in all EditPanes, as the jEdit 4.2 > action did before.
Whenare enabled, any time a buffer is visited in one EditPane, it should be automatically closed in other EditPanes which use a disjoint (non-intersecting) BufferSet.
will clear the BufferSet of the current EditPane by performing a on all items except those buffers which are displayed in another active EditPane.
The statusbar shows you which BufferSet scope is active (look for the letter "G", "E" or "V"). Double-clicking on that will allow you to change the scope without going into global options. The BufferSet Scope can also be changed from> > . A change to the bufferset scope affects all editpanes immediately.