[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: [Bug 100108] New: alignment for auto indentation should use spaces
From: Hendrik Sattler <sattler2000 () gmx ! de>
Date: 2005-02-23 18:13:40
Message-ID: 20050223191339.100108.sattler2000 () gmx ! de
[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=100108
Summary: alignment for auto indentation should use spaces instead
of tabs
Product: kate
Version: unspecified
Platform: Debian testing
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kwrite-devel kde org
ReportedBy: sattler2000 gmx de
Version: (using KDE KDE 3.3.2)
Installed from: Debian testing/unstable Packages
Hi,
Normal indentation is done using tabs, I use a tab width of 8 in the settings.
Now, take a look at
void MainDialog::createMainGroup (QWidget* parent, const char* name)
{
QGroupBox* mainGroup = new QGroupBox(2,Qt::Horizontal,
QString("Standard parameters"),
parent,name);
}
(hope that's arrive correctly)
Now change the tab width in the settings to e.g. 4. All those indentated lines
are now wrongly indented.
This is because you use tabs for alignment. To do this correct, use
1. tabs to go the right indentation level
2. then spaces to align the function arguments to the '('
This combination will have it aligned and indented correctly independent of the selected tab width.
HS
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic