Author Topic: WARNING: Major interface breaking CVS changes  (Read 15288 times)

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
WARNING: Major interface breaking CVS changes
« Reply #15 on: May 28, 2005, 12:03:46 am »
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

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
WARNING: Major interface breaking CVS changes
« Reply #16 on: May 28, 2005, 12:52:01 am »
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?

Offline squizzz

  • Almost regular
  • **
  • Posts: 132
WARNING: Major interface breaking CVS changes
« Reply #17 on: May 28, 2005, 01:04:36 am »
Quote from: rickg22
* The tab name should just be the basename (i.e. without path) of the file.


Quote from: mandrav
Yeah, 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

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
WARNING: Major interface breaking CVS changes
« Reply #18 on: May 28, 2005, 01:26:45 am »
Squizzz, you're a genius :)

Offline cyberkoa

  • Plugin developer
  • Almost regular
  • ****
  • Posts: 145
    • http://
WARNING: Major interface breaking CVS changes
« Reply #19 on: May 28, 2005, 04:20:31 am »
A suggestion:

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

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
WARNING: Major interface breaking CVS changes
« Reply #20 on: May 28, 2005, 07:48:22 am »
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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
WARNING: Major interface breaking CVS changes
« Reply #21 on: May 28, 2005, 09:26:25 am »
Quote from: 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.

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: squizzz
I hope the answer to this dilemma deserves its place somewhere under "Settings->Editor"

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

Now, these are two nice suggestions :)

Quote from: 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)

I hope that's true.

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

Offline DreadNot

  • Multiple posting newcomer
  • *
  • Posts: 47
    • http://www.utdallas.edu/atescomp
WARNING: Major interface breaking CVS changes
« Reply #22 on: May 31, 2005, 06:28:06 pm »
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.
There are two ways to code: watertight & bulletproof!