How do I

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How do I

FDominicus
get the red color from the editor if aa methods gets really long.
Eg I have an initialization of a dictionary with 50 or so elements and
have put them into one method of course it's getting very red.

Anyway it's  just something like this

add: Element
add: anotherElement
....

So no program logic at all just one element added after the other.

I found I can still lint with a pragma, but still the editor is "red"

That really gets on my nerves. So what can I do to stop this
"reddening"?

Regards
Friedrich

Reply | Threaded
Open this post in threaded view
|

Re: How do I

Marcus Denker-4

> On 21 Nov 2014, at 11:03, Friedrich Dominicus <[hidden email]> wrote:
>
> get the red color from the editor if aa methods gets really long.
> Eg I have an initialization of a dictionary with 50 or so elements and
> have put them into one method of course it's getting very red.
>
> Anyway it's  just something like this
>
> add: Element
> add: anotherElement
> ....
>
> So no program logic at all just one element added after the other.
>
> I found I can still lint with a pragma, but still the editor is "red"
>
> That really gets on my nerves. So what can I do to stop this
> "reddening”?
There is a preference
       
        Set the warning limit of source code pane
        By default, the value is 350
        Put a negative value to disable

in the Nautilus category in the settings browser

        Marcus