Re: [Lazarus] Lazarus has unique font sizes

2009-08-20 Thread Graeme Geldenhuys
2009/8/20 Chris Kirkpatrick : >> > This is lovely, but we have lost all the Cut, Copy and Paste options from > the popup menu in the box. Oops, that is true. I guess we need to merge the original (default) popup and the new items. Or simply use the keyboard shortcuts which should still work. R

Re: [Lazarus] Lazarus has unique font sizes

2009-08-20 Thread Chris Kirkpatrick
Mattias Gärtner wrote: I added the popup menu item. Mattias This is lovely, but we have lost all the Cut, Copy and Paste options from the popup menu in the box. Regards - Chris -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org h

Re: [Lazarus] Lazarus has unique font sizes

2009-08-17 Thread Hans-Peter Diettrich
Marco van de Voort schrieb: And IMHO documentation should be a totally free asset, including publishing rights. I think the chance is nearly zero to get it with an appopriate license from Embarcadero. All we need is an agreement that the information, as available in the OH files, can be reuse

Re: [Lazarus] Lazarus has unique font sizes

2009-08-17 Thread Hans-Peter Diettrich
Mattias Gärtner schrieb: The other thing that would be nice is a button to include the short description in the long description text. Lazde has this. I often start my long description using the same text as the short description. Normally the long description is shown just below the short de

Re: [Lazarus] Lazarus has unique font sizes

2009-08-17 Thread Marco van de Voort
On Mon, Aug 17, 2009 at 12:08:06PM +0200, Hans-Peter Diettrich wrote: > > BTW: If you run Linux and own a copy of Kylix or maybe have the Kylix > > Open Edition still lying around, you can use it's help directly from > > the Lazarus IDE. I enabled my Kylix 3 help (as described on the wiki). > > I n

Re: [Lazarus] Lazarus has unique font sizes

2009-08-17 Thread Graeme Geldenhuys
Mattias Gärtner wrote: I didn't know that the unit description tags use the same format as the elements. Ok, now you can edit it in the fpdoc editor. Excellent, it works nicely now. Thanks! Maybe add a new button as indicated in the attached image. But I think an even better option will

Re: [Lazarus] Lazarus has unique font sizes

2009-08-17 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: First of all: Take a look in the wiki log and you will see that every day things are updated or added. That's no excuse for the absence of a compact general documentation or help on all classes, properties and methods. The interfaces don't change so often, or cannot b

Re: [Lazarus] Lazarus has unique font sizes

2009-08-17 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys : Mattias Gärtner wrote: One thing the internal fpdoc editor editor cannot do is document a unit description. Make a proposal. Here is an example.[...] == String tokenizer library The TToken tokenizer is extremely

Re: [Lazarus] Lazarus has unique font sizes

2009-08-17 Thread Graeme Geldenhuys
Mattias Gärtner wrote: One thing the internal fpdoc editor editor cannot do is document a unit description. Make a proposal. Here is an example. The tiTokenLibrary.pas unit documentation. You cannot edit this with lazde or the internal fpdoc editor. I have to manually edit this is the xml

Re: [Lazarus] Lazarus has unique font sizes

2009-08-17 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys : Felipe Monteiro de Carvalho wrote: On Sun, Aug 16, 2009 at 12:40 PM, Mattias Gaertner wrote: What about the fpdoc editor? Never used it, I'll try next time I edit help files The internal fpdoc editor is very nice and doesn't reformat the xml file. Only down

Re: [Lazarus] Lazarus has unique font sizes

