Community
Participate
Working Groups
If you split the editor horizontal and select afterwards "Split vertical" the horizontal split is removed but the editor is not split vertical.
Eric, I think the split command should check in which direction the editor is already splitted and if perform the split if the new split direction is different.
You are most certainly correct...I'd already noticed this but wanted to get what I had out for feedback (which I guess is what this is...;-). care to try a patch ?
(In reply to Eric Moffatt from comment #2) > You are most certainly correct...I'd already noticed this but wanted to get > what I had out for feedback (which I guess is what this is...;-). > > care to try a patch ? I don't think I will find the time for a patch. Need to fix "my" stuff for M7.
Lars, IIRC I left this because my initial code that removed the existing tag (which should have caused the 'unsplit' to happen) before adding the new tag didn't work 'out of the box', not sure why...
Committed: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=a55c55e8c76f3636f2ce651da5cc9898b332176c This refactors the SplitHandler to allow swapping of the orientation...