News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

WARNING: Major interface breaking CVS changes

Started by mandrav, May 27, 2005, 01:48:40 PM

Previous topic - Next topic

tiwag

Quote from: mandrav...
Hey tiwag, it seems I beat you to it  :lol:

Yiannis.

yeah, when i started editing my follow up, you haven't had posted,
and then you 've been 2minutes faster !!!
i've read it just now

rickg22

Well i just mentioned it because I remembered seeing a bug report at SF about CB displaying extremely huge tabs. And we know that project files can be under VERY DEEP directories.

Anyway, I think I found out how to handle the ctrl-f4 stuff. There are two choices:

a) Add wxKeyEvent handlers to EditorManager so that it will close windows using certain key presses.

b) Add a "Window" menu with shortcuts.

Should we stick with a), or include b, too?

squizzz

Quote from: rickg22* The tab name should just be the basename (i.e. without path) of the file.

Quote from: mandravYeah, I know it would be nicer if it would be smaller (the tab text), but some of us (including me) work with projects having files with the same filename under different dirs. I 'd be lost if all I could see would be three tabs labeled, say, "console.h" ;)

I hope the answer to this dilemma deserves its place somewhere under "Settings->Editor" 8)
this space is for rent

rickg22


cyberkoa

A suggestion:

  The Tab only show filename. The full pathname shown in the status bar at bottom, everybody happy  :)

rickg22

Hey, I added the shortcuts on main.cpp:
Ctrl F4, Ctrl-Shift F4, Ctrl F6, Ctrl Shift F6 (plus the usual ctrl w, and ctrl-shift w)

Now that it works I replaced my copy of Codeblocks with CVS :D

mandrav

Quote from: rickg22Well i just mentioned it because I remembered seeing a bug report at SF about CB displaying extremely huge tabs. And we know that project files can be under VERY DEEP directories.
There was a time when the tab would display the full filename, not the relative. When I closed this bug report, I made it display the relative one.

Quote from: squizzzI hope the answer to this dilemma deserves its place somewhere under "Settings->Editor"
Quote from: cyberkoaThe Tab only show filename. The full pathname shown in the status bar at bottom, everybody happy
Now, these are two nice suggestions :)

Quote from: rickg22Hey, I added the shortcuts on main.cpp:
Ctrl F4, Ctrl-Shift F4, Ctrl F6, Ctrl Shift F6 (plus the usual ctrl w, and ctrl-shift w)
I hope that's true.

Yiannis.
Be patient!
This bug will be fixed soon...

DreadNot

I like squizzz'z idea.  A "show full path in tab" checkbox or something.
Might there be a max string length for the path+filename and trucate to "..."+endofpath+filename when it is exceded?  Could this also be a user setting?  The status bar filename should work the same way.