[Lazarus] Highlighter/line-Remainder patch [Re: [Fwd: A few hacky patches (resent)]]

2009-05-26 Thread Martin
to set those correctly (clNone) Best Regards Martin ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Codetools and insert unit names lowercase?

2009-06-04 Thread Martin
I noticed that lately codetools inserts all unit nems (in uses clause) in lowercase only? Is there are reason, or an option for that? They looked reall nice and readable in mixed case... Martin ___ Lazarus mailing list Lazarus

[Lazarus] Everyone, time to vote for lazarus

2009-06-22 Thread Martin
http://sourceforge.net/community/cca09/vote/ section Best Tool or Utility for Developers -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] utf8 to lowercase?

2009-07-21 Thread Martin
sometimes it's the simple stuff s:='utf8 string with german umlauts' s2:=AnsiLowerCase(s); on windows, does not convert the umlauts. Anyone knows how to do this correctly? (or maybe it depends on the unit used, if there is more than one AnsiLowerCase?) Martin

Re: [Lazarus] Debugging and Structured Data Arrays

2009-08-02 Thread Martin
Andrew Brunner wrote: Thanks Silvio, I'm not having a problem a problem with code running. I'm not able to Inspect the contents of VStringArray while debugging via GDB in Ubuntu. Can you inspect the variable VStringArray? How about VStringArray[0]? I can not. This is a fresh build of FPC

Re: [Lazarus] Debugging and Structured Data Arrays

2009-08-02 Thread Martin
please also read http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips Martin wrote: Andrew Brunner wrote: Thanks Silvio, I'm not having a problem a problem with code running. I'm not able to Inspect the contents of VStringArray while debugging via GDB in Ubuntu. Can you inspect the variable

Re: [Lazarus] Debugging and Structured Data Arrays

2009-08-02 Thread Martin
concept. so you unfortunately need a lot of understanding, of how fpc encodes your data, what is a pointer, what is which kind of record It is improving in 2.3.1 (and maybe even more with dwarf). If nothing helps: LCLProc.debugln writeln Silvio Clecio wrote: Em 2/8/2009 19:58, Martin escreveu

Re: [Lazarus] Problem with syncompletion.pas

2009-08-03 Thread Martin
Zaher Dirkey wrote: syncompletion.pas in synedit component 1 - in TSynBaseCompletionForm class What for FAnsi: boolean; property ffAnsi: boolean read fansi write fansi; 2 -same for TSynBaseCompletion RFAnsi: boolean; SFAnsi: boolean; property AnsiStrings: boolean read SFAnsi

Re: [Lazarus] new edit icon in gutter?

2009-08-04 Thread Martin
. Best Regards Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Problem with syncompletion.pas / update SVN

2009-08-04 Thread Martin
Zaher Dirkey wrote: syncompletion.pas in synedit component 1 - in TSynBaseCompletionForm class What for FAnsi: boolean; property ffAnsi: boolean read fansi write fansi; 2 -same for TSynBaseCompletion RFAnsi: boolean; SFAnsi: boolean; property AnsiStrings: boolean read SFAnsi

Re: [Lazarus] Problem with syncompletion.pas / update SVN

2009-08-04 Thread Martin
Zaher Dirkey wrote: syncompletion.pas in synedit component 3 - The Auto Complete in TSynCompletion not worked fine with me, it is just 2 char and then stop search for the keyword, after that pressing Enter not close the AutoComplete Search should work better now. Keystrokes where handled

Re: [Lazarus] Problem with syncompletion.pas / update SVN

2009-08-05 Thread Martin
Zaher Dirkey wrote: Thanks ,update and worked :) , and it is add small experience to me, (because it worked on it this morning). Can i ask again what is best Completion.AddEditor(SQLEdit); or Completion.Editor := SQLEdit; As it currently stands, makes no difference Completion.Editor :=

[Lazarus] intended behaviour of crDefault cursor on GTK?

2009-08-13 Thread Martin
controls is, but I checked with fireox on GTK, and firefox at least does show IBeam for edit fields? If IBeam is the correct GTK2 behaviour then there is a bug (because in lazarus, this does not seem to happen) Martin -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] intended behaviour of crDefault cursor on GTK?

