Re: [Lazarus] [FEATURE REQUEST] Source Editor: jump to the marked line by clicking on it

2016-04-14 Thread Michael Van Canneyt



On Thu, 14 Apr 2016, Alan Corey wrote:


It would be nice if these marks could accept clicks, allowing the
programmer to jump to the marked line just by clicking on it.



I thought in Delphi you could double-click on an error message to jump
to the line where it was, but maybe I misremembered.



You can. and in lazarus too. this is about the right gutter of the source
editor.

Michael.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [FEATURE REQUEST] Source Editor: jump to the marked line by clicking on it

2016-04-14 Thread Alan Corey
> It would be nice if these marks could accept clicks, allowing the
> programmer to jump to the marked line just by clicking on it.
>

I thought in Delphi you could double-click on an error message to jump
to the line where it was, but maybe I misremembered.

-- 
Credit is the root of all evil.  - AB1JX

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [FEATURE REQUEST] Source Editor: jump to the marked line by clicking on it

2016-04-14 Thread Michael Van Canneyt



On Thu, 14 Apr 2016, Ondrej Pokorny wrote:


On 14.04.2016 17:22, silvioprog wrote:
The new Source Editor shows small marks as illustrated in the attached 
picture. These marks are put in the exactly source line when it has 
warning, hints, errors, notes etc. However, in the current trunk version, 
you need to roll the scrollbar to go to the marked line.


It would be nice if these marks could accept clicks, allowing the 
programmer to jump to the marked line just by clicking on it.


Is anybody interested in this feature too? If so, I can issue it at 
bugtracker.


Looks like a nice enhancement. You are welcome to take initiative :)


Absolutely. I was surprised to find it wasn't so to begin with :-)

Michael.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [FEATURE REQUEST] Source Editor: jump to the marked line by clicking on it

2016-04-14 Thread silvioprog
On Thu, Apr 14, 2016 at 12:27 PM, Ondrej Pokorny  wrote:

> On 14.04.2016 17:22, silvioprog wrote:
>
>> The new Source Editor shows small marks as illustrated in the attached
>> picture. These marks are put in the exactly source line when it has
>> warning, hints, errors, notes etc. However, in the current trunk version,
>> you need to roll the scrollbar to go to the marked line.
>>
>> It would be nice if these marks could accept clicks, allowing the
>> programmer to jump to the marked line just by clicking on it.
>>
>> Is anybody interested in this feature too? If so, I can issue it at
>> bugtracker.
>>
>
> Looks like a nice enhancement. You are welcome to take initiative :)


Great! :-)

Done: #30012 .

-- 
Silvio Clécio
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [FEATURE REQUEST] Source Editor: jump to the marked line by clicking on it

2016-04-14 Thread Ondrej Pokorny

On 14.04.2016 17:22, silvioprog wrote:
The new Source Editor shows small marks as illustrated in the attached 
picture. These marks are put in the exactly source line when it has 
warning, hints, errors, notes etc. However, in the current trunk 
version, you need to roll the scrollbar to go to the marked line.


It would be nice if these marks could accept clicks, allowing the 
programmer to jump to the marked line just by clicking on it.


Is anybody interested in this feature too? If so, I can issue it at 
bugtracker.


Looks like a nice enhancement. You are welcome to take initiative :)

Ondrej

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] [FEATURE REQUEST] Source Editor: jump to the marked line by clicking on it

2016-04-14 Thread silvioprog
Hello,

The new Source Editor shows small marks as illustrated in the attached
picture. These marks are put in the exactly source line when it has
warning, hints, errors, notes etc. However, in the current trunk version,
you need to roll the scrollbar to go to the marked line.

It would be nice if these marks could accept clicks, allowing the
programmer to jump to the marked line just by clicking on it.

Is anybody interested in this feature too? If so, I can issue it at
bugtracker.

Thank you!

-- 
Silvio Clécio
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] cannot show Code Explorer in new Lazarus 1.7

2016-04-14 Thread Mattias Gaertner
On Thu, 14 Apr 2016 18:21:54 +0800
Dennis  wrote:

> I have some silly questions.
> I recently upgraded to FPC 3 + Lazarus 1.7 but the interface is 
> different from Lazarus 1.4.
> 1) now, there is only 1 window instead of separate window for Editor, 
> inspector , Code Explorer, etc. Can I change it back to the old style?

If you have anchordockingdsgn installed, uninstall it.

> 2) I cannot show the Code Explorer. Clicking Menu->View->Code Explorer 
> has no effect.

Maybe it is on another screen. Check Window / Center a lost Window.

> 3) Menu->Source->JEDI Code Format (Formatter) is missing. How can I get 
> it back?

Install the package jcfidelazarus.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] cannot show Code Explorer in new Lazarus 1.7

2016-04-14 Thread Dennis

I have some silly questions.
I recently upgraded to FPC 3 + Lazarus 1.7 but the interface is 
different from Lazarus 1.4.
1) now, there is only 1 window instead of separate window for Editor, 
inspector , Code Explorer, etc. Can I change it back to the old style?
2) I cannot show the Code Explorer. Clicking Menu->View->Code Explorer 
has no effect.
3) Menu->Source->JEDI Code Format (Formatter) is missing. How can I get 
it back?


Dennis
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] PDF generator: please test

2016-04-14 Thread Graeme Geldenhuys
On 2016-04-14 00:04, Ondrej Pokorny wrote:
> You've got a bug in the font height functions. They must not be scaled 
> with ToNatural.

Well done Ondrey, you are indeed correct. Amazing, because the example
code I posted was tested with four other fonts. Incidently they all had
the same UnitsPerEm, so the issue went unnoticed.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus