Firstly, great job guys, always nice to see the newest/latest/greatest.
I discovered a slight regression. The listing below shows a block of code with all the constructor parameters on the same line as the constructor, I typically place the constructor parameters on separate lines to make the code more readable. I do this by manually pressing enter before the colon and comma separators and expected these to be on separate lines - each one indented by the tab indent settings (4 spaces in my case).
If I press enter before the ':' separator (in the second , SlickEdit correctly places that on column 4, however when I attempt to place the second parameter 'mOptions' on the next line (by pressing enter before the',' parameter separator, it is placed on the next line indented by 5 characters, then when I place the 3rd constructor parameter 'lineNumbersArea' on the next line (again by pressing enter before the',' parameter separator) the ',' parameter separator is set to column 0. The way I was expecting this to work (like visual studio) is to align the commas with the first ':' (see last code snippet below).
This is the code I want to manually edit - placing constructor parameters on separate lines:
CodeEditor::CodeEditor(QWidget *parent, const Options &rOptions) : QPlainTextEdit(parent), mOptions{rOptions}, lineNumberArea{std::make_unique<LineNumberArea>(this)}
{
. . .
}
This is what I get (after pressing enter before the ':' and ',' separators
CodeEditor::CodeEditor(QWidget* parent, const Options& rOptions)
: QPlainTextEdit(parent)
, mOptions{ rOptions }
, lineNumberArea{std::make_unique<LineNumberArea>(this)}
{ . . .
This is what I want
CodeEditor::CodeEditor(QWidget* parent, const Options& rOptions)
: QPlainTextEdit(parent)
, mOptions{ rOptions }
, lineNumberArea{std::make_unique<LineNumberArea>(this)}
{
. . .
}
Another thing that has been bothering me for some time is that there is no way to customize the whitespace space and tab characters. They are too bright - Visual Studio makes them much dimmer and less distracting - see attachment.