2009-08-13 Thread Martin
Hans-Peter Diettrich wrote: Martin schrieb: crDefault (at least on Windows) is supposed to show the Systems default for wherever the cursor is. IMO crDefault means that the actual shape of the cursor is not determined by the control under the cursor, but instead the control's parent cursor

Re: [Lazarus] Multi-threading support in IDE

2009-08-14 Thread Martin
the compile is complete) etc... Try ide\outputfilter.pas around line 295 if (Applicationnil) and (abs(LastProcessMessages-Now)((1/86400)/3)) make it if (Applicationnil) and (abs(LastProcessMessages-Now)((1/86400)/10)) and maybe add an application.idle(flase); too Martin

Re: [Lazarus] Circular references

2009-08-14 Thread Martin
by reading the implementation, and then you will need multipass compiling So that a class can only be used for private stuff on this class. it can no be used for the customer/order relations, as they would require this internal class, on public methods/properties. My 2 cents Martin

Re: [Lazarus] Multi-threading support in IDE

2009-08-14 Thread Martin
Graeme Geldenhuys wrote: Martin wrote: make it if (Applicationnil) and (abs(LastProcessMessages-Now)((1/86400)/10)) This does not make much difference on my system. :-( Hm I tested on windows only. Try adding the 2 lines I inserted with comments (I have not tested this!!) Just

Re: [Lazarus] Multi-threading support in IDE

2009-08-14 Thread Martin
sorry tested now. doesn't work, outside windows world... So even a blocking pipe should have some kind of CanRead that returns immediately? Martin wrote: Graeme Geldenhuys wrote: Martin wrote: make it if (Applicationnil) and (abs(LastProcessMessages-Now)((1/86400)/10)) This does

Re: [Lazarus] Multi-threading support in IDE

2009-08-14 Thread Martin
, that runs the external process. Or if the AsyncProcess worked, it could be done, by using this + moving to an event-driven model. Or am I missing some crucial point? Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Multi-threading support in IDE

2009-08-14 Thread Martin
Vincent Snijders wrote: Martin schreef: Just out of curiosity, what are we trying to solve? snip Or am I missing some crucial point? 3 idle cores on a quad core CPU. Why pay for a quad core, if Lazarus + FPC use only one? I am still waiting during a compile and those 3 other cores

Re: [Lazarus] Multi-threading support in IDE

2009-08-14 Thread Martin
Mattias Gärtner wrote: Zitat von Graeme Geldenhuys grae...@opensoft.homeip.net: Martin Schreiber wrote: From the MSEide config dialog, I gather MSEide also launches the FPC compiler in a separate process and not built into the MSEide? Yes. It can also call gcc and parse the error messages

Re: [Lazarus] Multi-threading support in IDE

2009-08-14 Thread Martin
Vincent Snijders wrote: I have looked a bit more why outputfilter is so slow at parsing a lot of compiler output (e.g. compiling a simple LCL app with -va). The pipe buffer is rather small, NumBytesAvailable is not bigger than 1280 bytes. So OnAsyncReadData reads only 1280 bytes at a time.

Re: [Lazarus] Multi-threading support in IDE

2009-08-14 Thread Martin
then sleep(30); Works on windows / shouldn't change anything on *nix Martin wrote: Vincent Snijders wrote: I have looked a bit more why outputfilter is so slow at parsing a lot of compiler output (e.g. compiling a simple LCL app with -va). The pipe buffer is rather small

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Martin
by the user. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-18 Thread Martin
:= false and add an extension that displays the selection in an otherway. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] IDE editor's NoteBook component problems

2009-08-18 Thread Martin
Graeme Geldenhuys wrote: Vincent Snijders wrote: Do you claim, that with a normal screen, there is not enough space to put the tabs vertical (on the left) and then you have to scroll vertically? I quickly hacked my IDE to show what I mean.

Re: [Lazarus] codetools tooltip showing method visibility

2009-08-18 Thread Martin
xml too) have. Or firebug (extension to firefox) has it too. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] hints missing new line [Re: codetools tooltip showing method visibility]

2009-08-18 Thread Martin
paragraph, just glued behind each other Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] hints missing new line [Re: codetools tooltip showing method visibility]

2009-08-18 Thread Martin
Mattias Gaertner wrote: On Tue, 18 Aug 2009 17:18:25 +0100 Martin laza...@mfriebe.de wrote: I can't get a screenshoot, because hints disapear on keyboard. but if you haver over Synedit. create (in the class declaration), several of the ancestor methods are listed in a single paragraph

Re: [Lazarus] hints missing new line [Re: codetools tooltip showing method visibility]

2009-08-18 Thread Martin
Mattias Gaertner wrote: Hm, but there are some new lines, so the ability to show new lines is there. There are about 5 or 6 ancestor classes with Create, after the first is a new line, then all in one single block, and another new line in front of the last. Looks like maybe the 2 with the

Re: [Lazarus] local procedure - MultiThreadProc

2009-08-19 Thread Martin
outside the parent. Then no such stackframe does exist, and the local procedure can not work. Martin type TMTLocalProcedure = procedure(Index: PtrInt; Data: Pointer; Item: Pointer); ? var p: TMTLocalProcedure; procedure TestWithLocalProc; procedure LocalProc

Re: [Lazarus] local procedure - MultiThreadProc

2009-08-19 Thread Martin
Mattias Gärtner wrote: Zitat von Vincent Snijders vsnijd...@vodafonevast.nl: Martin schreef: Mattias Gärtner wrote: Zitat von Jan Kowalski bor...@gmail.com: I need to call ProcThreadPool.DoParallel with local procedure as a parameter. Does DoParallel allow local procedures to pass

Re: [Lazarus] Documentation and Help for Lazarus

2009-08-20 Thread Martin
form inheritance 2 - Stack frame 3 - just the plain English word. If you search for it, you should be asked if you mean 1 or 2. Not to speak of related topics that may want to be suggested... My 2 cents Martin -- ___ Lazarus mailing list Lazarus

[Lazarus] delphi - virus

2009-08-20 Thread Martin
Just something I found: http://www.h-online.com/security/Virus-infects-development-environment--/news/114031 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Documentation and Help for Lazarus

2009-08-20 Thread Martin
Graeme Geldenhuys wrote: 2009/8/21 Martin laza...@mfriebe.de: That is more than insufficient. Speaking about plain text docs (Asciidoc). keywords can be generated from them or maybe a more informed keyword file could be built manually. Something like meta-tags used in blogs or web

Re: [Lazarus] Documentation and Help for Lazarus (content)

2009-08-21 Thread Martin
Mattias Gärtner wrote: Zitat von Hans-Peter Diettrich drdiettri...@aol.com: Martin schrieb: This is the first problem: how much of the base class to repeat? Or how many links does the user have to follow to find what he seeks. In PasDoc2 I imported inherited descriptions automatically, so

Re: [Lazarus] Documentation and Help for Lazarus (content)

2009-08-21 Thread Martin
Chris Kirkpatrick wrote: Martin wrote: Another thing about the help. And i feel bad about saying this, because I really appreciate the effort that was made. And criticizing it without having contributed seems all wrong. Never the mind, since we talk about it, I feel it should be mentioned

Re: [Lazarus] Groupboxes in the IDE

2009-08-27 Thread Martin
Graeme Geldenhuys wrote: Marc Weustink wrote: Groupboxes were cluttering the real info, therefore we made a change to the bevels. Not all parts are done. Any objects in creating a custom component which does the dividing instead of using 100's of TBevel components and lots of

Re: [Lazarus] Groupboxes in the IDE

2009-08-27 Thread Martin
Graeme Geldenhuys wrote: 2009/8/27 Martin laza...@mfriebe.de: Actually, I attempted to create a frame for this, but run into some bugs that prevented it. And you didn't fix those bugs? ;-) Actually I never even though of Why would I do this myself? I delegated

[Lazarus] persistent block [Re: Release preparations]

2009-08-30 Thread Martin
Martin wrote: Jürgen Hestermann wrote: 2.) Copying a block with Ctrl+K/C works, but moving it with Ctrl+K/V does not. Nothing happens except that the block is no longer marked after that key. Another (separate) bug report please. Fixed in the meantime. Martin

[Lazarus] OT: Who ? [Re: Enhance Macro usage by making it easier to find]

2009-09-11 Thread Martin
Graeme Geldenhuys wrote: Vincent Snijders het geskryf: IMHO a better place for such feature requests without a clear owner (with a limited todo list) is: http://wiki.lazarus.freepascal.org/Feature_Ideas OK, done that too, and added a reference to the Mantis report. From the mantis

Re: [Lazarus] Mac OS X : Highlight text in editor followed by back space does not work...

