Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-02

WithSynInfoView

8 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Juha Manninen

Martin,

are you planning to enable the WithSynInfoView feature by default? It is a useful feature and works well.
I know about it because I happened to read your mail about it, and I copied the define "WithSynInfoView" to my Build Lazarus configuration. I bet most Lazarus users don't know about it.

A related question is how to find all defines supported by Lazarus source. Some of them are useful for everyone, some are only for debugging.

Juha

Reply by email

Sven Barth
to Juha Manninen
Juha Manninen wrote 7 lines
Martin, are you planning to enable the WithSynInfoView feature by default? It is a useful feature and works well. I know about it because I happened to read your mail about it, and I copied the define "WithSynInfoView" to my Build Lazarus configuration. I bet most Lazarus users don't know about it.

According to Martin there are still severe performance issues for larger units, so it seems that he wants to solve these first (if I understood that correctly).

A related question is how to find all defines supported by Lazarus source. Some of them are useful for everyone, some are only for debugging.

While we're at it: When will WithSynOverviewGutter be enabled by default? :D

Regards,
Sven

Reply by email

Martin
to Juha Manninen: are you planning to enable the WithSynInfoView feature by default? It is a useful feature…
Juha Manninen wrote 7 lines
Martin, are you planning to enable the WithSynInfoView feature by default? It is a useful feature and works well. I know about it because I happened to read your mail about it, and I copied the define "WithSynInfoView" to my Build Lazarus configuration. I bet most Lazarus users don't know about it.

Yes, I do, but I have a couple of other things at equal prior.

It first needs some fixes:

- It does not follow font, and many other settings
- It still can have noticeable speed impact (so I improved that a lot already / now requires files of 100.000 or more lines to be noted)

A related question is how to find all defines supported by Lazarus source. Some of them are useful for everyone, some are only for debugging.

For SynEdit features:

WithSynOverviewGutter
WithSynInfoView

There are others for assert and debug

Reply by email

Sven Barth
to Martin
Martin wrote 11 lines
On 16/02/2012 16:17, Sven Barth wrote: > >> A related question is how to find all defines supported by Lazarus >> source. >> Some of them are useful for everyone, some are only for debugging. > > While we're at it: When will WithSynOverviewGutter be enabled by > default? :D I thought about that. Yes, all I need is the time to add a checkbox to the IDE options

I already thought that this must be one of the things that's missing ;)

Regards,
Sven

Reply by email

Martin
to Sven Barth
Sven Barth wrote 14 lines
On 16.02.2012 18:50, Martin wrote: > On 16/02/2012 16:17, Sven Barth wrote: >> >>> A related question is how to find all defines supported by Lazarus >>> source. >>> Some of them are useful for everyone, some are only for debugging. >> >> While we're at it: When will WithSynOverviewGutter be enabled by >> default? :D > > I thought about that. Yes, all I need is the time to add a checkbox to > the IDE options I already thought that this must be one of the things that's missing ;)

Well actually, IIRC it has potential speed issues too. Some of the current implementation was prove of concept (so I could test/watch the entire thing).

But currently that will only byte you, if you put a 1000 breakpoints into a unit (not tested the actual number...). That is really not very likely ... So I guess there is no harm in making it avail

Reply by email

Sven Barth
to Martin
Martin wrote 23 lines
On 16/02/2012 20:23, Sven Barth wrote: > On 16.02.2012 18:50, Martin wrote: >> On 16/02/2012 16:17, Sven Barth wrote: >>> >>>> A related question is how to find all defines supported by Lazarus >>>> source. >>>> Some of them are useful for everyone, some are only for debugging. >>> >>> While we're at it: When will WithSynOverviewGutter be enabled by >>> default? :D >> >> I thought about that. Yes, all I need is the time to add a checkbox to >> the IDE options > > I already thought that this must be one of the things that's missing ;) Well actually, IIRC it has potential speed issues too. Some of the current implementation was prove of concept (so I could test/watch the entire thing). But currently that will only byte you, if you put a 1000 breakpoints into a unit (not tested the actual number...). That is really not very likely ... So I guess there is no harm in making it avail

When I put 1000 breakpoints into the unit I believe that I'll have more serious problems... especially at runtime when debugging ^^

Regards,
Sven

Reply by email

Martin
to Juha Manninen: are you planning to enable the WithSynInfoView feature by default? It is a useful feature…
Juha Manninen wrote 8 lines
Martin, are you planning to enable the WithSynInfoView feature by default? It is a useful feature and works well. I know about it because I happened to read your mail about it, and I copied the define "WithSynInfoView" to my Build Lazarus configuration. I bet most Lazarus users don't know about it.

It is now available via config. (Editor / Display / "Class/Proc Hint") I put the default to off. Depending on feedback that may be changed.

The color can be changed (section "Line" in the color tree)

I set the default to keep one foreground color. So if your highlighter has a color for brackets, they will not be colored. If you want them colored, unset the foreground color.

Reply by email