2009-08-17 Thread Graeme Geldenhuys
Felipe Monteiro de Carvalho wrote: On Sun, Aug 16, 2009 at 12:40 PM, Mattias Gaertner wrote: What about the fpdoc editor? Never used it, I'll try next time I edit help files The internal fpdoc editor is very nice and doesn't reformat the xml file. Only down side is that the internal fpdoc

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Felipe Monteiro de Carvalho
On Sun, Aug 16, 2009 at 12:40 PM, Mattias Gaertner wrote: > What about the fpdoc editor? Never used it, I'll try next time I edit help files -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.l

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Chris Kirkpatrick
Graeme Geldenhuys wrote: 2009/8/16 Mattias Gaertner : fpdoc is for sources, not for arbitrary help. Well the current IDE help in the wiki is very basic and very easily duplicated in fpdoc. Whatever fpdoc doesn't support, I am sure it wouldn't be to hard to add that extra functionali

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Graeme Geldenhuys
2009/8/16 Mattias Gaertner : > > fpdoc is for sources, not for arbitrary help. Well the current IDE help in the wiki is very basic and very easily duplicated in fpdoc. Whatever fpdoc doesn't support, I am sure it wouldn't be to hard to add that extra functionality. At least that way we can have P

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Graeme Geldenhuys
2009/8/16 Hans-Peter Diettrich : > >> First of all: Take a look in the wiki log and you will see that every >> day things are updated or added. > > That's no excuse for the absence of a compact general documentation or > help on all classes, properties and methods. The interfaces don't change > so

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Mattias Gaertner
On Sun, 16 Aug 2009 23:34:20 +0200 Graeme Geldenhuys wrote: > 2009/8/16 Mattias Gaertner : > > Editing the wiki is as easy as editing a text file. > > > > Why couldn't the Lazarus IDE help be in fpdoc format? That way we > could use the 'lazdoc' editor, or maybe even use the internal fpdoc > edi

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Graeme Geldenhuys
2009/8/16 Mattias Gaertner : > Editing the wiki is as easy as editing a text file. > Why couldn't the Lazarus IDE help be in fpdoc format? That way we could use the 'lazdoc' editor, or maybe even use the internal fpdoc editor in some way. Why only online help? Regards, - Graeme - ___

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Lord Satan
On Sun, 16 Aug 2009 17:50:47 +0200 Hans-Peter Diettrich wrote: > That's no excuse for the absence of a compact general documentation or > help on all classes, properties and methods. > All contributions should be verified, by people with according > knowledge, i.e. the implementors in the firs

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: First of all: Take a look in the wiki log and you will see that every day things are updated or added. That's no excuse for the absence of a compact general documentation or help on all classes, properties and methods. The interfaces don't change so often, or cannot b

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: Editing the wiki is as easy as editing a text file. That doesn't explain why it isn't used by those people, that implement Lazarus and have all knowledge about what they did :-( DoDi -- ___ Lazarus mailing list Lazarus@

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Chris Kirkpatrick
Mattias Gaertner wrote: What about the fpdoc editor? Mattias This thread seems to have changed into one that discusses the provision of Help for Lazarus, so I'm going to start a new thread. I am currently trying systematically to produce documentation for all the classes in the LCL,

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Mattias Gaertner
On Sun, 16 Aug 2009 16:41:01 +0100 Howard Page-Clark wrote: > On Sun, 16 Aug 2009 17:02:07 +0200 > Jürgen Hestermann wrote: > > > > See here for some more types of help > > > http://wiki.lazarus.freepascal.org/Creating_IDE_Help > > > > I just tried to compile lazde but got the following messag

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Howard Page-Clark
On Sun, 16 Aug 2009 17:02:07 +0200 Jürgen Hestermann wrote: > > See here for some more types of help > > http://wiki.lazarus.freepascal.org/Creating_IDE_Help > > I just tried to compile lazde but got the following messages: > > -- > windre

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Mattias Gaertner
On Sun, 16 Aug 2009 12:04:37 -0300 Felipe Monteiro de Carvalho wrote: > I usually edit the xml files by hand, because lazde does some changes > in the xml which make it hard to see in the diff what I actually > modified. What about the fpdoc editor? Mattias --

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Felipe Monteiro de Carvalho
I usually edit the xml files by hand, because lazde does some changes in the xml which make it hard to see in the diff what I actually modified. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://list

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Jürgen Hestermann
Make sure and write down, what you know. Editing the wiki is as easy as editing a text file. See here for some more types of help http://wiki.lazarus.freepascal.org/Creating_IDE_Help I just tried to compile lazde but got the following messages:

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Mattias Gaertner
On Sun, 16 Aug 2009 12:41:54 +0200 Jürgen Hestermann wrote: > >> That's true. But the first step should be to have a usable help at > >> all. If that's available it should not be too hard to compile it > >> for offline use somehow. > > Can you help Chris Kirkpatrick to improve it? > > I would l

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Jürgen Hestermann
That's true. But the first step should be to have a usable help at all. If that's available it should not be too hard to compile it for offline use somehow. Can you help Chris Kirkpatrick to improve it? I would like to but I need the help myself first ;-) How could I document what I don't know

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Mattias Gaertner
On Sun, 16 Aug 2009 11:34:21 +0200 Jürgen Hestermann wrote: > >> Should we say: "Learn Delphi first, then come back here?" :) > > That's the current state. Without the Delphi documentation and OH > > every newcomer to Lazarus is definitely lost :-( > > That would be a guideline if it worked. But

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Paul Ishenin
Jürgen Hestermann wrote: That's true. But the first step should be to have a usable help at all. If that's available it should not be too hard to compile it for offline use somehow. Can you help Chris Kirkpatrick to improve it? Best regards, Paul Ishenin. -- __

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Jürgen Hestermann
Help should at least be available in a offline format. I often work at home in a offline state and I am sure I am not the only one that doesn't have a "always on" internet connection. That's true. But the first step should be to have a usable help at all. If that's available it should not be t

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Graeme Geldenhuys
2009/8/16 Jürgen Hestermann : > forum if in doubt. That's not a satisfiable situation but as long as noone > hast the time (and knowledge) to update the Lazarus help it seems > unavoidable. Not to mention the major problem with Lazarus IDE help. It's only in wiki form, and only available online. H