2009-09-13 Thread Martin
Mattias Gaertner wrote: On Sun, 13 Sep 2009 09:49:40 +0100 Martin laza...@mfriebe.de wrote: domini...@savagesoftwaresolutions.com wrote: Just built Lazarus from the latest SVN on Mac OS X 10.5.8 Intel. To confirm that would be 0.9.29, not 0.9.27 (aka release candidate)? I

Re: [Lazarus] Mac OS X : Highlight text in editor followed by back space does not work...

2009-09-13 Thread Martin
of line, ending the selection at the first none space. Martin Martin wrote: Mattias Gaertner wrote: On Sun, 13 Sep 2009 09:49:40 +0100 Martin laza...@mfriebe.de wrote: domini...@savagesoftwaresolutions.com wrote: Just built Lazarus from the latest SVN on Mac OS X 10.5.8 Intel

Re: [Lazarus] Mac OS X : Highlight text in editor followed by back space does not work...

2009-09-13 Thread Martin
Please test with revision 21681 Mattias Gaertner wrote: On Sun, 13 Sep 2009 11:13:41 +0100 Martin laza...@mfriebe.de wrote: Update: i found a way to reproduce. This is if the following can be confirmed: The issue only occurs, if the cursor is on (right before) the first none-space char

Re: [Lazarus] Two versions

2009-09-14 Thread Martin
to use 0.9.28 (0.9.27 at current) you need fpc 2.2.4. Martin Santiago A. wrote: Hello. My system has installed 0.96 (Ubuntu 8.10) , I would like to install 0.98 both at the same time. I read somewhere in the wiki how to have installed both versions. Any hint? Santiago A. s...@ciberpiula.net

[Lazarus] caret on codetools renames [Re: Last-minute 0.9.28 nominations]

2009-09-25 Thread Martin
elsewhere and not affected) Best Regards Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] german translations

2009-09-26 Thread Martin
A few things I noted while looking at the German translations (in the options dialog) * Umgebung ** Dateien Kompilerdialog versus Compilerdateiname = K oder C ** Formulareditor aktualisieren des Designer veringern = vielleicht: (Neu)zeichnen ... ? * Editor ** Allgemein pos1 / Ende =

Re: [Lazarus] Error while debugging: No symbol in current context

2009-09-30 Thread Martin
://wiki.lazarus.freepascal.org/GDB_Debugger_Tips / reachable via the FAQ ) Another thing is that sometimes all watches start returning an error, in which case you must remove all of them, and add them again, and they will work. Not sure what gets stuck there... Best Regards Martin

[Lazarus] dejavu [Re: Error while debugging: No symbol in current context]

2009-09-30 Thread Martin
Best Regards Martin Graeme Geldenhuys wrote: Hi, I just can't seem to debug anything inside the Lazarus IDE. Maybe my computer just doesn't like me or something. :-( See attached screenshot. Slots is a local variable which is a record structure. I can't seem to get any debug information about

Re: [Lazarus] debugger feature request created

2009-09-30 Thread Martin
Martin Graeme Geldenhuys wrote: Hi, It seems the other debugger thread was blocked - or Gmail is on the frits again. :-/ Anyway, I added a feature request in the wiki for a working / custom written debugger. http://wiki.freepascal.org/Feature_Ideas#Integrated_and_Working_Debugger If anybody has

Re: [Lazarus] debugger feature request created

2009-09-30 Thread Martin
it takes time. As for making it a priority, anyone is welcome to supply patches. If not, it's a gift horse, so you know what not to do ; Best Regards Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] debugger feature request created

2009-10-01 Thread Martin
Hans-Peter Diettrich wrote: Martin schrieb: Anyway no one has denied that features are missing. As for debugging there is a dis-consent about the wording or extend that those missing feature have (at least between me and you (Graeme). But not about the fact that it would be nice (essential

[Lazarus] wiki - problems ?

2009-10-01 Thread Martin
Has any one else problems accessing the wiki? As of the last 24 hours, I can no longer access the wiki - I get a time-out. (I use the link from the forum / main site) Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

[Lazarus] properties (delphi does it wrong too) [Re: debugger feature request created]

2009-10-02 Thread Martin
to Spanish, and post in the above forum. Best Regards Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] properties (delphi does it wrong too) [Re: debugger feature request created]

2009-10-02 Thread Martin
happen. The way Delphi has it, doing it with no warning at all = very dangerous. Best Regards Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] drag / dock mgr [Re: debugger feature request created]

2009-10-02 Thread Martin
Hans-Peter Diettrich wrote: Martin schrieb: I am not sure what was required to be down striped, but I would be surprised if the reason for not doing it was eye candy. So I doubt that a branch would help. There exist a couple of troublesome elements in basic classes. IMO the Controls unit

Re: [Lazarus] Some debug facts/improves

2009-10-03 Thread Martin
a baseclass On the IDE side you realy deal with a TManagedWatch defined in C:\lazarus_latest\ide\debugmanager.pas Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Some debug facts/improves

2009-10-03 Thread Martin
or similat. return a class/structure, that can be formatted by the IDE. My 2 cents / Best Regards Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Some debug facts/improves

2009-10-03 Thread Martin
Hi JoshyFun, in this context, maybe have a look at: http://bugs.freepascal.org/view.php?id=10665 I don't know if it overlaps with your plans, or is unrelated... Best Regards Martin JoshyFun wrote: Hello Lazarus-List, I'm trying to improve some debug parts up to where my skills let me

Re: [Lazarus] heaptrc - Is it even worth using?

2009-10-05 Thread Martin
the lines and jump to the code. That should save some time. Martin Lee Jenkins wrote: Does anyone else have any trouble reading heaptrc output? The only thing that I can see of use is that it tells me there /is/ a leak. However, trying to figure out where it is according to heaptrc output

Re: [Lazarus] fpchmod illegal character

2009-10-14 Thread Martin
Thanks, I will attend to it asap. Usually it is better to attach them to a mantis report. So they will not be lost/overlooked. Martin dmitry boyarintsev wrote: Here's the patch for synedit pascal highlighter to support '%' (binary) and '' (octal) as numbers, as shown here: http

Re: [Lazarus] fpchmod illegal character

2009-10-14 Thread Martin
dmitry boyarintsev wrote: Here's the patch for synedit pascal highlighter to support '%' (binary) and '' (octal) as numbers, as shown here: http://imagebin.org/67810 Otherwise the prefix character is colored as symbol rather than as number. Applied, in 22180, thanks. slightly improved, the

Re: [Lazarus] more locals: variable values in sub-functions

2009-10-27 Thread Martin
snapshots can do that. But all versions of lazarus can do it, using the stack window. In the stack window you can set the current frame to any stack-frame you want. The local-var window, the hint, and the watches window, will all follow this Martin

Re: [Lazarus] more locals: variable values in sub-functions

2009-10-27 Thread Martin
Marc Weustink wrote: Martin wrote: David Emerson wrote: procedure foo; var a : longint; procedure bar; var b : longint; begin writeln (a); end; Given the above, is there a way to make the Locals window display the value of a while stepping through the code in proc bar

Re: [Lazarus] Bug (whis) at Procedure List : SOLVED, can anyone apply?

2009-10-28 Thread Martin
A much better idea (imho) would be, to add all and none *after sorting finished. that way you would not rely on the name of them or anything like that. cbObjects.Sorted := true; cbObjects.Sorted := false; cbObjects.Items.Insert(0, lisPListAll); cbObjects.Items.Insert(1, lisPListNone);

Re: [Lazarus] LineRange [Re: Auto indentation]

2009-11-03 Thread Martin
Mattias Gärtner wrote: Zitat von Martin laza...@mfriebe.de: Mattias, have you looked at using StartLine := Min(Old:ogCaret.Y, LogCaret.Y); EndLine := Max(Old:ogCaret.Y, LogCaret.Y); Sometimes synedit gives me too many lines, sometimes not enough. I need the real insert range. Even

Re: [Lazarus] Auto indentation

2009-11-03 Thread Martin
that it had to be rearranged manually. Smart-tabs ? (editor options / general) They work, but only if you are exactly at the beginning of the first word of the line Example for a:=1 to b.count do |foo(); press tab, and you will be below a, then to, ... Martin

Re: [Lazarus] white flash when opening new unit while debugging

2009-11-03 Thread Martin
Yes, please report as a bug. This may not end up with the highest priority right now, but if you need a quick fix, you can modify synedit line 1636 (within constructor SynEdit.create) Color := clWhite; Change it to your preference, and recompile synedit and the ide David Emerson wrote:

[Lazarus] syncro mode[Re: Auto indentation]

2009-11-03 Thread Martin
, and act backwards on the final caret pos) Martin Martin wrote: Mattias Gärtner wrote: Hmm. Apparently synedit's line range is unreliable to find out what was inserted or what lines have changed. I will ask Martin. It should be better now. I tested for return and various paste events

Re: [Lazarus] Auto indentation

2009-11-03 Thread Martin
The unit can set the width (amount of spaces covered by) each tab individually. If you subclass it, and then do the calculation inside (and add callbacks to tell synedit, that lines must be repainted), then it should work out of the box Martin

Re: [Lazarus] LineRange [Re: Auto indentation]

2009-11-03 Thread Martin
BTW: what line rang should be reported if a line was deleted? Martin wrote: Mattias Gaertner wrote: On Tue, 03 Nov 2009 17:46:48 + Martin laza...@mfriebe.de wrote: Mattias Gärtner wrote: Zitat von Martin laza...@mfriebe.de have you looked at using StartLine := Min(Old:ogCaret.Y

Re: [Lazarus] syncro mode[Re: Auto indentation]

2009-11-04 Thread Martin
Mattias Gaertner wrote: On Wed, 04 Nov 2009 00:27:20 + Martin laza...@mfriebe.de wrote: Further thought about auto indent (for paste) and syncro/template mode. I disabled auto indent during syncro/template editing. you need the same for TSynPluginTemplateEdit (template edit

Re: [Lazarus] syncro mode[Re: Auto indentation]

2009-11-04 Thread Martin
it can not be checked. the new event will explicitly report the mode. The advantage of OnPaste is that it will also be called for quick-paste (middle mouse) which indenter currently is not. Only thing that will not call anything, is drop-drag-edit (can be addressed later) Martin ecPaste

Re: [Lazarus] Auto indentation

2009-11-04 Thread Martin
. Linebreaks could be used for paragraph like grouping of statements, that represent a logical entity in your code, yet are not presented as a procedure of their own. --- I may have shlightly disconnected from reality while writing the above Martin

Re: [Lazarus] syncro mode[Re: Auto indentation]

2009-11-04 Thread Martin
Martin wrote: Mattias Gaertner wrote: I guess this is the better solution for ecPaste. Can you add such an event? Yes, the question is, if it is ok for codetools, since it would be called before the paste = that is you have to interpret the to-be-pasted text before it is part of the source

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] 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 C:\lazarus_latest\examples

Re: [Lazarus] Auto indentation

2009-11-05 Thread Martin
not exist in other edit actions. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Passing properties as var paramatars (was: Delphi editor clone)

2009-11-07 Thread Martin
Alexander Klenin wrote: On Sat, Nov 7, 2009 at 14:15, Martin laza...@mfriebe.de wrote: The answer was that properties are meant to change the value on the object immediately. Also a property setter can raise an exception, or additional actions can take place or the value can be substituted

Re: [Lazarus] white flash when opening new unit while debugging

2009-11-08 Thread Martin
; end; aSynedit.Color is what you need to change. --- Not tested, but pretty sure. Martin Zaher Dirkey wrote: This also not in Debug mode, some time in normal state, there is a flicker by white background and black font in editor and the tab not take the real name of the unit, it changed

[Lazarus] ghost images of the frame [Re: Delphi editor clone]

2009-11-09 Thread Martin
mouse events go there, and the tabs don't get them. Martin Hans-Peter Diettrich wrote: 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

Re: [Lazarus] Lazarus Goal

2009-11-11 Thread Martin
once, compile anywhere' means that the features provided by the LCL, if correctly used are available cross platform (or aimed to be). Best Regards Martin Here is a program that Compiles and runs under Windows XP and compiles but does not run under OS X on an Intel Mac. http://linuxenvy.com

Re: [Lazarus] Lazarus Goal

2009-11-12 Thread Martin
to break. There's no proper aligner developed for the IDE or LCL, to align controls properly. So the inteface would look like a candy. In my apps i'm doing this re-aligment manually on the application start. You can get pretty good aligning in many cases by using autosize and anchors. Martin

[Lazarus] cross platform [Re: Lazarus Goal]

2009-11-12 Thread Martin
enduser friendly, but requires more work by the developper 2) is what Java and fpgui (and afaik msegui) aim for. It is easier for the developper. But the enduser will find an application that is different to any other app he runs on his PC (and therefore harder to use) Martin

