brianush1

Results 10 issues of brianush1

```d private class Foo { static int bar() @property { return 2; } } ``` D-scanner suggests putting a `const`, `inout`, or `immutable` attribute on `bar`; however, doing this would...

bug

```d void foo() { // dfmt off { // dfmt on // dfmt off } // dfmt on { } } ``` Formatting this code will, each time, add 2...

bug

Double click on text fields should only select a whole word if the mouse doesn't move between the two clicks (same for triple click selecting the whole text)

If you press down on a scrollbar thumb, then move the mouse outside the window, the scrollbar stops being dragged. To match native behavior, the scrollbar should continue being dragged...

```d import std.stdio; void main() { int x = 5; switch (x) { case 3: int y = x + 2; writeln(y); break; default: int y = x + 3;...

```d module foo.bar.baz; class Foo { package: package(foo) this() { } } ``` gives `same visibility attribute used as defined on line 4. DScanner(dscanner.suspicious.redundant_attributes)` on line 6

![image](https://github.com/Pure-D/code-d/assets/11414209/fe11140a-e0db-4e56-9460-66f42004e3ee) Clicking the icon to collapse this block produces the following result: ![image](https://github.com/Pure-D/code-d/assets/11414209/1c7995e9-7332-4f5b-9021-1a5590989489) I would expect it to look more like ![image](https://github.com/Pure-D/code-d/assets/11414209/ca9a2c52-6089-4bb7-9fb5-708b5e9753f5) so that the `else if (2) {` block...

bug