[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 105396] keep one-line blocks option does nothing
From: "Steven T.Hatton" <hattons () globalsymmetry ! com>
Date: 2006-11-20 23:19:10
Message-ID: 20061120231910.5382.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=105396
hattons globalsymmetry com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|FIXED |
------- Additional Comments From hattons globalsymmetry com 2006-11-21 00:19 -------
This is still broken. Here's the fix:
101,102c101,102
< setBreakOneLineBlocksMode(config->readBoolEntry("KeepBlocks", false));
< setSingleStatementsMode(config->readBoolEntry("KeepStatements", false));
---
> setBreakOneLineBlocksMode(!config->readBoolEntry("KeepBlocks", false));
> setSingleStatementsMode(!config->readBoolEntry("KeepStatements", false));
The problem is that the checkbox labels are the logical inverse of the settings they control.
With:
Settings->Configure KDevelop->Formatting->Formatting
[x]Keep one-line statements
[x]Keep one-line blocks
This happens:
void from(T from_) { _from = from_; }
Edit->Reformat Source
void from(T from_) {
_from = from_;
}
[AStyle]
BlockBreak=false
BlockBreakAll=false
BlockIfElse=false
Brackets=Attach
BracketsCloseHeaders=false
FStyle=UserDefined
FillCount=4
FillEmptyLines=false
FillForce=true
IndentBlocks=false
IndentLabels=false
IndentNamespaces=false
IndentPreprocessors=false
KeepBlocks=true
KeepStatements=true
PadParenthesesIn=false
PadParenthesesOut=false
PadParenthesesUn=false
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic