mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-08 02:54:56 -06:00
CtrlLib: HeaderCtrl ShowTab fixed, ide: cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@6466 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d895007e0a
commit
bacddba80e
2 changed files with 8 additions and 3 deletions
|
|
@ -704,6 +704,7 @@ void HeaderCtrl::ShowTab(int i, bool show) {
|
|||
cm.visible = show;
|
||||
if(mode == PROPORTIONAL)
|
||||
InvalidateDistribution();
|
||||
ReCompute();
|
||||
Refresh();
|
||||
WhenLayout();
|
||||
SbTotal();
|
||||
|
|
|
|||
|
|
@ -114,9 +114,13 @@ void Ide::LoadAbbr()
|
|||
abbr.Add("eib", "else\r\nif(@) {\r\n\t;\r\n}");
|
||||
abbr.Add("f", "for(@;;)\r\n\t;");
|
||||
abbr.Add("fb", "for(@;;) {\r\n\t\r\n}");
|
||||
abbr.Add("fi", "for(int i = 0; i < @; i++)");
|
||||
abbr.Add("fj", "for(int j = 0; j < @; j++)");
|
||||
abbr.Add("fk", "for(int k = 0; k < @; k++)");
|
||||
abbr.Add("fi", "for(int i = 0; i < @.GetCount(); i++)");
|
||||
abbr.Add("fib", "for(int i = 0; i < @.GetCount(); i++) {\r\n\t\r\n}");
|
||||
abbr.Add("fij", "for(int i = 0; i < @.GetCount(); i++)\tfor(int j = 0; j < .GetCount(); j++)");
|
||||
abbr.Add("fj", "for(int j = 0; j < @.GetCount(); j++)");
|
||||
abbr.Add("fjb", "for(int j = 0; j < @.GetCount(); j++) {\r\n\t\r\n}");
|
||||
abbr.Add("fk", "for(int k = 0; k < @.GetCount(); k++)");
|
||||
abbr.Add("fkb", "for(int k = 0; k < @.GetCount(); k++) {\r\n\t\r\n}");
|
||||
abbr.Add("i", "if(@)\r\n\t;");
|
||||
abbr.Add("ib", "if(@) {\r\n\t\r\n}");
|
||||
abbr.Add("ie", "if(@)\r\n\t;\r\nelse\r\n\t;");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue