This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Indents and constructor initializer list | ||
---|---|---|---|
Product: | cnd | Reporter: | yuriy_lalym <yuriy_lalym> |
Component: | Editor | Assignee: | Alexander Simon <alexvsimon> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | screenshot |
Я не предлагаю выбрать один из пунктов, а говорю о всех пунктах как о едином целом. Извините, на английском сложно. Russian is fine for us, Yuriy. :) Thank you. Leonid. |
Created attachment 109834 [details] screenshot More low I write a minus instead of a indent space. That we have now. We have an error. screenshot: TextBrowser::TextBrowser(QWidget *parent) : QWidget(parent), <ENTER> ------<NEW POSITION> We appear not in the fifth position (a red arrow), and in the sixth (a dark blue arrow). The editor has confused articles of indents. OK. It is much better to have 1. Multiline alignment. For example "Indent Namespace" = 2 namespace { --TextBrowser::TextBrowser(QWidget *parent) : QWidget(parent), ----------------------------------------------Color("Red") --{ --} } 2. Shift to a colon if it in a new line + multiline alignment. For example "Indent Namespace" = 2 "Our Shift" = 4 namespace { --TextBrowser::TextBrowser(QWidget *parent) ------: QWidget(parent), --------Color("Red") --{ --} } OR namespace { --TextBrowser::TextBrowser(QWidget *parent) ------: QWidget(parent), Color("Red"), --------Width(200), Height (500) --{ --} } 3. Shift if it in a new line + multiline alignment. For example "Indent Namespace" = 2 "Our Shift" = 4 namespace { --TextBrowser::TextBrowser(QWidget *parent) : ------QWidget(parent), Color("Red"), ------Width(200), Height (500) --{ --} }