Re: [Lazarus] Lazarus has unique font sizes

2009-08-16 Thread Jürgen Hestermann
Should we say: "Learn Delphi first, then come back here?" :) That's the current state. Without the Delphi documentation and OH every newcomer to Lazarus is definitely lost :-( That would be a guideline if it worked. But the problem is, that you cannot rely on the Delphi documentation when usin

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Marc Weustink
Graeme Geldenhuys wrote: Marc Weustink wrote: I admit a little explenation would help since it is not so trivial. Thanks for the explanation - definitely not a "general knowledge" thing. Searching in Google I found no mention of this in any other GUI toolkits or IDE's - so I gather this is

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Sergei Gorelkin
Mattias Gaertner wrote: Please create a bug report. Done: http://bugs.freepascal.org/view.php?id=14357 Sergei -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Mattias Gaertner
On Sat, 15 Aug 2009 16:34:32 +0200 Hans-Peter Diettrich wrote: > dmitry boyarintsev schrieb: > > > What about newcomers? > > Should we say: "Learn Delphi first, then come back here?" :) > > That's the current state. Without the Delphi documentation and OH > every newcomer to Lazarus is definite

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: Does anybody else excluding Paul know what negative fonts sizes mean? Please answer, I would like to know if I missed something major in my 15+ years of working as a developer. AFAIR the positive and negative values reflect the inclusion and exclusion of the "exter

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Hans-Peter Diettrich
dmitry boyarintsev schrieb: What about newcomers? Should we say: "Learn Delphi first, then come back here?" :) That's the current state. Without the Delphi documentation and OH every newcomer to Lazarus is definitely lost :-( Lazarus has been breaking Delphi backward-compatibility for a l

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread theo
I think it should be like this in Delphi: Since size and height change the same value with a slightly different meaning (PPI) whichever value was set, the other one is rounded and gets a negative value. If you set size you should get a negative height and vice versa. -- _

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Mattias Gaertner
On Sat, 15 Aug 2009 20:56:47 +0400 Sergei Gorelkin wrote: > Michael Van Canneyt wrote: > > > > User, yes. programmer: no. > > > > As I understood it, the difference is as follows: > > - Setting size selects the point size of the font, no matter what > > the DPI is. > > - Setting height sets the

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Martin
Michael Van Canneyt wrote: On Sat, 15 Aug 2009, Graeme Geldenhuys wrote: Michael Van Canneyt wrote: Am I missing something ? Yes, why is it an option in the first place? No other application asks the user for the Font Size or Font Height. If the one can be calculated from the other, the

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Jürgen Hestermann
- Setting size selects the point size of the font, no matter what the DPI is. - Setting height sets the pixel size of the font, and then the correct point size is calculated (using DPI) so the height is reached. So it does work the following way: 2.) If I use positive values, it's just the n

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Sergei Gorelkin
Michael Van Canneyt wrote: User, yes. programmer: no. As I understood it, the difference is as follows: - Setting size selects the point size of the font, no matter what the DPI is. - Setting height sets the pixel size of the font, and then the correct point size is calculated (using DPI)

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Graeme Geldenhuys
Michael Van Canneyt wrote: As I understood it, the difference is as follows: - Setting size selects the point size of the font, no matter what the DPI is. - Setting height sets the pixel size of the font, and then the correct point size is calculated (using DPI) so the height is reached.

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Michael Van Canneyt
On Sat, 15 Aug 2009, Graeme Geldenhuys wrote: Michael Van Canneyt wrote: Am I missing something ? Yes, why is it an option in the first place? No other application asks the user for the Font Size or Font Height. If the one can be calculated from the other, then just give us the ONE norma

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Graeme Geldenhuys
Michael Van Canneyt wrote: Am I missing something ? Yes, why is it an option in the first place? No other application asks the user for the Font Size or Font Height. If the one can be calculated from the other, then just give us the ONE normal option - Font Size. Anything else is just confu

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Michael Van Canneyt
On Sat, 15 Aug 2009, Graeme Geldenhuys wrote: Vincent Snijders wrote: Google found for me http://support.microsoft.com/kb/32667 It is not Delphi specific, but has windows roots. I still don't know how they got to negative font height idea. The Xlib and Xft font metrics documentation, and

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Graeme Geldenhuys
Vincent Snijders wrote: Google found for me http://support.microsoft.com/kb/32667 It is not Delphi specific, but has windows roots. I still don't know how they got to negative font height idea. The Xlib and Xft font metrics documentation, and various other docs on the net, defines font heig

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Graeme Geldenhuys
Marc Weustink wrote: I admit a little explenation would help since it is not so trivial. Thanks for the explanation - definitely not a "general knowledge" thing. Searching in Google I found no mention of this in any other GUI toolkits or IDE's - so I gather this is a Delphi VCL specific thin

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Vincent Snijders
Graeme Geldenhuys schreef: Jürgen Hestermann wrote: Does anybody else excluding Paul know what negative fonts sizes mean? I would like to know that too. I also don't have any idea what negative font sizes could mean. Ok, that could be due to the fact that I havened used Delphi heavily and I

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Graeme Geldenhuys
Jürgen Hestermann wrote: Does anybody else excluding Paul know what negative fonts sizes mean? I would like to know that too. I also don't have any idea what negative font sizes could mean. Ok, that could be due to the fact that I havened used Delphi heavily and I am just beginning with Lazar

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Marc Weustink
Jürgen Hestermann wrote: Does anybody else excluding Paul know what negative fonts sizes mean? I admit a little explenation would help since it is not so trivial. A positive fontsize is the size of a font in points A negative fontsize is the size of a font in points including the internal le

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Jürgen Hestermann
Does anybody else excluding Paul know what negative fonts sizes mean? I admit a little explenation would help since it is not so trivial. A positive fontsize is the size of a font in points A negative fontsize is the size of a font in points including the internal leading at the top of the li

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Marc Weustink
Jürgen Hestermann wrote: Does anybody else excluding Paul know what negative fonts sizes mean? I would like to know that too. I also don't have any idea what negative font sizes could mean. Ok, that could be due to the fact that I havened used Delphi heavily and I am just beginning with Lazar

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Jürgen Hestermann
Does anybody else excluding Paul know what negative fonts sizes mean? I would like to know that too. I also don't have any idea what negative font sizes could mean. Ok, that could be due to the fact that I havened used Delphi heavily and I am just beginning with Lazarus. But even using help o

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Graeme Geldenhuys
Paul Ishenin wrote: See attached screenshot. Lazarus is not a tool for any user - it is a tool only for programmers. Just because there is an inner technical reason for something, does not mean that needs to be reflected in the user interface. As an ex-delphi programmer you should know a di

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread dmitry boyarintsev
> Lazarus is not a tool for any user - it is a tool only for programmers. As > an ex-delphi programmer you should know a difference between negative and > positive font sizes. What about newcomers? Should we say: "Learn Delphi first, then come back here?" :) Lazarus has been breaking Delphi backwa

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Paul Ishenin
Graeme Geldenhuys wrote: Hi, This is a classic case of seeing a problem for so long that later you don't even realize it is there. In all my years of working on computers, Lazarus is the *only* program that specifies font sizes as a negative values. Why? No other GTK2 application shows font

[Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Graeme Geldenhuys
Hi, This is a classic case of seeing a problem for so long that later you don't even realize it is there. In all my years of working on computers, Lazarus is the *only* program that specifies font sizes as a negative values. Why? No other GTK2 application shows font sizes as negative values.