|
From: Matthieu C. <cho...@gm...> - 2008-06-10 13:57:24
|
Hi, the BufferSet is an object that contains a buffer list. Each EditPane has a BufferSet to manage the it's buffers. A BufferSet can be shared by several EditPanes There are 3 kinds of BufferSets scope : the "global" scope, the "view" scope and the "editpane" scope. the global BufferSet is the default scope, that every EditPane will use, so their buffer list will be the same. In the View option pane, you can choose the default scope, and switch it to view or editpane. every new EditPane will use this scope. If it is view, every EditPane in a View will share the same BufferSet, if it is editpane, every EditPane will have their own BufferSet. When changing this option, the existing EditPane will keep their current BufferSet, maybe it is your problem ? There is a new widget in for the status bar that you can add, it will tell you the scope of the BufferSet of the current EditPane, and by double clicking on it you will be able to change it Matthieu On Tue, Jun 10, 2008 at 3:38 PM, Dale Anson <da...@gr...> wrote: > How are the new buffersets supposed to work? I probably am > misunderstanding, but I thought if I had 2 views open, I'd be able to > have different files open in both views. As far as I can tell, the > lists are always the same -- opening a file in one view opens it in the > other, and closing a file in one view closes it in the other. Is that > the way it is supposed to work? Are there settings I'm missing to make > it work otherwise? I've tried to adjust the buffer set scope on > Utilities - Global options - View, but that doesn't seem to do anything. > > As far as sorting goes, it seems to be fine in the buffer switcher. > > Thanks, > > Dale > > > Alan Ezust wrote: >> Hi Matthieu >> >> First of all, i want to say, thank you very much for all your work on >> buffersets! >> I'm going to be able to get a lot more work done in multiple Views >> now, than I was before. >> I will continue testing it and sending comments. >> >> Regarding the sorting problem, it sems to me, we may need to change >> BufferSet into an interface, and add another class, SortedBufferSet, >> that's implemented underneath as this: >> >> private final SortedSet<Buffer> buffers = >> Collections.synchronizedSortedSet(new TreeSet<Buffer>()); >> >> Then we rename BufferSet to TabBufferSet and the buffertabs plugin can >> use it for allowing the reordering of the buffer order. If you're not >> using the BufferTabs plugin you want it to be always sorted, I think. >> >> On Mon, Jun 9, 2008 at 6:01 AM, James <gen...@gm...> wrote: >> >>> Ah well.. .Thanks for that. I'm not 100% sure what the BufferSets change >>> does but I must say the fact that sorting is no longer available >>> automatically is a bit of a pain. >>> >>> But I can wait until it's added. >>> >>> Thanks again for your response (and work added). >>> >>> On Mon, Jun 9, 2008 at 2:46 PM, Matthieu Casanova <cho...@gm...> >>> wrote: >>> >>>> Hi, >>>> in fact the sorting function doesn't work anymore because edit panes >>>> uses now BufferSets instead of global buffer list and the buffer sets >>>> do not support sorting at this moment, this is a feature that should >>>> be added. >>>> Using the buffer tabs trunk you can change the order of tabs by drag & >>>> drop if you want >>>> >>>> Matthieu >>>> >>>> On Mon, Jun 9, 2008 at 1:35 PM, James <gen...@gm...> wrote: >>>> >>>>> Hi, >>>>> >>>>> Before I log a defect and get told it's PEBKAC, could you check to see >>>>> if >>>>> the sorting of buffers is broken? >>>>> >>>>> I haven't been able to switch between buffers in the FileName order for >>>>> a >>>>> couple of weeks now. >>>>> >>>>> UnSetting the "sortByName" property via the options pane will set it to >>>>> false in the properties file, but when I set it to sort by name, this >>>>> property is removed completely. (Not sure if that's standard >>>>> functionality). >>>>> >>>>> And, manually adding that setting does nothing. >>>>> >>>>> Any ideas? >>>>> >>>>> Using trunk and Java 1.6.0_04 >>>>> >>>>> thanks, >>>>> James >>>>> >>>>> >>>>> ------------------------------------------------------------------------- >>>>> Check out the new SourceForge.net Marketplace. >>>>> It's the best place to buy or sell services for >>>>> just about anything Open Source. >>>>> http://sourceforge.net/services/buy/index.php >>>>> -- >>>>> ----------------------------------------------- >>>>> jEdit Developers' List >>>>> jEd...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/jedit-devel >>>>> >>>>> >>>>> >>> ------------------------------------------------------------------------- >>> Check out the new SourceForge.net Marketplace. >>> It's the best place to buy or sell services for >>> just about anything Open Source. >>> http://sourceforge.net/services/buy/index.php >>> -- >>> ----------------------------------------------- >>> jEdit Developers' List >>> jEd...@li... >>> https://lists.sourceforge.net/lists/listinfo/jedit-devel >>> >>> >>> >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > -- > ----------------------------------------------- > jEdit Developers' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-devel > |