Recent

Author Topic: Lazarus doesn't show up line numbering  (Read 4618 times)

Al3

  • New Member
  • *
  • Posts: 28
Lazarus doesn't show up line numbering
« on: January 09, 2016, 03:20:39 am »
New to the IDE and to the language itself so I am probably missing something stupid.

So I modded it a bit to fit my environment taste. Also installed the Anchor Docking plug-in.
I didn't specifically noticed when exactly the line numbering disappeared, but as you can see in the picture I attached, it evidently doesn't show up. Line numbering option is always marked.

What I also tried is to undock, reposition, enable all kinds of margins and gutters from the Display section..

What is wrong with the line numbers why would they not appear ?

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12184
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus doesn't show up line numbering
« Reply #1 on: January 09, 2016, 03:36:08 am »
you are missing the entire "gutter"

In tools > options > editor > display : "visible gutter"

Al3

  • New Member
  • *
  • Posts: 28
Re: Lazarus doesn't show up line numbering
« Reply #2 on: January 09, 2016, 03:40:26 am »
you are missing the entire "gutter"

In tools > options > editor > display : "visible gutter"

I think I said that I already tried making the gutter visible and it didn't work.

Quote
What I also tried is to undock, reposition, enable all kinds of margins and gutters from the Display section..

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12184
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus doesn't show up line numbering
« Reply #3 on: January 09, 2016, 03:52:08 am »
Your new picture shows the gutter.

If line numbers are checked, then maybe they have the same fore and background color?

Otherwise there must be a bug causing something to go wrong. But the entire gutter/linenum is in synedit. So as long as the settings are passed on.....

---------
backup and remove the primary-config (lazarus folder in user doc and settings, or app settings of your os / .lazarus on linux)

Al3

  • New Member
  • *
  • Posts: 28
Re: Lazarus doesn't show up line numbering
« Reply #4 on: January 09, 2016, 04:06:50 am »
Your new picture shows the gutter.

If line numbers are checked, then maybe they have the same fore and background color?

Otherwise there must be a bug causing something to go wrong. But the entire gutter/linenum is in synedit. So as long as the settings are passed on.....

---------
backup and remove the primary-config (lazarus folder in user doc and settings, or app settings of your os / .lazarus on linux)

They are. Trying is the less effort than posting in forums. Otherwise I wouldn't concern anyone with such problems.

However, this isn't a bug. I would rather call it inconvenience. I mean the IDE is very nice, I like it, but as it appears I fond this as a decent problem.
Changing the foreground color (Which I thought only changes the editor's text foreground color) also changes the line numbers color.
I don't think that's how it should be as the line numbering margin must be separate from the text editor. Moreover it is a bit unhandy to not be able to specify their color separately.
It differs from most of the IDEs and I think it is understandable for one to mess up, because of it. But that's just my recommendation.

Thanks for giving me the idea, I solved the problem and now I will just continue using it happily.


EDIT
I saw settings specific to the gutter. Changing just the foreground (if gutter unmodified) changes the colors of the line numbers too. Still that kind of weird.
« Last Edit: January 09, 2016, 04:14:57 am by Al3 »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12184
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus doesn't show up line numbering
« Reply #5 on: January 09, 2016, 04:23:09 am »
Colors have sort of an inheritance.

"Default text" is used for all text, unless that text has an active different setting (that is why there is a checkbox/"not modifed" for each color).

It is debatable if the gutter should really follow this by default, or if it should have its on setting active by default.

Al3

  • New Member
  • *
  • Posts: 28
Re: Lazarus doesn't show up line numbering
« Reply #6 on: January 09, 2016, 04:27:04 am »
Colors have sort of an inheritance.

"Default text" is used for all text, unless that text has an active different setting (that is why there is a checkbox/"not modifed" for each color).

It is debatable if the gutter should really follow this by default, or if it should have its on setting active by default.

Mhm. I think it just depends on the end user and it is more like "It shouldn't" if the user is porting from another IDE he is used to.
I am very critical when it comes to IDEs (started writing my own specifically for C, written in C and GTK+), but that one actually.. seems to have all I need for the imminent.
It startups fast, seems bug-free and is very customizable.
I think it would be good if it had current line highlighting, because the caret might blink, but it is harder to locate it if you are a rush.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12184
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus doesn't show up line numbering
« Reply #7 on: January 09, 2016, 12:33:47 pm »
Lazarus has current line highlight (not in the gutter, but in the text area).

You just need to set the color you want.

You can even specify that it should mix/fade with other colors, such as block-selection or the breakpoint-red-background. And if it does not mix you can set the priority to indicate which one to show.

Al3

  • New Member
  • *
  • Posts: 28
Re: Lazarus doesn't show up line numbering
« Reply #8 on: January 09, 2016, 05:14:28 pm »
I saw that.

Sorry for me being so inadaptive.
Still new to the whole thing and for the sake of wonderment, my expectations were not even close to the potential expertise of the program.

I also work as a software CNS (detailed Code Review and software assay).
Would take a lot to full review programs such as IDEs as they depend on a lot, are usually large and remotely related to 3rd parties. Videlicet there is just a lot to review in order to give it a full review and assay.
I might review it in the near future and assay it as well (I am well aware it is allowed by the license code)
But I always ask for permission from first point into consideration.

Also, is there paypal email / donate button for me to donate this week ?

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12184
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus doesn't show up line numbering
« Reply #9 on: January 09, 2016, 05:33:28 pm »
Any feedback (or review or other) is welcome.

Also, is there paypal email / donate button for me to donate this week ?

Left hand site, above the "bookstore"

Al3

  • New Member
  • *
  • Posts: 28
Re: Lazarus doesn't show up line numbering
« Reply #10 on: January 09, 2016, 06:30:27 pm »
Thanks. I will keep the link open until then.
To not forget to donate.

Well things with CNS review go really advanced.
If professionally, out of debate, I'd require carte blanche "open actions" so that I will use R/E and debug tools to lookup source code structure, find obvious bugs, valgrind leaks. If a program is written in C I usually use C decompiler and it simplifies it tremendously, otherwise, asm in such amount is pain for reading.
This program doesn't look like using the GNOME graphical environment, neither QT.
More like .NET but rather unlikely as it isn't slow ( lol )
Since it obviously isn't networking app, complementary security/vuln tests are skipped, but performance, interference and variety of different bug tests as well as statistical (by virtue if product exponential growth) estimates, user-friendliness et cetera..

I can take on it on a free will so long as I continue using it (Which is the idea).
Think of it as kind of ..donation. (Although, it is clearly a donation).

My site is kind of broken..
There I used to list all kind of software by category, sorted by overall rating.
It was quite popular in the past two years, 7% more purchases on the top-rated as far as I recall.
So besides that, I will keep it in mind and the review files are still useful for the program's improvement.

 

TinyPortal © 2005-2018