[Solved] Action for double clicking header/tab

Started by Stefan, December 22, 2008, 02:41:48 PM

Previous topic - Next topic

Stefan

Action for double clicking header/tab

Currently (1.40 build 556) if i double click on the file tab ....
the explorer windows on the left disappears or are shown again.

My expect was to close this very same document by double clicking the tab header.


Maybe in future there could be an option to choose was action is executed if one double click?
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

Hello Stefan,

I have not seen an example where double click on the tab header should close clicked tab. The default for this, as I know, is middle click (same, as mouse wheel click).
And when to check for default for double click, I would check the Eclipse (Java/C++ IDE) where double click does exactly the maximizing of clicked tab. Also when you click on Output Window header or File Explorer header the panel would be maximized.
When double click is done on empty space of tab area, new document should be created. HE does. As an example can be taken Opera web browser.

So, I would prefer to keep such behavior, untill somebody else complains ;). Than I would review my current decision ;)
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Stefan

Quote from: alex on December 22, 2008, 03:01:19 PM
Hello Stefan,
I have not seen an example where double click on the tab header should close clicked tab.
I do  ;D


QuoteThe default for this, as I know, is middle click (same, as mouse wheel click).
That's an other default too. But since laptop/notebook (no mouse/no wheel click) are common
nowadays a few authors  have decide to implement one more way to close tabs.

Quote
Also when you click on Output Window header or File Explorer header the panel would be maximized.
They went to 'floating' for me (556)

QuoteWhen double click is done on empty space of tab area, new document should be created. HE does.
Yes and that's fine feature too, thanks.

Quote
So, I would prefer to keep such behavior, untill somebody else complains ;).
Than I would review my current decision ;)
Then that's OK for me too.
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

QuoteThat's an other default too. But since laptop/notebook (no mouse/no wheel click) are common
nowadays a few authors  have decide to implement one more way to close tabs.

Ok, I unrerstood. I can think about such option (xml switch) ;)

QuoteThey went to 'floating' for me (556)
I was wrong. Yes, they toggles to floating. And this is default. Only if panels maximized, by double click they toggle back to not maximized mode.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

alex

I would add xml switch for closing of tabs by double click in next beta.
Check hippoedit.config for "CloseTabOnDblClick" property. Default is false.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

alex

HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Stefan

Quote from: Stefan on December 22, 2008, 02:41:48 PM
My expect was to close this very same document by double clicking the tab header.

Alex> Set hippoedit.config  "CloseTabOnDblClick" property to 'true'. Default is false.


YES, works!

Double click on Tab close the doc (and ask to save if doc was modified) instead of expanding the window.
  (1.40 beta 557 from 23.12.2008)


Wonderful, thank you.
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-