GLBasic forum

Main forum => GLBasic - en => Topic started by: Kryten on 2015-Oct-01

Title: Editor question - multiple sources / windows
Post by: Kryten on 2015-Oct-01
Im guessing this isnt possible, if it is Im missing something...

When you have multiple windows / sources open in the editor, Its possible to change the order they appear in by click / dragging the tabs left / right.

However, when you save the project, they revert back to their original positions.

i.e. <tab1><tab2><tab3> can become <tab2><tab1><tab3>

The order they appear in seems to be the creation order of the sources

Is it possible to save the order of the tabs after dragging them around? Ive had a poke around the editor and on here, but couldnt find anything. I'm suspecting not, but worth asking.

Cheers
Title: Re: Editor question - multiple sources / windows
Post by: Kryten on 2015-Oct-02
Looks like its not possible then, at least through the IDE.

For anyone who's interested though - if you edit the .gbap file in notepad, you can change the order or the tabs there.
Title: Re: Editor question - multiple sources / windows
Post by: Ian Price on 2015-Oct-02
I've never needed to arrange external sources, but sounds like you at least found a solution - not necessarily an ideal one, but it's a solution.
Title: Re: Editor question - multiple sources / windows
Post by: Kitty Hello on 2015-Oct-03
You can drag them. No?
Title: Re: Editor question - multiple sources / windows
Post by: Ian Price on 2015-Oct-03
He said he can drag and drop them, but when he returns to the project the tabs are not in the same order as he left them - they don't autosave position on exit.
Title: Re: Editor question - multiple sources / windows
Post by: Kryten on 2015-Oct-03
As Ian said - drag and drop is fine, just doesnt save - either though "save all open files" or "File / Project / Save"

Only a minor niggle.
Title: Re: Editor question - multiple sources / windows
Post by: Kitty Hello on 2015-Oct-04
Ah, I'll have a look.
Title: Re: Editor question - multiple sources / windows
Post by: Kryten on 2015-Oct-04
Cheers :-)

Its happened in V12 and V14, running Win 7 64 bit,Geforce GTX660, latest drivers.