Re: [Lazarus] Class operators

2011-09-08 Thread Martin
On 08/09/2011 12:38, Graeme Geldenhuys wrote: Menu: View Debug winows debug output (I advice to open, it before running your app, or it may take several seconds or loner to open I attached the full output in a archived text file. I see the following line appear instantly when I hover the

Re: [Lazarus] Class operators

2011-09-08 Thread Martin
On 08/09/2011 13:12, Graeme Geldenhuys wrote: On 08/09/2011, Martin wrote: Just noticing: 0.9.30.1 doesn't contain the auto type cast? did you mean 0.9.31 ? The slowness is under 0.9.31 (unstable trunk). I simply tested the same project under 0.9.30.1 (stable) to see the difference

Re: [Lazarus] Class operators

2011-09-08 Thread Martin
On 08/09/2011 12:38, Graeme Geldenhuys wrote: I see the following line appear instantly when I hover the mouse over Sender in the code... Then the delay, then the lots of text output. -data-evaluate-expression TfpgButton(TfpgButton(Sender))^ I fixed the double casts in trunk (and casts to

Re: [Lazarus] Class operators

2011-09-08 Thread Martin
Actually, if you upgrade your trunk, you test with the feature disabled. option / Editor / completion and hints On 08/09/2011 13:12, Graeme Geldenhuys wrote: On 08/09/2011, Martin wrote: Just noticing: 0.9.30.1 doesn't contain the auto type cast? did you mean 0.9.31 ? The slowness is under

Re: [Lazarus] Class operators

2011-09-08 Thread Martin
On 08/09/2011 14:33, Graeme Geldenhuys wrote: On 08/09/2011, Martin wrote: Actually, if you upgrade your trunk, you test with the feature disabled. option / Editor / completion and hints Those two options where enabled by default on my system. BTW: Shouldn't those two checkbox option

Re: [Lazarus] Class operators

2011-09-08 Thread Martin
On 08/09/2011 15:31, Graeme Geldenhuys wrote: On 8 September 2011 16:26, Martin wrote: unfortunately the first one was already there... And that means it is also stored in the editoroptions.xml file moving them, means to get access to the file representing objects, cross the frames for diff

Re: [Lazarus] debug hint timing [[Re: TButton resizing is broken in Trunk's form designer]]

2011-09-08 Thread Martin
On 08/09/2011 15:42, Martin wrote: On 08/09/2011 15:24, Graeme Geldenhuys wrote: But a big show-stopper for me now is the new debugging hints slowness. I tried to disable all the new auto cast features that Martin recently added. To no avail, they seem to stay active no matter what, and due

Re: [Lazarus] debug hint timing [[Re: TButton resizing is broken in Trunk's form designer]]

2011-09-08 Thread Martin
, Graeme Geldenhuys wrote: On 8 September 2011 16:42, Martin wrote: What exactly do you mean stay active ? See attached archive. There are three files. The two text files show the output captured from the Debug Output window. test1.txt - Show value hint while debugging is unchecked

Re: [Lazarus] debug hint timing [[Re: TButton resizing is broken in Trunk's form designer]]

2011-09-08 Thread Martin
reported: http://bugs.freepascal.org/view.php?id=20196 On 08/09/2011 16:39, Martin wrote: No need for recompilng with the extra symbols, that I specified. It isn;'t the debugger. See my other mail. Any hint in gtk2, that consists of a single very long line (that needs to be wrapped) has

Re: [Lazarus] debug hint timing [[Re: TButton resizing is broken in Trunk's form designer]]

2011-09-09 Thread Martin
On 09/09/2011 08:12, Graeme Geldenhuys wrote: On 08/09/2011 17:39, Martin wrote: Also if show value hint while debugging is unchecked, shouldn't hint debugging be totally disabled? you are right, there seems some problem there it should Reported as: http://bugs.freepascal.org

Re: [Lazarus] SynMemo crash after Undo

2011-09-10 Thread Martin
On 10/09/2011 09:52, Dirk wrote: Lazarus 0.9.31 r32144 FPC 2.4.4 i386-win32-win32/win64 Anyone has the same problem? ... Press Enter again: the synmemo throws an exception TApplication.HandleException Invalid stringlist index 2 Does not happen in the IDE source editor b.t.w. Yes, exactly the

Re: [Lazarus] SynMemo crash after Undo

2011-09-10 Thread Martin
On 10/09/2011 14:55, Flávio Etrusco wrote: On Sat, Sep 10, 2011 at 8:24 AM, Martinlaza...@mfriebe.de wrote: And it's TSynMemo only, TSynEdit works. BTW, something I have been wondering for a long time: What is everyones facination with TSynMemo? It's 99.9% identical with TSynEdit (except for

Re: [Lazarus] Single-stepping assembler

2011-09-10 Thread Martin
On 10/09/2011 15:36, Mark Morgan Lloyd wrote: Mark Morgan Lloyd wrote: Martin wrote: On 04/09/2011 10:32, Mark Morgan Lloyd wrote: I noticed it had been added fairly recently, but I'd not explored since it only showed up on a SPARC Solaris system which I'd had to update. In general I'm

Re: [Lazarus] Single-stepping assembler

2011-09-10 Thread Martin
On 10/09/2011 18:14, Mark Morgan Lloyd wrote: Martin wrote: Ideally compile the IDE with the following defines (will cause a lot of console/log output): DBG_VERBOSE DBGMI_QUEUE_DEBUG Working on it. I presume that's something like make DBG_VERBOSE=1 DBGMI_QUEUE_DEBUG=1 bigide They must

Re: [Lazarus] Single-stepping assembler

2011-09-10 Thread Martin
On 10/09/2011 18:14, Mark Morgan Lloyd wrote: Martin wrote: Does the problem occur on the *first* attempt to run the app? Or only after you have reset the debugger (via run menu)? Can only do it once- hit the run button and the IDE is locked up. The only change, I can think off

Re: [Lazarus] Single-stepping assembler

2011-09-10 Thread Martin
On 10/09/2011 18:14, Mark Morgan Lloyd wrote: Martin wrote: Ideally compile the IDE with the following defines (will cause a lot of console/log output): DBG_VERBOSE DBGMI_QUEUE_DEBUG Working on it. I presume that's something like make DBG_VERBOSE=1 DBGMI_QUEUE_DEBUG=1 bigide I've

Re: [Lazarus] Single-stepping assembler

2011-09-10 Thread Martin
On 10/09/2011 19:13, Mark Morgan Lloyd wrote: I've reverted from FPC 2.7.1 to 2.4.4 which was previously OK (apart from floating-point code generation issues) without significant change to the IDE behaviour. And did that help? Not at all I'm afraid, i.e. the problem appears to stay

Re: [Lazarus] Single-stepping assembler

2011-09-10 Thread Martin
On 10/09/2011 20:50, Mark Morgan Lloyd wrote: Martin wrote: On 10/09/2011 19:13, Mark Morgan Lloyd wrote: I've reverted from FPC 2.7.1 to 2.4.4 which was previously OK (apart from floating-point code generation issues) without significant change to the IDE behaviour. And did that help

Re: [Lazarus] Single-stepping assembler

2011-09-10 Thread Martin
On 10/09/2011 21:16, Martin wrote: On 10/09/2011 20:50, Mark Morgan Lloyd wrote: TCmdLineDebugger.ReadLn (gdb) TCmdLineDebugger.SendCmdLn set inferior-tty /dev/pts/2 Ok, so we may have 2 issues at and. the debugger never returns on set inferior-tty /dev/pts/2 which should have been

Re: [Lazarus] Single-stepping assembler

2011-09-10 Thread Martin
On 10/09/2011 20:50, Mark Morgan Lloyd wrote: (gdb) bt #0 0xf7f0f25c in __read_nocancel () from /lib/libpthread.so.0 #1 0x00ae7450 in TPSEUDOTERMINAL__READ (this=0xf61fe580, result=0x0) at /usr/local/share/lazarus-trunk/debugger/gdbmimiscclasses.pp:539 #2 0x00ae7570 in

Re: [Lazarus] Single-stepping assembler

2011-09-11 Thread Martin
On 11/09/2011 08:30, Mark Morgan Lloyd wrote: Martin wrote: On 10/09/2011 21:16, Martin wrote: On 10/09/2011 20:50, Mark Morgan Lloyd wrote: TCmdLineDebugger.ReadLn (gdb) TCmdLineDebugger.SendCmdLn set inferior-tty /dev/pts/2 Ok, so we may have 2 issues at and. the debugger never

Re: [Lazarus] Single-stepping assembler

2011-09-11 Thread Martin
On 11/09/2011 12:37, Martin wrote: On 11/09/2011 08:30, Mark Morgan Lloyd wrote: On 10/09/2011 20:50, Mark Morgan Lloyd wrote: Still locks up I'm afraid. You are right, sorry, there is a bunch of nested {$IFDEF}... (I must have had a bad day when I put that in) the pseudo console is still

Re: [Lazarus] Single-stepping assembler

2011-09-11 Thread Martin
On 11/09/2011 16:44, Mark Morgan Lloyd wrote: - If it doesn't work without the dev/null then it may be that your system doesn't do none blocking read = but then it should return an erro when trying to set that property on the handle. Without an explicit /dev/null it locks up as before. -

Re: [Lazarus] Single-stepping assembler

2011-09-11 Thread Martin
On 11/09/2011 20:50, Mark Morgan Lloyd wrote: Mark Morgan Lloyd wrote: Martin wrote: On 04/09/2011 10:32, Mark Morgan Lloyd wrote: I noticed it had been added fairly recently, but I'd not explored since it only showed up on a SPARC Solaris system which I'd had to update. In general I'm

Re: [Lazarus] Single-stepping assembler

2011-09-12 Thread Martin
On 12/09/2011 09:45, Mark Morgan Lloyd wrote: Martin wrote: Thanks, I'll work on that as soon as I have time. If it were a simple endianness issue I'd expect PPC (PowerPC, in an old Mac) to fail. Funnily enough, I was wondering a few days ago whether anybody was using ptys with FPC

Re: [Lazarus] Single-stepping assembler

2011-09-12 Thread Martin
On 12/09/2011 17:01, Mark Morgan Lloyd wrote: Mark Morgan Lloyd wrote: Martin wrote: Ok, the below code, emualtes the pseudoterminal handling = the read is supposed to bne none blocking. maybe some of the constants are indeed wrong for your system (endianess)? Thanks, I'll work

[Lazarus] debug hints in lazarus [Re: [fpc-devel] Status and ideas about debug info (stabs, dwarf / dwar3)]

2011-09-12 Thread Martin
cced to lazarus list. please switch list. On 12/09/2011 21:28, Hans-Peter Diettrich wrote: Martin schrieb: Mind, I do NOT want to play down say that the lack of property support. I didn't notice until now that my problems may be related to properties. AFAIR I also couldn't inspect global

[Lazarus] lazarus debug with gdb [Re: [fpc-devel] bounty: FPC based debugger]

2011-09-12 Thread Martin
cced lazarus On 12/09/2011 22:51, Hans-Peter Diettrich wrote: Paul Ishenin schrieb: 12.09.2011 19:00, Martin Schreiber wrote: True. And maintaining all platforms is a fulltime job too. And a FPC only debugger can not debug linked c libraries which we can do currently with gdb. And think

Re: [Lazarus] debug hints in lazarus [Re: [fpc-devel] Status and ideas about debug info (stabs, dwarf / dwar3)]

2011-09-13 Thread Martin
On 13/09/2011 13:07, Graeme Geldenhuys wrote: On 13/09/2011 00:12, Martin wrote: I do not recall having ever had an issue with globals, nor local vars. Nope, the problem is still there... just as when I tested it back in 2008-2009. http://opensoft.homeip.net:8080/~graemeg

Re: [Lazarus] lazarus debug with gdb [Re: [fpc-devel] bounty: FPC based debugger]

2011-09-13 Thread Martin
On 13/09/2011 13:12, Joost van der Sluis wrote: On Mon, 2011-09-12 at 23:18 +0100, Martin wrote: On 12/09/2011 22:51, Hans-Peter Diettrich wrote: However, I still recommend trunk = a lot of fixes have been applied. Known issues are : - strings 0 versus 1 based (I do hope to test with dwarf3

Re: [Lazarus] debug hints in lazarus [Re: [fpc-devel] Status and ideas about debug info (stabs, dwarf / dwar3)]

2011-09-13 Thread Martin
On 13/09/2011 14:01, Joost van der Sluis wrote: On Tue, 2011-09-13 at 14:07 +0200, Graeme Geldenhuys wrote: On 13/09/2011 00:12, Martin wrote: I do not recall having ever had an issue with globals, nor local vars. Nope, the problem is still there... just as when I tested it back in 2008-2009

Re: [Lazarus] Single-stepping assembler

2011-09-13 Thread Martin
On 13/09/2011 15:17, Mark Morgan Lloyd wrote: Martin wrote: I added a ifdef, as found in the fpc source. Most curious that it depends on CPUsparc , instead of OSsomething. But Solaris and some other OSes have their own implementations of ostypes.inc, with constants eventually expressed

Re: [Lazarus] debug hints in lazarus [Re: [fpc-devel] Status and ideas about debug info (stabs, dwarf / dwar3)]

2011-09-13 Thread Martin
On 13/09/2011 15:49, Joost van der Sluis wrote: On Tue, 2011-09-13 at 15:41 +0100, Martin wrote: On 13/09/2011 14:01, Joost van der Sluis wrote: On Tue, 2011-09-13 at 14:07 +0200, Graeme Geldenhuys wrote: BTW: is it correct that some info about classes from units without debug info, does get

Re: [Lazarus] debug hints in lazarus [Re: [fpc-devel] Status and ideas about debug info (stabs, dwarf / dwar3)]

2011-09-13 Thread Martin
On 13/09/2011 19:17, Graeme Geldenhuys wrote: On 13 September 2011 16:26, Martin wrote: ShortDateFormat is declared in the RTL So you need an rtl with debug info. I realized that as soon as I read Vincents reply. :-) But then, why does it work in Delphi? Becuase the delphi compiler

Re: [Lazarus] debug hints in lazarus [Re: [fpc-devel] Status and ideas about debug info (stabs, dwarf / dwar3)]

2011-09-13 Thread Martin
On 13/09/2011 20:31, Graeme Geldenhuys wrote: The Watch List window is rather broken as far as I'm concerned. http://bugs.freepascal.org/view.php?id=20230 http://bugs.freepascal.org/view.php?id=18380 http://bugs.freepascal.org/view.php?id=18379 http://bugs.freepascal.org/view.php?id=18035

Re: [Lazarus] debug hints in lazarus [Re: [fpc-devel] Status and ideas about debug info (stabs, dwarf / dwar3)]

2011-09-13 Thread Martin
On 13/09/2011 22:28, Graeme Geldenhuys wrote: better than with Delphi. That's because when you're debugging on Delphi, the IDE is scaled down to the feature-level of Notepad. Normal code navigation (Ctrl+Click) in Delphi 7 [only Delphi I currently have available] is indeed disabled while

Re: [Lazarus] Automatic handling of multiple Lazarus installation - user configuration folder (Was: Re: Search paths per platform)

2011-09-14 Thread Martin
On 14/09/2011 04:31, Flávio Etrusco wrote: On Wed, Sep 14, 2011 at 12:10 AM, Hans-Peter Diettrich drdiettri...@aol.com wrote: Sven Barth schrieb: 2. Delphi uses the Windows Registry to store its known packages, true, but Lazarus basically does the same for its installed packages in its XML

Re: [Lazarus] Automatic handling of multiple Lazarus installation - user configuration folder (Was: Re: Search paths per platform)

2011-09-14 Thread Martin
On 14/09/2011 10:05, Sven Barth wrote: On 14.09.2011 10:54, Martin wrote: Storing config in the app dir IMHO is not a good idea (btw older Lazarus did do that.) Most modern OS have guidelines t say otherwise. On linux users can not write to that dir at all. On Windows it would currently work

Re: [Lazarus] SynEdit and gutter behaviour

2011-09-14 Thread Martin
On 14/09/2011 15:43, Bart wrote: Hi, I have a SynEdit on a form and I do this SynEdit1.SelText := '//Bye'; This works as expected, and in the gutter the line is now marked as changed. However if I do this: SynEdit1.Lines[1] := SynEdit1.Lines[1] + ' // Hi'; The Line gets updated

Re: [Lazarus] SynEdit and gutter behaviour

2011-09-14 Thread Martin
On 14/09/2011 15:49, Martin wrote: On 14/09/2011 15:43, Bart wrote: this is intended behaviour. Using SynEdit.Lines, does not trigger any line change, also it does not add undo (and previous undo will stop working) Lines are used for initialization Since it is of course not desired

Re: [Lazarus] lazarus debug with gdb [Re: [fpc-devel] bounty: FPC based debugger]

2011-09-14 Thread Martin
On 13/09/2011 13:12, Joost van der Sluis wrote: On Mon, 2011-09-12 at 23:18 +0100, Martin wrote: On 12/09/2011 22:51, Hans-Peter Diettrich wrote: However, I still recommend trunk = a lot of fixes have been applied. Known issues are : - strings 0 versus 1 based (I do hope to test with dwarf3

Re: [Lazarus] SynEdit and gutter behaviour

2011-09-14 Thread Martin
On 14/09/2011 22:27, Bart wrote: On 9/14/11, Martinlaza...@mfriebe.de wrote: Since it is of course not desired to select text only to change it, I really do not understand what you mean by that. Changing selected text is one of the key features I'm using this app for. If you wish to change

Re: [Lazarus] lazarus debug with gdb [Re: [fpc-devel] bounty: FPC based debugger]

2011-09-15 Thread Martin
On 15/09/2011 10:33, Graeme Geldenhuys wrote: On 14/09/2011 22:06, Martin wrote: while ansistring pose a general problem, using shhotstring, stabs does the job. (fpc trunk / gdb 7.3-2 / win 32) VarString15 starts with T15 -data-evaluate-expression VarString15[2] STABS: ^done,value=49 '1' DWARF

Re: [Lazarus] lazarus debug with gdb [Re: [fpc-devel] bounty: FPC based debugger]

2011-09-15 Thread Martin
On 15/09/2011 11:00, Graeme Geldenhuys wrote: On 15/09/2011 11:50, Martin wrote: By now, you should know the can-do and con-not-do, and you should be able to use accordingly. (e.g. watch the entire string, instead of an index / or add 1 to the index yourself) At the time I reported

Re: [Lazarus] The color of special characters in the Source Editor

2011-09-15 Thread Martin
On 15/09/2011 12:48, Graeme Geldenhuys wrote: Hi, The spaces inside Comments or Compiler Directives are not the correct color compared to spaces inside code. So when you set the foreground color of Space characters, that color is not applied inside Comments or Compiler Directives. Thus making

Re: [Lazarus] The color of special characters in the Source Editor

2011-09-15 Thread Martin
On 15/09/2011 12:59, Martin wrote: On 15/09/2011 12:48, Graeme Geldenhuys wrote: Hi, The spaces inside Comments or Compiler Directives are not the correct color compared to spaces inside code. So when you set the foreground color of Space characters, that color is not applied inside Comments

Re: [Lazarus] Editor and usage of Tab characters

2011-09-15 Thread Martin
On 15/09/2011 12:29, Graeme Geldenhuys wrote: Hi, I'm a bit confused about the Source Editor settings, and the actual behaviour of Tabs in the editor. I switched one project from Spaces to Tabs to try it out indenting a single line by using the Tab key works correctly. As you can see in the

Re: [Lazarus] The color of special characters in the Source Editor

2011-09-15 Thread Martin
On 15/09/2011 13:10, Graeme Geldenhuys wrote: On 15/09/2011 14:03, Martin wrote: I only want the scanner to do that if the result is needed. otherwise the structural scan suffers from slow down I guess one could look at the Editor Settings (is show special characters enabled) and if so

Re: [Lazarus] The color of special characters in the Source Editor

2011-09-15 Thread Martin
On 15/09/2011 13:08, Graeme Geldenhuys wrote: On 15/09/2011 13:59, Martin wrote: what about spaces in strings? They suffer the same problem. This would be a nice to have - see comment below. I probably fix it for comment, but comments only. Comments have far more words in the text

Re: [Lazarus] The color of special characters in the Source Editor

2011-09-15 Thread Martin
On 15/09/2011 13:42, Graeme Geldenhuys wrote: On 15/09/2011 14:26, Martin wrote: If someone setting to highlight comment or string is by underlining, then a continuous underline should be expected. I guess. :) I must add, I really like the look of Bold+Italic spaces. ;-) All a question

Re: [Lazarus] The color of special characters in the Source Editor

2011-09-15 Thread Martin
On 15/09/2011 13:43, Flávio Etrusco wrote: On Thu, Sep 15, 2011 at 9:26 AM, Martinlaza...@mfriebe.de wrote: On 15/09/2011 13:08, Graeme Geldenhuys wrote: On 15/09/2011 13:59, Martin wrote: what about spaces in strings? They suffer the same problem. This would be a nice to have - see comment

Re: [Lazarus] The color of special characters in the Source Editor

2011-09-15 Thread Martin
On 15/09/2011 14:32, Graeme Geldenhuys wrote: On 15/09/2011 14:50, Martin wrote: If I understand this right, it would make comment background color stop working? good point Umm... then what if the special characters is always rendered using the same foreground color as setup for Comments

Re: [Lazarus] debug hints in lazarus [Re: [fpc-devel] Status and ideas about debug info (stabs, dwarf / dwar3)]

2011-09-15 Thread Martin
On 15/09/2011 18:00, Joost van der Sluis wrote: On Tue, 2011-09-13 at 23:28 +0200, Graeme Geldenhuys wrote: better than with Delphi. That's because when you're debugging on Delphi, the IDE is scaled down to the feature-level of Notepad. Normal code navigation (Ctrl+Click) in Delphi 7 [only

Re: [Lazarus] The color of special characters in the Source Editor

2011-09-15 Thread Martin
On 15/09/2011 22:34, Flávio Etrusco wrote: Is there a SynAttribute for special chars? BTW in SynEdit I had a long-live TO-DO to allow only showing Tab chars (and maybe linebreaks) ;-) eoShowSpecialChars in SynEdit.Options ? yea, selecting which special chars would be nice too --

Re: [Lazarus] The color of special characters in the Source Editor

2011-09-15 Thread Martin
On 15/09/2011 22:50, Flávio Etrusco wrote: On Thu, Sep 15, 2011 at 6:39 PM, Martinlaza...@mfriebe.de wrote: On 15/09/2011 22:34, Flávio Etrusco wrote: Is there a SynAttribute for special chars? BTW in SynEdit I had a long-live TO-DO to allow only showing Tab chars (and maybe linebreaks) ;-)

Re: [Lazarus] The color of special characters in the Source Editor

2011-09-15 Thread Martin
On 15/09/2011 23:07, Martin wrote: On 15/09/2011 22:50, Flávio Etrusco wrote: On Thu, Sep 15, 2011 at 6:39 PM, Martinlaza...@mfriebe.de wrote: On 15/09/2011 22:34, Flávio Etrusco wrote: Is there a SynAttribute for special chars? BTW in SynEdit I had a long-live TO-DO to allow only showing

Re: [Lazarus] The color of special characters in the Source Editor

2011-09-16 Thread Martin
On 16/09/2011 01:02, Paul Ishenin wrote: 15.09.2011 20:03, Martin wrote: I probably fix it for comment, but comments only. Comments should stay comments. Space in a commect is not the same as a space in other parts of code. If I were you I would not implement it at all. The only missing

Re: [Lazarus] The color of special characters in the Source Editor

2011-09-16 Thread Martin
On 16/09/2011 09:11, Graeme Geldenhuys wrote: On 16/09/2011 09:52, Martin wrote: I myself used (past tense) to have that on all the time, for #9 detection. But then every space is a dot. So I set the space foreground color, near the background, and all the special chars are faded out. Only

Re: [Lazarus] Help needed with a SynEdit patch please - Tab char indicator

2011-09-16 Thread Martin
On 16/09/2011 09:54, Graeme Geldenhuys wrote: On 16/09/2011 10:22, Martin wrote: OpenOffice writer puts the symbol in the middle (centered) Notepad++ has a continues arrow over the whole tab eclipse show them at start syn (editor also based on SynEdit) puts symbol in the middle EditPad

Re: [Lazarus] Synedit Gutter - current line number a different color

2011-09-16 Thread Martin
On 16/09/2011 10:11, Graeme Geldenhuys wrote: Hi, Attached is a screenshot of how my Lazarus editor now looks. I used to have the current line in the editor source code with a slightly dulled background color, but that interfered (made it hard to see) the Special Characters (tab characters) I

Re: [Lazarus] SynEdit and autocomplete

2011-09-16 Thread Martin
On 16/09/2011 11:48, silvioprog wrote: Hi, I try to open the list of options for auto-complete with Ctrl+Space, but does not work, and after using Ctrl+Space need to type the letter twice, eg: 1. Try auto complete the word select; (the list does not appear) 2. Type s (of 's'elect), nothing

Re: [Lazarus] The color of special characters in the Source Editor

2011-09-16 Thread Martin
On 15/09/2011 15:00, Graeme Geldenhuys wrote: On 15/09/2011 15:51, Martin wrote: --- I do like 1, for the problem at hand, spaces in comment may still be blue-ish (or whatever your setting, but faded to background +1 I like your option (1) as well. Comments will still look like comments

Re: [Lazarus] SynEdit and autocomplete

2011-09-16 Thread Martin
On 16/09/2011 22:15, silvioprog wrote: 2011/9/16 Martinlaza...@mfriebe.de: Syn AutoComplete is not the drop down feature known from the IDE please have a look in the example folder OK, thx. I'll use a SynEdit ported from Delphi to Lazarus. It is a copy that a friend (Etrusco) will provide

Re: [Lazarus] SynEdit and autocomplete

2011-09-16 Thread Martin
On 16/09/2011 23:00, Flávio Etrusco wrote: Syn AutoComplete is not the drop down feature known from the IDE please have a look in the example folder OK, thx. I'll use a SynEdit ported from Delphi to Lazarus. It is a copy that a friend (Etrusco) will provide me and that is compatible with

[Lazarus] TListView.OnColumnResize

2011-09-17 Thread Martin
Not my day today. Can't find which event is fired, if a column is resized (by user/mouse) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Overloaded procedures

2011-09-17 Thread Martin
On 17/09/2011 16:00, Hans-Peter Diettrich wrote: In my attempt to update the LCL documentation I came across overloaded procedures, like DbgS, with arguments of different type but same name. This disallows to document the procedures properly :-( FPDoc creates only one entry for overloaded

Re: [Lazarus] SynEdit and autocomplete

2011-09-18 Thread Martin
On 18/09/2011 15:52, silvioprog wrote: 2011/9/17 Reinier Napoles Martinezrnapo...@hlg.uci.cu: Search the mailinglist Earlier this year someone mailed, who had already ported it. including SynWeb you can found the code here: https://github.com/rnapoles/ Nice. I tested on Linux and Windows, it

Re: [Lazarus] Generating line info

2011-09-19 Thread Martin
On 19/09/2011 18:43, Bart wrote: Hi, I noticed that in the linking tab, generating line info (-gl) is now coupled with Generate debugging info for gdb (-g) and this defaults to dwarf with sets. You can always select any debug format you want. I had recent conversations on the fpc-devel list,

Re: [Lazarus] Generating line info

2011-09-19 Thread Martin
On 19/09/2011 19:22, cobines wrote: 2011/9/19 Martinlaza...@mfriebe.de: -gl therefore always includes, and included -g Before, on Win32 Stabs was default with -g -gl (at least with FPC 2.4.4) and now with Automatic Lazarus forces -gw2 -godwarfsets. I know I can change but can it by default

Re: [Lazarus] RE : Generating line info

2011-09-19 Thread Martin
On 19/09/2011 19:41, Ludo Brands wrote: You can always select any debug format you want. Why has Lazarus changed the default debug format to dwarf on windows? Lnfodwrf is doing a poor job of looking up symbols (it only looks for line information) and it crashes under certain circumstances. See

[Lazarus] using dwarf with special tricks [Re: Generating line info]

2011-09-19 Thread Martin
On 19/09/2011 19:54, cobines wrote: - Why do you prefer stabs? Because I always had problems with DWARF, at least on Win32. I have GDB 7.3.2 from MinGW. STABS seems to work better. There is problem Same gdb here = and that should also be included in trunk snapshots, or download able from the

Re: [Lazarus] Generating line info

2011-09-19 Thread Martin
On 19/09/2011 19:22, cobines wrote: 2011/9/19 Martinlaza...@mfriebe.de: -gl therefore always includes, and included -g Before, on Win32 Stabs was default with -g -gl (at least with FPC 2.4.4) and now with Automatic Lazarus forces -gw2 -godwarfsets. I know I can change but can it by default

Re: [Lazarus] using dwarf with special tricks [Re: Generating line info]

2011-09-20 Thread Martin
On 20/09/2011 07:24, Graeme Geldenhuys wrote: On 19/09/2011 21:16, Martin wrote: So for using within Lazarus, IMHO dwarf is at least as good as stabs. Thanks Martin, for all your testing. This is good news, especially since my new debugger only reads DWARF info. If you need to find out

Re: [Lazarus] RE : RE : Generating line info

2011-09-20 Thread Martin
On 20/09/2011 08:30, Ludo Brands wrote: Leak view is using heaptrc to get the info. So you're bound to hit the same bug and issues one day or another. Not sure what you mean? I get stacktraces from infodwrf (but also tested the lineinfo/stabs ones), and have copy and pasted them a thousand

Re: [Lazarus] [SPAM] Code Folding

2011-09-20 Thread Martin
On 20/09/2011 18:49, Rafael Tuim Elias wrote: I'd like when open a project, that all functions and procedures get with code-folding option in closed mode. It's possible ? How i do ? they do not auto-close, but you can close them with a single keyboard-shortcut I use Alt-Shift-1 to fold

Re: [Lazarus] [SPAM] Code Folding

2011-09-20 Thread Martin
On 20/09/2011 18:49, Rafael Tuim Elias wrote: I'd like when open a project, that all functions and procedures get with code-folding option in closed mode. It's possible ? How i do ? please see image at: http://imagebin.org/173248 -- ___ Lazarus

Re: [Lazarus] [SPAM] Re: [SPAM] Code Folding

2011-09-20 Thread Martin
On 20/09/2011 19:30, Rafael Tuim Elias wrote: 2011/9/20 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de On 20/09/2011 18:49, Rafael Tuim Elias wrote: I'd like when open a project, that all functions and procedures get with code-folding option in closed mode. It's

Re: [Lazarus] typinfo routine gives memory leak

2011-09-20 Thread Martin
On 20/09/2011 21:59, Howard Page-Clark wrote: The following (button and memo) program loses 276 bytes heap memory that are not recovered. ... procedure TForm1.BGetPropertiesClick(Sender: TObject); var ppl: PPropList; pl: TPropList; ppi: PPropInfo; pi: TPropInfo; begin

Re: [Lazarus] (Still googling for it) GDB error 31 ?

2011-09-22 Thread Martin
On 22/09/2011 12:16, Lukasz Sokol wrote: Hi, I have installed 0.9.30 (2011-03-08), FPC 2.4.2 rev. 29749 (i386-win32-win32/win64) on another machine with Windows XP Prof. SP3, 32 Bit CPU? or 64 bit? If 32, then please download latest GDB from http://svn.freepascal.org/svn/lazarus/binaries

Re: [Lazarus] (Still googling for it) GDB error 31 ?

2011-09-22 Thread Martin
On 22/09/2011 12:34, Lukasz Sokol wrote: I shall mention: The other (XP Pro) machine is a laptop and on my project, (as opposed to the test project, dunno why) the Error: 31 code appears just before line where one of the libraries is loaded : Error: 31=library-loaded,id=c:\\Program

Re: [Lazarus] (Still googling for it) GDB error 31 ?

2011-09-22 Thread Martin
On 22/09/2011 12:49, Martin wrote: On 22/09/2011 12:34, Lukasz Sokol wrote: I shall mention: The other (XP Pro) machine is a laptop and on my project, (as opposed to the test project, dunno why) the Error: 31 code appears just before line where one of the libraries is loaded : I don't

Re: [Lazarus] (Still googling for it) GDB error 31 ?

2011-09-22 Thread Martin
On 22/09/2011 13:39, Lukasz Sokol wrote: Which revision of that binaries svn contains the gdb version 6.8 (2008) ? http://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/GDB/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] [resolved!!!] Re: (Still googling for it) GDB error 31 ?

2011-09-22 Thread Martin
On 22/09/2011 14:23, Lukasz Sokol wrote: Had a brainwave, uninstalled the ALPS Touchpad driver... Now the gdb still spews error 31 but... on a different library (c:\Program Files\Dell\QuickSet\dadkeyb.dll) AND DOES NOT bail out any more - continues to run seemingly with no problems as of

Re: [Lazarus] Spurious package rebuild

2011-09-22 Thread Martin
On 22/09/2011 17:16, Mattias Gaertner wrote: On Thu, 22 Sep 2011 14:02:05 + Mark Morgan Lloydmarkmll.laza...@telemetry.co.uk wrote: [...] TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Compiler custom params changed for FCL 1.0.1 Old= -MObjFPC -Scghi -O1 -gl -vewnhi -l fcllaz.pas

Re: [Lazarus] Spurious package rebuild

2011-09-22 Thread Martin
On 22/09/2011 18:46, Mark Morgan Lloyd wrote: Martin wrote: On 22/09/2011 17:16, Mattias Gaertner wrote: On Thu, 22 Sep 2011 14:02:05 + Mark Morgan Lloydmarkmll.laza...@telemetry.co.uk wrote: [...] TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Compiler custom params changed

Re: [Lazarus] Spurious package rebuild

2011-09-22 Thread Martin
Open the package, look at the compileroptions of the package. It will be in there. The problem is:it is yet missing in the Makefiles. On 22/09/2011 19:19, cobines wrote: 2011/9/22 Martinlaza...@mfriebe.de: Old= -MObjFPC -Scghi -O1 -gl -vewnhi -l fcllaz.pas Now= -MObjFPC -Scghi -O1

Re: [Lazarus] (Still googling for it) GDB error 31 ?

2011-09-23 Thread Martin
On 22/09/2011 14:14, Lukasz Sokol wrote: O=library-loaded,id=C:\\WINDOWS\\system32\\msasn1.dll,target-name=C:\\WINDOWS\\system32\\msasn1.dll,host-name=C:\\WINDOWS\\system32\\msasn1.dll,symbols-loaded=0,thread-group=i1

Re: [Lazarus] Spurious package rebuild

2011-09-23 Thread Martin
On 22/09/2011 19:36, cobines wrote: 2011/9/22 Martinlaza...@mfriebe.de: Open the package, look at the compileroptions of the package. It will be in there. The problem is:it is yet missing in the Makefiles. Ah, I see. It is not explicitly stated in lclbase.lpk because it is the default value

Re: [Lazarus] Source and Editor woes

2011-09-27 Thread Martin
On 24/09/2011 12:13, Hans-Peter Diettrich wrote: While editing the LCL docs I came across the following nasty things: After an commit the XML file(s) may be found different, so that the IDE asks to reload the file(s). Did somebody else observe this strange behaviour? The IDE shows a diff,

Re: [Lazarus] Source and Editor woes

2011-09-28 Thread Martin
On 28/09/2011 02:48, Hans-Peter Diettrich wrote: Martin schrieb: The IDE shows a diff, if you select one of the files in the dialog. So you can check what changed. That turned out to be not really useful. It contained 5600 lines, IIRC, impossible to find out what's different and what's

Re: [Lazarus] Source and Editor woes

2011-09-28 Thread Martin
On 28/09/2011 17:56, Hans-Peter Diettrich wrote: Martin schrieb: I played around with it, for some longer. I use restore pos in the window settings, so it does not happen. I use restore geometry, a restore pos is not available? yes, restore geometry that is what I meant. And that is what I

Re: [Lazarus] Source and Editor woes

2011-09-29 Thread Martin
On 29/09/2011 09:57, Hans-Peter Diettrich wrote: Martin schrieb: Ok scratch the last paragraph, after having said that, I have no one triggered it with restore too, but it has not happen before. And I am not sure how to repeat. I just tried with the current snapshot (IDE r29341), undocked

Re: [Lazarus] TControl.Click?

2011-10-01 Thread Martin
On 01/10/2011 07:53, Mattias Gaertner wrote: On Sat, 01 Oct 2011 03:04:56 +0200 Hans-Peter Diettrichdrdiettri...@aol.com wrote: I don't understand the logic behind TControl.Click: procedure TControl.Click; begin //DebugLn(['TControl.Click ',DbgSName(Self)]); if (not (csDesigning in

Re: [Lazarus] TControl.Click?

2011-10-01 Thread Martin
On 01/10/2011 08:13, Mattias Gaertner wrote: On Sat, 1 Oct 2011 10:08:59 +0300 Zaher Dirkeyparm...@gmail.com wrote: Off your topic On Sat, Oct 1, 2011 at 9:53 AM, Mattias Gaertner nc-gaert...@netcologne.dewrote: Assigned is used instead of FOnClicknil What is different between check the

Re: [Lazarus] TControl.Click?

2011-10-01 Thread Martin
On 01/10/2011 09:05, Mattias Gaertner wrote: On Sat, 01 Oct 2011 08:39:42 +0100 Martinlaza...@mfriebe.de wrote: On 01/10/2011 07:53, Mattias Gaertner wrote: On Sat, 01 Oct 2011 03:04:56 +0200 Hans-Peter Diettrichdrdiettri...@aol.com wrote: I don't understand the logic behind

Re: [Lazarus] How do you debug a console program in Linux GUI mode?

2011-10-01 Thread Martin
On 01/10/2011 19:51, Frank Church wrote: I am trying to debug a program in Ubuntu gnome. In Windows the program runs starts as a console program which has the ability to open a GUI. In Linux only the GUI comes up. When I run the program directly from the gnome-terminal I get the console

Re: [Lazarus] How do you debug a console program in Linux GUI mode?

2011-10-01 Thread Martin
On 01/10/2011 20:07, Reimar Grabowski wrote: On Sat, 1 Oct 2011 19:51:17 +0100 Frank Churchvfcli...@gmail.com wrote: How do I configure Lazarus to do the same - start up the console then run the GUI? Check Run-Run Parameters-Launching application True, that is another way = but it may not

Re: [Lazarus] How do you debug a console program in Linux GUI mode?

2011-10-01 Thread Martin
On 01/10/2011 21:28, Frank Church wrote: On 1 October 2011 20:07, Reimar Grabowski reimg...@web.de mailto:reimg...@web.de wrote: On Sat, 1 Oct 2011 19:51:17 +0100 Frank Church vfcli...@gmail.com mailto:vfcli...@gmail.com wrote: How do I configure Lazarus to do the same - start

Re: [Lazarus] Fwd: [lazarus-br] Tamaho do executavel

2011-10-04 Thread Martin
On 04/10/2011 01:51, William Oliveira Ferreira wrote: On a Brazillian Lazarus Mailing List, someone asked once again how to reduce the executable's size generated by FPC/Lazarus. I've suggest him to generate a external debug symbol file on linking. That's help a lot with this issue, you know.

Re: [Lazarus] DebugLn vs writeln

2011-10-04 Thread Martin
On 04/10/2011 03:53, Frank Church wrote: Is the purpose of DebugLn over write line its ability to write automatically to a debug log text file? Are there some build settings that will automatically disable DebugLn from executing at runtime, or does it always have to be switch on and off with

<    4   5   6   7   8   9   10   11   12   13   >