[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 121106] New: reformat source option "Pad Parentheses" ignored
From: kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date: 2006-01-31 18:38:56
Message-ID: 20060131193854.121106.yahoomailguard2004-main () yahoo ! es
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=121106
Summary: reformat source option "Pad Parentheses" ignored
Product: kdevelop
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: astyle
AssignedTo: kdevelop-bugs kdevelop org
ReportedBy: yahoomailguard2004-main yahoo es
Version: 3.3 (using KDE 3.5.0 Level "a" , SUSE 10.0 UNSUPPORTED)
Compiler: Target: i586-suse-linux
OS: Linux (i686) release 2.6.13-15.7-smp
It seems astyle adaptor is using "PadOperators" option for padding both operators and \
parenthesis:
http://websvn.kde.org/*checkout*/trunk/KDE/kdevelop/parts/astyle/astyle_widget.cpp?content-type=text%2Fplain&rev=443141
// padding
config->writeEntry("PadParentheses", Pad_Parentheses->isChecked());
config->writeEntry("PadOperators", Pad_Operators->isChecked());
http://websvn.kde.org/*checkout*/trunk/KDE/kdevelop/parts/astyle/astyle_adaptor.cpp?content-type=text%2Fplain&rev=443141
// padding
setOperatorPaddingMode(config->readBoolEntry("PadOperators", false));
setParenthesisPaddingMode(config->readBoolEntry("PadOperators", false));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic