Lazarus

Using the Lazarus IDE => Editor => Topic started by: apexcol on March 04, 2018, 09:34:31 am

Title: Better look for coding
Post by: apexcol on March 04, 2018, 09:34:31 am
Hi, I think we could make a little change on the IDE look inside the editor for better reading... Solid lines are visually annoying compared to dotted lines.  Here's a comparison with Notepad++.
Title: Re: Better look for coding
Post by: taazz on March 04, 2018, 09:48:01 am
change the colors to something darker and the annoyance factor will go down
Title: Re: Better look for coding
Post by: apexcol on March 04, 2018, 09:52:37 am
Nope, it doesn't let me change colors in this way... look at the Options Dialog Box and you'll see...

Besides, if you take a closer look, if I could change the color of the lines only, the words also would be darker, so there's no solution... :(
Title: Re: Better look for coding
Post by: taazz on March 04, 2018, 09:54:44 am
Nope, it doesn't let me change colors in this way... look at the Options Dialog Box and you'll see...
sorry I'm on lazarus 1.4.4 at the foreseeable future I'll need to clean some disc space before installing 1.8.X so I'll let some one else address this issue for now.
Title: Re: Better look for coding
Post by: Martin_fr on March 04, 2018, 12:50:20 pm
There are more options planed on the long run...
Title: Re: Better look for coding
Post by: Blaazen on March 04, 2018, 01:54:19 pm
Nope, it doesn't let me change colors in this way... look at the Options Dialog Box and you'll see...

Besides, if you take a closer look, if I could change the color of the lines only, the words also would be darker, so there's no solution... :(
You already can change colors in trunk (1.9). However, lines and words have the same color. It's not big problem with light themes but it's annoying with your dark theme, I can see.
Title: Re: Better look for coding
Post by: taazz on March 04, 2018, 02:13:46 pm
I suggest you stop colouring the "words" or at least make it optional, the lines are strong enough.
Title: Re: Better look for coding
Post by: apexcol on March 05, 2018, 07:43:42 am
If you can see, I didn't put the colors of the words, I use dark themes because I want to work without getting tired my eyes.  Despite of all, I think it must be only changing a few lines of code inside the IDE.  I think there are more people like me that want's to improve the Lazarus project, but I don't know where to change it to recompile it and enjoy the benefits.

So instead of criticizing... let's be more proactive!!!  ;D
Title: Re: Better look for coding
Post by: taazz on March 05, 2018, 08:03:31 am
If you can see, I didn't put the colors of the words, I use dark themes because I want to work without getting tired my eyes.  Despite of all, I think it must be only changing a few lines of code inside the IDE.  I think there are more people like me that want's to improve the Lazarus project, but I don't know where to change it to recompile it and enjoy the benefits.

So instead of criticizing... let's be more proactive!!!  ;D
well just for this I uninstalled 1.6.4 cleaned up unused controls installed 1.8.2 and lo and behold, it does not show any lines by default. Now, until I find some more time to search the options and included addins to enable the "lines", I suggest you search your installation for other settings and what they do, for example in the options dialog in the editor\display\colors leaf there is a group of 10 colors, named, outline colors. As for the "do not color the words" comment, is for the developers of the addin not you.
Title: Re: Better look for coding
Post by: apexcol on March 05, 2018, 08:19:07 am
Dear friend, believe me when I say that I tried all the colors, and the problem is not on the colors, the problem is on the line styles... they are solid, and I wish I could put them dotted like in Notepad++  %)
Title: Re: Better look for coding
Post by: JanRoza on March 05, 2018, 08:43:23 am
Not everyone has problems with solid lines and colors, I for one like the feature as it is now.
So if any changes should be made make them optional otherwise others will start complaining.  :)
Title: Re: Better look for coding
Post by: WooBean on March 05, 2018, 08:44:10 am
Dear friend, believe me when I say that I tried all the colors, and the problem is not on the colors, the problem is on the line styles... they are solid, and I wish I could put them dotted like in Notepad++  %)

I have no experience in Lazarus 1.8.2 code structure highlighting but I am quite familiar with such a feature from CnPack addon intalled in Delphi IDE (you can manually set up here every aspect of code highlighting). I think that colouring code words and using solid lines for syntax is a very well chosen strategy. Solid lines (with width=1 !!!) are better than any other choice. BTW, attached example of screen from Lazarus 1.8.2 IDE seems to have lines more fat (width=2?).

Just opinion,
WooBean
Title: Re: Better look for coding
Post by: guest58172 on March 05, 2018, 08:49:31 am
There are more options planed on the long run...

TSynEditMarkupFoldColors is not usable with anything else than Pascal like languages. I admit that it's quite smart and good looking with Pascal but results were not good at all when i tried with my Dlang highlighter (C-like). But i don't complain since actually i may use ATSynEdit in a near future.
Title: Re: Better look for coding
Post by: apexcol on March 05, 2018, 09:24:09 am
So as I must understand... JanRoza says his oppinion and likes are more important than others?

I think we must be more humble and understand that others' opinion also can be taken into account.

Maybe this suggestion (the dotted one) is so difficult to implement?  Or maybe there are lazy people around?
Title: Re: Better look for coding
Post by: taazz on March 05, 2018, 10:14:52 am
Dear friend, believe me when I say that I tried all the colors, and the problem is not on the colors, the problem is on the line styles... they are solid, and I wish I could put them dotted like in Notepad++  %)
No you did not, I found and enabled the structural outline in 1.8.2 and I can attest that changing the colours under the outline colors group does affect the colour of the lines and the words, the only thing left for the developers to add is a choice to not change the colour of the keywords.
Title: Re: Better look for coding
Post by: apexcol on March 05, 2018, 10:45:37 am
Taaz, the problem is not the colors, the problem is the solid lines, how can I change to dotted lines?
Title: Re: Better look for coding
Post by: taazz on March 05, 2018, 11:19:07 am
Taaz, the problem is not the colors, the problem is the solid lines, how can I change to dotted lines?
its not enough it will still be to strong.
Title: Re: Better look for coding
Post by: apexcol on March 05, 2018, 11:24:25 am
Ok, mister Dictator...
Title: Re: Better look for coding
Post by: Pascal on March 05, 2018, 11:45:03 am
As Martin already said: There are more options to come.

The attached patch changes the linestyle do dotted. Please try.

Title: Re: Better look for coding
Post by: Zath on March 05, 2018, 11:47:36 am
I think apexcol is right with regard to the solid lines. They are quite overwhelming as bold lines.
If its a colourscheme change, why does the line style change ?
White can be hard work after many hours looking at the screen but so will those lines  %)
Title: Re: Better look for coding
Post by: Pascal on March 05, 2018, 11:56:35 am
You can also try Solarized color schemes:
Title: Re: Better look for coding
Post by: Thaddy on March 05, 2018, 12:15:59 pm
Or blurred..
Title: Re: Better look for coding
Post by: Pascal on March 07, 2018, 07:59:03 pm
Or blurred..
%)

@apexcol: Did you try the patch? And does it help you?
Title: Re: Better look for coding
Post by: metis on April 23, 2018, 04:08:56 pm
@taazz

Quote
the only thing left for the developers to add is a choice to not change the colour of the keywords.

I agree with You.  ;)
Title: Re: Better look for coding
Post by: edgarrod71 on March 21, 2023, 05:27:58 am
@Pascal Yes, thank you!!!
TinyPortal © 2005-2018