Move the tabs in the editor?

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Jimbo_H
Enthusiast
Enthusiast
Posts: 103
Joined: Mon May 10, 2004 7:37 pm
Location: West Yorkshire, England

Move the tabs in the editor?

Post by Jimbo_H »

Hi,

Would it be possible to enable us to be able to reposition the tabs in the editor?

If I have a number of code windows open at the same time, it would be really useful to be able to drag them into a different order. See the text editor "NoteTab" for an example of this :)

Cheers,
Jim
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Sounds like a good idea.
I will add it...

Timo
quidquid Latine dictum sit altum videtur
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

I add in jaPBe two buttons in the toolbar for moving left/right.
Jimbo_H
Enthusiast
Enthusiast
Posts: 103
Joined: Mon May 10, 2004 7:37 pm
Location: West Yorkshire, England

Post by Jimbo_H »

freak wrote:Sounds like a good idea.
I will add it...
Timo
Great. Thank you :D

Cheers,
Jim
Matt
Enthusiast
Enthusiast
Posts: 447
Joined: Sat May 21, 2005 1:08 am
Location: USA

Post by Matt »

Is this being implemented? It would be a great, useful feature :D
Especially if you are managing multiple projects in PureBasic, I'd like to open a file and then position over where related files are.
User avatar
Arctic Fox
Enthusiast
Enthusiast
Posts: 609
Joined: Sun Dec 21, 2008 5:02 pm
Location: Aarhus, Denmark

Post by Arctic Fox »

File -> Sort Sources... :?:
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Post by nco2k »

i guess he means drag n drop the tabs, which sure would be useful.

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
Matt
Enthusiast
Enthusiast
Posts: 447
Joined: Sat May 21, 2005 1:08 am
Location: USA

Post by Matt »

Arctic Fox wrote:File -> Sort Sources... :?:
Didn't even know that existed. haha thanks :)

But yes, it would be a lot nicer to be able to drag and drop, like tabs in webbrowsers, which was what I was implying when I first posted :)
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Post by Fluid Byte »

nco2k wrote:i guess he means drag n drop the tabs, which sure would be useful.
+1

This is a very basic but powerful feature. Still wondering why it's missing.
Arctic Fox wrote:File -> Sort Sources... :?:
Yeah, right. Hitting the "Up" button a million times if you want your last source to be on top so much fun :roll:
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
User avatar
Deeem2031
Enthusiast
Enthusiast
Posts: 216
Joined: Sat Sep 20, 2003 3:57 pm
Location: Germany
Contact:

Post by Deeem2031 »

Yea it would be usefull, but if we have with this http://www.purebasic.fr/english/viewtop ... highlight= we won't need it ;)
irc://irc.freenode.org/#purebasic
User avatar
Arctic Fox
Enthusiast
Enthusiast
Posts: 609
Joined: Sun Dec 21, 2008 5:02 pm
Location: Aarhus, Denmark

Post by Arctic Fox »

Fluid Byte wrote:
Arctic Fox wrote:File -> Sort Sources... :?:
Yeah, right. Hitting the "Up" button a million times if you want your last source to be on top so much fun :roll:
You can drag'n'drop the sources in Sort Sources :wink: (at least I can :lol: )
Matt
Enthusiast
Enthusiast
Posts: 447
Joined: Sat May 21, 2005 1:08 am
Location: USA

Post by Matt »

Yes, so can I, but it's still not the same :) So much faster and nicer to drag and drop the titles.
Deeem2031 wrote:Yea it would be usefull, but if we have with this http://www.purebasic.fr/english/viewtop ... highlight= we won't need it ;)
That would be a great feature too :) But still not the same. I'd like to have similar program files next to eachother. Or what about a project option and then have a dropdown box. Depending on what project you select from the dropdown the respective files are shown.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Fluid Byte wrote:
nco2k wrote:i guess he means drag n drop the tabs, which sure would be useful.
+1

This is a very basic but powerful feature. Still wondering why it's missing
Because "by default features don't exist".

The standard API does not provide a way to do this (at least on Windows), and implementing it manually is quite some work especially if it should work properly on the range of Windows versions that PB supports with themes on/of etc etc. The bottom line is, we have our hands full and this feature simply isn't enough of a priority to be worth the hassle.
quidquid Latine dictum sit altum videtur
Matt
Enthusiast
Enthusiast
Posts: 447
Joined: Sat May 21, 2005 1:08 am
Location: USA

Post by Matt »

What about the project idea?
#NULL
Addict
Addict
Posts: 1497
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Post by #NULL »

>> The standard API does not provide a way to do this

if not by drag'n'drop, you could at least have two menu entries for "shift current source right" and "...left", so one can put two icons in the toolbar that do the same as the "up" and "down" buttons in the dialog but are quicker to access.
Post Reply