Re: [Lazarus] cross platform [Re: Lazarus Goal]

2009-11-12 Thread Martin
Graeme Geldenhuys wrote: Martin wrote: 2) is what Java and fpgui (and afaik msegui) aim for. It is easier for the developper. But the enduser will find an application that is different to any other app he runs on his PC (and therefore harder to use) I guess we will have to agree

Re: [Lazarus] run-time vs desgin-time packages

2009-11-14 Thread Martin
use the run-time build-mode. (The packages must have the ppu for both build-modes in it's unit directory). Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] fpdoc / something like a general topic, not bound to a method?

2009-11-14 Thread Martin
would then be linked (see-also) in all relevan topics. At the moment all I found is to stuff this info on a (randomly) selected method, and link to that (but then the link in see-also) carries the short descripton of that method, which gives no clue about the extra info) Martin

[Lazarus] Last post to fpc list, please / cross posted to lazarus list [Re: [fpc-pascal] Lazarus]

2009-11-15 Thread Martin
Since this is purely lazarus related, I cross post this, and set reply-to to lazarus list. @Rainer: You can read relevant posts in the archive: http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus Rainer Stratmann wrote: Am Sunday 15 November 2009 20:03:21 schrieb Martin

Re: [Lazarus] Multiple installations

2009-11-17 Thread Martin
waldo kitty wrote: Martin wrote: And last not least: - Never mind where you installed Lazarus AND fpc = don't copy or move the folder later. All your config has this folder (including a file called fpc.cfg, in the fpc directory) - Try to avoid spaces and special chars in the path to lazarus

[Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-18 Thread Martin
is to wait what happens to IDE docking Therefore this feature will be beta for a considerable time Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-19 Thread Martin
Paul Ishenin wrote: Martin wrote: Compiling Lazarus (SVN / Snapshot) with -dSynDualView allows you to open a 2nd window for any open source file. I compiled but I don't see the second window. How to activate it? There is an extra entry in the source-editor pop-up menu, open another view

Re: [Lazarus] New experimantal beta feature - View same source in multiple Windows

2009-11-19 Thread Martin
Hans-Peter Diettrich wrote: Martin schrieb: Compiling Lazarus (SVN / Snapshot) with -dSynDualView allows you to open a 2nd window for any open source file. The 2nd Window can be edited, and all edits made in one window, are also done in the other window (they edit the same source). Very

Re: [Lazarus] melp /w TMainMenu

2009-11-27 Thread Martin
Chris Jennings wrote: Hi All I am brand new to Lazarus but have experience with Delphi in the distant past. I am just trying to acertain if Lazarus will meet my needs and am playing with some examples. I have run into a snag that is killing me. I place a TManMenu component on an empty form

Re: [Lazarus] melp /w TMainMenu

2009-11-27 Thread Martin
Chris Jennings wrote: Martin wrote: Chris Jennings wrote: Hi All I am brand new to Lazarus but have experience with Delphi in the distant past. I am just trying to acertain if Lazarus will meet my needs and am playing with some examples. I have run into a snag that is killing me. I place

Re: [Lazarus] Release 1.0, part 2

2009-11-29 Thread Martin
(probably a little more than 2 cents) Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Release 1.0, part 2

2009-11-29 Thread Martin
version of Lazarus as Lazarus 2010 Edition. And offer it in different packages: - 30 days Free Trial - Gold Edition, 1 User unlimited - Platinum Edition, Multi user unlimited (if the SVN package/component is ready and can be pre-installed) scnr Martin

Re: [Lazarus] QT bindings as defalt (was Release 1.0, part 2)

2009-12-02 Thread Martin
supported/compiling version is the Lazarus version. The original SynEdit also has code that in LazArus is part of the LCL = that is also gradually removed from SynEdit, to use the LCL instead. Martin -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] ctrl+j rename possible bug

2009-12-09 Thread Martin
assign it your own key-short-cut. rename identifier. does not require a selection, since it finds the variable/identifier name by it's pascal scope. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Scrolling source editor in IDE with Ctrl+Up,Down

2009-12-12 Thread Martin
a matter of personal taste... Best Regards Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

  1   2   3   4   5   6   7   8   9   10   >