[Lazarus] Double click is needed to select/deselect item's checkbox in listview with checkboxes

2009-11-05 Thread And3mD
Hello I made some tests about issue 13932 http://bugs.freepascal.org/view.php?id=13932 - Windows XP - everything works ok - Windows Vista 32bit Home Premium - I need 2 or sometimes 4 clicks to change checkboxes state Can anyone acknowledge? I can't change issue status, and I don't want

Re: [Lazarus] Double click is needed to select/deselect item's checkbox in listview with checkboxes

2009-11-05 Thread Martin
Yes, I can reproduce this here (under Vista). I didn't get the need for 4 clicks though And3mD wrote: Hello I made some tests about issue 13932 http://bugs.freepascal.org/view.php?id=13932 - Windows XP - everything works ok - Windows Vista 32bit Home Premium - I need 2 or sometimes 4 clicks

Re: [Lazarus] Double click is needed to select/deselect item's checkbox in listview with checkboxes

2009-11-05 Thread And3mD
You are right, I tested with another mouse, only double clicks needed to change checkboxes state. Hardware problem with 4 clicks :) Dnia 05-11-2009 o 21:13:21 Martin laza...@mfriebe.de napisał(a): Yes, I can reproduce this here (under Vista). I didn't get the need for 4 clicks though

Re: [Lazarus] region [elastic tabs [Re: Auto indentation]]

2009-11-05 Thread Hans-Peter Diettrich
Martin schrieb: For section heading {%region} {%endregion} is usefull = since it allows folding Such verbose formatting is unusable, for several reasons: - it is bound to an special editor - it is imposed on every user - it must be maintained manually - it is pure overhead DoDi --

Re: [Lazarus] Delphi editor clone

2009-11-05 Thread Hans-Peter Diettrich
Martin schrieb: Please have a look at examples/dockmanager/elasticsite/SiteTest project. It demonstrates how docking could work in the Lazarus IDE, and how multiple editor windows could be implemented. Does not work with fpc trunk

Re: [Lazarus] Auto indentation

2009-11-05 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: With the new synedit OnPaste event I will try to fix the indent on paste. IMO you should rethink the handling of insertion/deletion. A single Replace(start, delta, text) method can handle every case, with positive deltas meaning insertion and negative deltas

Re: [Lazarus] Auto indentation

2009-11-05 Thread Hans-Peter Diettrich
waldo kitty schrieb: for me, the TAB is to move from field to field in a spread sheet or database... that's the way i was taught and have worked for 30+ years... You should distinguish between updating text and navigation. Tab *characters* are inserted into the text, while the tab *key* is

Re: [Lazarus] region [elastic tabs [Re: Auto indentation]]

2009-11-05 Thread Martin
Hans-Peter Diettrich wrote: Martin schrieb: For section heading {%region} {%endregion} is usefull = since it allows folding Such verbose formatting is unusable, for several reasons: - it is bound to an special editor - it is imposed on every user - it must be maintained manually - it is pure

Re: [Lazarus] Delphi editor clone

2009-11-05 Thread Martin
Hans-Peter Diettrich wrote: Martin schrieb: Please have a look at examples/dockmanager/elasticsite/SiteTest project. It demonstrates how docking could work in the Lazarus IDE, and how multiple editor windows could be implemented. Does not work with fpc trunk

Re: [Lazarus] Auto indentation

2009-11-05 Thread Martin
Hans-Peter Diettrich wrote: Mattias Gaertner schrieb: With the new synedit OnPaste event I will try to fix the indent on paste. IMO you should rethink the handling of insertion/deletion. A single Replace(start, delta, text) method can handle every case, with positive deltas meaning

Re: [Lazarus] Delphi editor clone

2009-11-05 Thread Hans-Peter Diettrich
Martin schrieb: All fine and good. But it doesn't help, unless you convince the fpc developers. Right :-( Eventually the new Version of FPC will be used, and eventually all code has to be able to be compiled with it I have several suggestions: - apply the new rules only in $mode

Re: [Lazarus] Auto indentation

2009-11-05 Thread Jürgen Hestermann
And that's something *I* don't like. You never know which END belongs to wheach BEGIN. I always column align all ENDs to their corresponding BEGINs. You missed the second part of my argumentation. I'm thinking in the superior Modula syntax, that does not require begin-end pairs around

Re: [Lazarus] Auto indentation

2009-11-05 Thread Aleksa Todorovic
On Fri, Nov 6, 2009 at 07:18, Jürgen Hestermann juergen.hesterm...@gmx.de wrote: I *never* put deeper level commands/blocks on the same column Yes, that's one of the worst things one can do. (including BEGIN/END) and I *always* align the BEGIN/ENDs. Absolutely necessary, otherwise you get

Re: [Lazarus] Delphi editor clone

2009-11-05 Thread Reimar Grabowski
On Fri, 06 Nov 2009 06:51:06 +0100 Hans-Peter Diettrich drdiettri...@aol.com wrote: I'll have to get a SVN version of fpc, before I can start fixing my code... And if so, I only will replace Inc/Dec by my added Incr/Decr macros. I don't think so, as the easydockmanager package does not compile

[Lazarus] 32bit application in 64bit OS

2009-11-05 Thread Roland Turcan
Hello Lazarus mailing list! I need to solve communication between my application and PCSC-Lite running on 64bit machine, but loading 64bit *.so file doesn't work. How can I do this? Thanks for all ideas. -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.rotursoft.sk --

Re: [Lazarus] Delphi editor clone

2009-11-05 Thread Reimar Grabowski
On Fri, 06 Nov 2009 07:51:38 +0100 Vincent Snijders vsnijd...@vodafonevast.nl wrote: What is on that line? dec(DragTarget.Left, w); w: integer; DragTarget: TControl; R. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A:

Re: [Lazarus] Delphi editor clone

2009-11-05 Thread Mattias Gaertner
On Thu, 05 Nov 2009 15:48:37 +0100 Hans-Peter Diettrich drdiettri...@aol.com wrote: Please have a look at examples/dockmanager/elasticsite/SiteTest project. I fixed the compilation under fpc 2.5.1, the wrong unit paths and added synedit dependency. I also added the lpl file, so that the

Re: [Lazarus] Auto indentation

2009-11-05 Thread Hans-Peter Diettrich
Martin schrieb: With the new synedit OnPaste event I will try to fix the indent on paste. IMO you should rethink the handling of insertion/deletion. A single Replace(start, delta, text) method can handle every case, with positive deltas meaning insertion and negative deltas meaning deletion

Re: [Lazarus] Auto indentation

2009-11-05 Thread Hans-Peter Diettrich
Jürgen Hestermann schrieb: And that's something *I* don't like. You never know which END belongs to wheach BEGIN. I always column align all ENDs to their corresponding BEGINs. You missed the second part of my argumentation. I'm thinking in the superior Modula syntax, that does not require

[Lazarus] add font in TPdfDoc

2009-11-05 Thread Dians
is there anyone who has ever add custome font or windows font to create pdf file, i use pdfDoc, pdfFonts units to create pdf file, but i have some difficult to add another font like barcode font , pdfFont for default use Arial and times, cmiiw thanks --

Re: [Lazarus] region [elastic tabs [Re: Auto indentation]]

2009-11-05 Thread Graeme Geldenhuys
Hans-Peter Diettrich wrote: Martin schrieb: For section heading {%region} {%endregion} is usefull = since it allows folding Such verbose formatting is unusable, for several reasons: I disagree... If the editor doesn't support it, it is simply two extra comments that will be ignore. Also