Re: [Lazarus] Compiled file size (again)

2011-12-14 Thread Martin
On 14/12/2011 17:40, Mattias Gaertner wrote: On Wed, 14 Dec 2011 18:34:56 +0100 Jürgen Hestermannjuergen.hesterm...@gmx.de wrote: Lazarus-0.9.31-33059-fpc-2.5.1-20111024-win32: 1.643.520 bytes Lazarus-0.9.31-34078-fpc-2.5.1-20111210-win32: 1.872.896 bytes The size itself is huge IMO but it

Re: [Lazarus] Compiled file size (again)

2011-12-14 Thread Martin
On 14/12/2011 17:34, Jürgen Hestermann wrote: The size itself is huge IMO but it even increases rapidly. 229,376 bytes (nearly 14%) added in not even two months is a lot. That statement is quite biased, if not grossly misleading. It may be true, I do not doubt that... but maybe this can be

Re: [Lazarus] Compiled file size (again)

2011-12-14 Thread Martin
On 14/12/2011 17:34, Jürgen Hestermann wrote: I know this topic has been discussed multiple times but I am astonished about it repeatedly. I know that FPC/Lazarus exe files are way larger in size than i.e. Delphi exe files. But I am wondering why it even increases in such short time slots: I

Re: [Lazarus] Errors in Windows

2011-12-17 Thread Martin
When exactly did you upgrade? there seem to have been some rough revisions, that got fixed in the last 1 or 2 hours On 17/12/2011 14:18, Felipe Monteiro de Carvalho wrote: Hello, I just had a very strange issue which is driving me crazy o.O I installed the IDE in this computer months ago

Re: [Lazarus] Errors in Windows

2011-12-17 Thread Martin
On 17/12/2011 14:46, Felipe Monteiro de Carvalho wrote: Ah, I forgot one thing: Thank you very much =) Give them to Mattias. I only was (un-)lucky enough to have updated before you (or at least reported) Only fair, I broke thinks myself too in the past... --

Re: [Lazarus] SynEdit crash

2011-12-17 Thread Martin
Allready fixed a couple of days back btw if you want bookmarks, you must load your own images Revision: 33965 Author: martin Date: 05 December 2011 02:14:08 Message: SynEdit: fixed potential crash in mouse click on gutter Modified : /trunk/components/synedit/syngutter.pp On 17/12

Re: [Lazarus] SynEdit crash

2011-12-17 Thread Martin
copied wrong revision was fixed in Revision: 34177 Author: martin Date: 14 December 2011 11:50:04 Message: SynEdit: prevent crash if there are no images for bookmarks Modified : /trunk/components/synedit/synguttermarks.pp On 17/12/2011 15:21, Martin wrote: Allready fixed a couple

Re: [Lazarus] SynEdit highlighter for PO files

2011-12-17 Thread Martin
On 17/12/2011 19:11, Juha Manninen wrote: Could someone (Martin maybe) give advice how to integrate a new syntax highlighter. I have no experience about it myself. See a forum thread: http://lazarus.freepascal.org/index.php/topic,15446.msg83644/topicseen.html#new No problem but I iot a few

Re: [Lazarus] [patch] Debugger: CPU registers: resetting display formats on every restart of the application

2011-12-18 Thread Martin
On 18/12/2011 12:20, Bernd wrote: This one has annoyed me a lot during the last few days while debugging some assembly code: The display of the cpu registers always reverted to rdDefault (which is decimal for the registers I was interested in) every time I restarted my application, it was so

Re: [Lazarus] Lazarus strange behaviour

2011-12-19 Thread Martin
On 19/12/2011 15:28, Martin wrote: On 19/12/2011 15:15, Antonio Fortuny wrote: Hi guys. I've got a very strange behaviour while debugging a program with Lazarus: 0.9.31.31801, fpc 2.4.4. (see

Re: [Lazarus] Lazarus strange behaviour

2011-12-19 Thread Martin
On 19/12/2011 15:40, Antonio Fortuny wrote: Le 19/12/2011 16:28, Martin a écrit : The first thing to note is the breakpoint number -20 This means this is an gdb internal breakpoint, used in single stepping. (so the ide has little influence here) Either something went corrupt in gdb

Re: [Lazarus] Lazarus strange behaviour

2011-12-19 Thread Martin
On 19/12/2011 16:06, Antonio Fortuny wrote: Le 19/12/2011 16:57, Martin a écrit : On 19/12/2011 15:40, Antonio Fortuny wrote: I begin to suspect Vista once again. I have vista 32 bit myself, with all updates applied - Are you using stabs or dwarf ? tproject options / linking ) no, gdb

Re: [Lazarus] [patch] Debugger: CPU registers: resetting display formats on every restart of the application

2011-12-19 Thread Martin
On 19/12/2011 18:26, Bernd wrote: and to make it complete here is another trivial patch to enable a popup menu in the registersdlg to be able to also set the display format with the right mouse button, this makes it more user friendly imho. Why not simply assign the popup to the listview? --

Re: [Lazarus] [patch] Debugger: CPU registers: resetting display formats on every restart of the application

2011-12-19 Thread Martin
On 19/12/2011 16:55, Bernd wrote: 2011/12/19 Martinlaza...@mfriebe.de: The patch should check that the new list has the same registers in the same order. The attached patch now stores all names of registers whose format has been changed (in SetFormat) and when initializing them again it looks

Re: [Lazarus] [patch] Debugger: CPU registers: resetting display formats on every restart of the application

2011-12-19 Thread Martin
On 19/12/2011 22:18, Martin wrote: On 19/12/2011 18:26, Bernd wrote: and to make it complete here is another trivial patch to enable a popup menu in the registersdlg to be able to also set the display format with the right mouse button, this makes it more user friendly imho. Why not simply

Re: [Lazarus] [patch] Debugger: CPU registers: resetting display formats on every restart of the application

2011-12-20 Thread Martin
On 20/12/2011 06:20, Bernd wrote: 2011/12/19 Martinlaza...@mfriebe.de: Why not simply assign the popup to the listview? When assigning it to the PopUpMenu poperty then it will not select the item before opening the popup (at least it will not move the visible selection until the popup is gone

Re: [Lazarus] Lazarus strange behaviour

2011-12-20 Thread Martin
On 20/12/2011 09:03, Antonio Fortuny wrote: I have uninstalled Lazarus. I have deleted the user environment in C:\Users\MyUserLogin\AppData\Local\lazarus\* I have deleted the Lazarus directory Enverithing looks clean Installed Lazarus-0.9.31-34263-fpc-2.5.1-20111219-win32.exe Launch Lazarus

Re: [Lazarus] Lazarus strange behaviour

2011-12-20 Thread Martin
On 20/12/2011 12:00, Antonio Fortuny wrote: Le 20/12/2011 11:22, Martin a écrit : I don't think it is a problem with the installation. Have you tried a simple form with 3 lines in an event? yep: it works !! So, question: do you have an idea where to search for differences between the two

Re: [Lazarus] [patch] Debugger: CPU registers: resetting display formats on every restart of the application

2011-12-20 Thread Martin
On 20/12/2011 13:20, Bernd wrote: 2011/12/19 Martinlaza...@mfriebe.de: which makes me feel guilty not to have used it as is. But the mail you wrote made me see an alternative that I have implemented now (please test, r 34294) No problem. It works, thanks for implementig it. I almost

Re: [Lazarus] Lazarus strange behaviour

2011-12-20 Thread Martin
On 20/12/2011 15:13, Antonio Fortuny wrote: Le 20/12/2011 14:27, Martin a écrit : The first steep I suggest would be to check my suspicion, that the address given in the error is indeed wrong Error accessing memory address 0x72aa47b8 When reaching the breakpoint, before doing the fatal single

Re: [Lazarus] Lazarus strange behaviour

2011-12-20 Thread Martin
On 20/12/2011 15:33, Martin wrote: Is the constructor virtual? or do you use Interfaces ? type TSyncFlatDaemon = class(TBase, SomeInterface) If TSyncFlatDaemon is in a package that you installed then also open the package, and in the package window click he Options tool button, and check

Re: [Lazarus] trunk OSX Lion 10.7.2 Scrolling Problem

2011-12-30 Thread Martin
Seems that Mac sends a delta of 40 per click, win and linux do 120 you can change this in synedit until fixed procedure TCustomSynEdit.WMMouseWheel(var Message: TLMMouseEvent); var lState: TShiftState; const WHEEL_DELTA = 120; begin Note you may have similar issues in other windows

Re: [Lazarus] trunk OSX Lion 10.7.2 Scrolling Problem

2012-01-02 Thread Martin
On 02/01/2012 09:37, Helmut Hartl wrote: I guessed and changed it to 40: (because the above code is the same as in svn) --- procedure TCustomSynEdit.WMMouseWheel(var Message: TLMMouseEvent); var lState: TShiftState; const WHEEL_DELTA = 40; begin --- but that does not help for me (it

Re: [Lazarus] trunk OSX Lion 10.7.2 Scrolling Problem

2012-01-02 Thread Martin
On 02/01/2012 15:36, Hans-Peter Diettrich wrote: Martin schrieb: I have no idea where on a mac that can be configured, or how else this value come to be... If not already present, the TMouse class (widgetset equivalent) should offer such configuration, for platforms with no corresponding

Re: [Lazarus] Cycle vs. Circle errors

2012-01-03 Thread Martin
On 03/01/2012 17:30, Maxim Ganetsky wrote: 03.01.2012 22:24, marcelo.bp пишет: Hello list, That got me ! I know what a circle reference is, but can anyone explain with more details what a “cycle reference” is, please! Cycle in this context (package/project dependencies) means exactly what

Re: [Lazarus] trunk OSX Lion 10.7.2 Scrolling Problem

2012-01-03 Thread Martin
On 30/12/2011 16:51, Helmut Hartl wrote: On OSX lion 10.7.2 in lazarus trunk, the svn revision 33972 breaks the mouse wheel scrolling in the ide editor (at least for a magic mouse) - The view stutters, does not scroll, or scrolls only some lines and stops. The version before worked fine.

Re: [Lazarus] how I can use the component TSynEditAutoComplete

2012-01-06 Thread Martin
On 06/01/2012 23:28, Reinier Napoles Martinez wrote: I want to do something like this: arrayd and when ,I pressed ctrl+j insert for example: array[0|..1] of Type; and when press tab, move the cursor to the next param array[0..1|] of Type; //Tab array[0..1] of Type|; like the Lazarus Code

Re: [Lazarus] Code templates syntax

2012-01-10 Thread Martin
On 10/01/2012 14:41, Mattias Gaertner wrote: Mattias Gaertner nc-gaert...@netcologne.de hat am 10. Januar 2012 um 15:33 geschrieben: Martin laza...@mfriebe.de hat am 10. Januar 2012 um 15:04 geschrieben: On 10/01/2012 13:29, Antonio Fortuny wrote: Hi folks

Re: [Lazarus] Help debugging

2012-01-11 Thread Martin
On 11/01/2012 15:12, Kjow wrote: 2012/1/11 Kjowantispamm...@gmail.com: In attachment the window with the error. I missed the attachment. Chek your debugger is set up. Also make sure our project is compiled with debug info http://wiki.lazarus.freepascal.org/Debugger_Setup Then open the

Re: [Lazarus] Help debugging

2012-01-11 Thread Martin
That is for the unknown situation? We are looking at 2 things now: - dbg unknown state (needs that info) / and start IDE with --debug-log=C:\laz.log - your app's crash Does your app use threads? On 11/01/2012 15:57, Kjow wrote: 2012/1/11 Martinlaza...@mfriebe.de: This is a diff case.

Re: [Lazarus] Help debugging

2012-01-11 Thread Martin
On 11/01/2012 16:44, Kjow wrote: 2012/1/11 Martinlaza...@mfriebe.de: - your app's crash Maybe I found the problem! I freed the object in two different places, one with body.destroy (this was just a test that I lost in time... ) Using the only one I need, the problem seems to fixed. This was

Re: [Lazarus] Help debugging

2012-01-11 Thread Martin
On 11/01/2012 17:26, Kjow wrote: about threads: your question (if my program is multithread) turned on a light bulb over my head, the problem was that I freed the same object in two different threads... (main thread and cadencer) and I think that it should behave something like: if

Re: [Lazarus] Code completion improved

2012-01-16 Thread Martin
On 16/01/2012 23:10, Paul Ishenin wrote: Wow. You makes us lazy. To go further your completion code needs to guess what to write in implementation of MySortFunction :) Ideally it would be to auto write implementations on completion of well known procedures as Button1Click or Form1Create ;)

Re: [Lazarus] codetools tooltip showing method visibility

2012-01-22 Thread Martin
Graeme Geldenhuys wrote: Hi, Many times I am working with large classes that are much bigger than what is visible in the editor view. Is there any way the tooltip shown over a property or method can include visibility information? That way I can simply hover the move over a method or

Re: [Lazarus] SynInfoView

2012-01-23 Thread Martin
On 23/01/2012 08:47, Alexander Shishkin wrote: Compile the IDE with WithSynInfoView defined (then watch the top of the editor, when the info is off screen) Note this is alpha (should be crash free, but looks like ---) -- ___ Lazarus mailing list

Re: [Lazarus] SynInfoView

2012-01-23 Thread Martin
On 23/01/2012 13:43, Alexander Shishkin wrote: 23.01.2012 16:21, Martin пишет: Nice feature. There are some suggestions: as I said it is still alpha... So its good time to discuss some issues. :) 1) The tooltip should be shown for method/class part on top of screen even if caret

Re: [Lazarus] Start/Stop recording editor macro

2012-01-23 Thread Martin
On 23/01/2012 18:33, Marcos Douglas wrote: 2011/5/3 Flávio Etruscoflavio.etru...@gmail.com On Tue, May 3, 2011 at 2:33 PM, Marcos Douglasm...@delfire.net wrote: Hi, Is there in Lazarus a record editor macro, like Delphi (CTRL+SHIFT+R)? See

Re: [Lazarus] SynInfoView

2012-01-24 Thread Martin
On 24/01/2012 10:05, Juha Manninen wrote: 2012/1/23 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de well that can be in the final stages, when config is added (also including which parts of the structure to show... ) probably also some sort of tiny delay, so it wont flicker

Re: [Lazarus] SynInfoView

2012-01-24 Thread Martin
On 24/01/2012 10:25, Mattias Gaertner wrote: On Tue, 24 Jan 2012 12:05:18 +0200 Juha Manninenjuha.mannine...@gmail.com wrote: With nested functions there is no easy way to do that now. Search - Find Start of Code Block goes to begin. The code explorer can show the Surrounding, which shows

[Lazarus] off topic: Mac and dvroc keyboard layout

2012-01-24 Thread Martin
Any one an idea, how to get mac to think you have a dvroac kbd? (best the modified UK one) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] off topic: Mac and dvroc keyboard layout

2012-01-24 Thread Martin
On 24/01/2012 18:01, Felipe Monteiro de Carvalho wrote: In my MacBook there is: System Preferences - Language and Text - Input Sources - a big list where one of the options is Dvorak Ah thanks, found it now -- ___ Lazarus mailing list

Re: [Lazarus] LCL and custom keyboard layouts

2012-01-28 Thread Martin
On 28/01/2012 16:45, Mark Morgan Lloyd wrote: Hans-Peter Diettrich wrote: Mark Morgan Lloyd schrieb: Over the last few weeks I've hacked together a partial APL implementation, for use as a way of specifying lists of numbers etc. when passing commands between computers implementing a large

Re: [Lazarus] SynInfoView

2012-02-01 Thread Martin
On 01/02/2012 12:47, Alexander Shishkin wrote: 01.02.2012 16:43, Alexander Shishkin пишет: Another issue: tooltip now disappears after begin inside routine and not shown if caret is in routines` var section. more precise: tooltip disappears when caret is scrolled off from screen. this is

Re: [Lazarus] SynInfoView

2012-02-01 Thread Martin
On 01/02/2012 13:17, Alexander Shishkin wrote: 01.02.2012 17:04, Martin пишет: On 01/02/2012 12:47, Alexander Shishkin wrote: 01.02.2012 16:43, Alexander Shishkin пишет: Another issue: tooltip now disappears after begin inside routine and not shown if caret is in routines` var section. more

Re: [Lazarus] Add notification to callstack change.

2012-02-08 Thread Martin
On 08/02/2012 15:15, Everton Vieira wrote: The case is: I have an enviroment that i can`t use the debugger of the lazarus, if i could i would by sure, then i`m trying to make some kind of log of some units, that times works out pretty well and some times don't. Here in my machine works out

Re: [Lazarus] Add notification to callstack change.

2012-02-08 Thread Martin
On 08/02/2012 16:36, Everton Vieira wrote: How can a debug an app in run time? Is there some how? If you can not use any debugger, then the only way is lots of writeln (or LCLProc.Debugln) and DumpStack... If it is just you can't use Lazarus to debug = you can still use gdb itself (Lazarus

Re: [Lazarus] Add notification to callstack change.

2012-02-08 Thread Martin
On 08/02/2012 16:44, Martin wrote: On 08/02/2012 16:36, Everton Vieira wrote: How can a debug an app in run time? Is there some how? If you can not use any debugger, then the only way is lots of writeln (or LCLProc.Debugln) and DumpStack... If it is just you can't use Lazarus to debug

Re: [Lazarus] Documentation contribution

2012-02-10 Thread Martin
On 10/02/2012 19:24, Hans-Peter Diettrich wrote: If you want to keep notes about things that you see in the documentation, then maybe you should create a separate file: lazarus/docs/xml/hans_peter_notes.txt and write there: LCL.Controls.TControl.DoOnParentHandleDestruction - what? So that

Re: [Lazarus] Documentation contribution

2012-02-11 Thread Martin
On 11/02/2012 10:59, Jürgen Hestermann wrote: Felipe Monteiro de Carvalho schrieb: It is not about liking, I think it is just plainly obvious that if someone downloads our software and builds our docs, presses F1 and reads [really?] it makes us look ridiculous so it is not acceptable to have

Re: [Lazarus] Documentation contribution

2012-02-11 Thread Martin
On 11/02/2012 10:10, Hans-Peter Diettrich wrote: Anders E. Andersen schrieb: I just want to say I tend to agree with Martin here. I'd much rather have something like a discussion page like on a wiki for comments like that. It doesn't look good as part of the main documentation in my opinion

Re: [Lazarus] Documentation contribution

2012-02-11 Thread Martin
On 11/02/2012 11:26, Hans-Peter Diettrich wrote: Felipe Monteiro de Carvalho schrieb: On Fri, Feb 10, 2012 at 8:24 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: Such an entry is absolutely useless without instructions *what* should be implemented at all. If you can't see that

Re: [Lazarus] Documentation contribution

2012-02-11 Thread Martin
On 11/02/2012 11:26, Hans-Peter Diettrich wrote: Felipe Monteiro de Carvalho schrieb: On Fri, Feb 10, 2012 at 8:24 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: Such an entry is absolutely useless without instructions *what* should be implemented at all. If you can't see that yourself,

Re: [Lazarus] Documentation contribution

2012-02-11 Thread Martin
On 11/02/2012 14:43, Hans-Peter Diettrich wrote: Martin schrieb: We have 3 cases 1) correct and good documentation. No note was ever attached, or if it was, then it was in error and removal is appropriate 2) empty or meaningless. (can be seen of a kind of wrong, but not incorrect

Re: [Lazarus] Documentation contribution

2012-02-11 Thread Martin
On 11/02/2012 15:53, Hans-Peter Diettrich wrote: Martin schrieb: They are *intended* to make it *so* worse, that the gurus (Lazarus team) finally decide to contribute the required documentation, instead of only inventing new features :-] That assumes the person who knows the answer

Re: [Lazarus] Documentation contribution

2012-02-11 Thread Martin
On 11/02/2012 16:49, Jürgen Hestermann wrote: Martin schrieb: 4 ff) incomplete, misleading, inconsistent... This is the right place for notes, telling the *experts* to let their experience shine here. Notes that appear in the end user output are inappropriate. Why that? Better let the end

Re: [Lazarus] Documentation contribution

2012-02-11 Thread Martin
On 11/02/2012 17:02, Martin wrote: On 11/02/2012 16:49, Jürgen Hestermann wrote: Martin schrieb: 4 ff) incomplete, misleading, inconsistent... This is the right place for notes, telling the *experts* to let their experience shine here. Notes that appear in the end user output

Re: [Lazarus] Documentation contribution

2012-02-11 Thread Martin
On 11/02/2012 17:21, Jürgen Hestermann wrote: Martin schrieb: However, if the person, who founds it has the ability to add a note, then he can also immediately correct it. Knowing it is misleading, does imply knowing what it was meant to say. So rewording the existing content should

Re: [Lazarus] Documentation contribution

2012-02-11 Thread Martin
On 11/02/2012 17:23, Hans-Peter Diettrich wrote: Martin schrieb: I have no easy reachable list off topics that need attention[1]. So I can not check if I know the answer. As described in StyleGuide.txt, I did entirely miss that one, sorry the marks haven been choosen for simple finding

Re: [Lazarus] Documentation contribution

2012-02-11 Thread Martin
On 11/02/2012 17:16, Hans-Peter Diettrich wrote: Martin schrieb: It he person is not sure, about it being misleading or not, but believes it might be. Then better ask first before adding a note So I should add a note instead: who can clarify this, please contact me at ... for my questions

Re: [Lazarus] Documentation contribution

2012-02-11 Thread Martin
On 11/02/2012 17:47, Jürgen Hestermann wrote: Martin schrieb: On 11/02/2012 17:21, Jürgen Hestermann wrote: In general this is not correct. If I see that variables mentioned in the documentation do not exist in the source I don't know automatically which variables to replace them

Re: [Lazarus] svn: Can't find a temporary directory: Internal error

2012-02-11 Thread Martin
On 11/02/2012 21:11, Juha Manninen wrote: Is anybody else getting an error when updating Lazarus trunk? I get it on 3 different systems, using svn, TortoiseSVN and git-svn. svn: Can't find a temporary directory: Internal error yes I do.. I already thoucht, its my local copy btw I was

Re: [Lazarus] Documentation contribution

2012-02-11 Thread Martin
On 11/02/2012 21:10, Hans-Peter Diettrich wrote: Martin schrieb: It he person is not sure, about it being misleading or not, but believes it might be. Then better ask first before adding a note So I should add a note instead: who can clarify this, please contact me at ... for my questions

Re: [Lazarus] Documentation contribution

2012-02-11 Thread Martin
On 12/02/2012 02:20, Mattias Gaertner wrote: Hans-Peter Diettrich drdiettri...@aol.com hat am 11. Februar 2012 um 22:10 geschrieben: [...] I've found all unmarked entries correct and complete (so far), so that the next contributor can concentrate on the marked items, and knows what

Re: [Lazarus] Matching gutter width on two synedits

2012-02-12 Thread Martin
On 12/02/2012 18:19, Mark Morgan Lloyd wrote: Continuing with my exercise of recompiling programs with (fairly) a recent version of Lazarus, I've got one here with two synedits: the bottom one is used to display and possibly edit a file, the top one is populated with numbers and used as a

Re: [Lazarus] Matching gutter width on two synedits

2012-02-12 Thread Martin
On 12/02/2012 18:36, Martin wrote: On 12/02/2012 18:19, Mark Morgan Lloyd wrote: Continuing with my exercise of recompiling programs with (fairly) a recent version of Lazarus, I've got one here with two synedits: the bottom one is used to display and possibly edit a file, the top one

Re: [Lazarus] Should the at word be painted as reserved word ?

2012-02-12 Thread Martin
On 13/02/2012 02:13, Bernd wrote: 2012/2/12 ikido...@gmail.com: Raise Exception.Create('') at get_caller_frame(get_frame); Does not paint the at code as reserve word. It is not a reserved word according to the documentation, but on this specific case, it act as one imho. According to my

Re: [Lazarus] Looking for a general text editor

2012-02-13 Thread Martin
On 13/02/2012 08:39, Graeme Geldenhuys wrote: Hi, Has anybody implemented a synedit (or other edit component) based general text editor (something like Syn on SourceForge - but it http://sourceforge.net/projects/letterpress/ ? But it might be windows only --

Re: [Lazarus] Should the at word be painted as reserved word ?

2012-02-13 Thread Martin
On 13/02/2012 08:19, Hans-Peter Diettrich wrote: Martin schrieb: It does not matter how they are named. From a user point of view they could be highlighted. Or at least as an option. Such context sensitive stuff is already done in some places. The problem is how the parser works. And each

Re: [Lazarus] Should the at word be painted as reserved word ?

2012-02-13 Thread Martin
On 13/02/2012 16:49, Martin wrote: On 13/02/2012 08:19, Hans-Peter Diettrich wrote: Martin schrieb: 2. In declaration of external functions like the following procedure P; external 'someLib' name 'someName'; the name is like a keyword. So it would be nice if it'll be in bold font. I have

Re: [Lazarus] Should the at word be painted as reserved word ?

2012-02-13 Thread Martin
On 13/02/2012 17:57, Hans-Peter Diettrich wrote: Martin schrieb: So a full pascal expression parser would be needed. That is not the problem (could even be fast enough). But each possible state in an expression (before/after dot/operater // bracket nest-lvl ...) must be allowed to be stored

Re: [Lazarus] Should the at word be painted as reserved word ?

2012-02-13 Thread Martin
On 13/02/2012 18:37, Martin wrote: On 13/02/2012 17:57, Hans-Peter Diettrich wrote: Martin schrieb: So a full pascal expression parser would be needed. That is not the problem (could even be fast enough). But each possible state in an expression (before/after dot/operater // bracket nest-lvl

Re: [Lazarus] Matching gutter width on two synedits

2012-02-13 Thread Martin
On 13/02/2012 18:50, Mark Morgan Lloyd wrote: But be warned that before I go anywhere near that I'm going to be investigating injecting APL-style characters into Synedit. You might prefer to keep your head down :-) Let me know how it goes. As long as they are represented in utf8 There is

Re: [Lazarus] installing chm help

2012-02-14 Thread Martin
On 14/02/2012 18:33, waldo kitty wrote: ok, i decided to go back and retry this all over again... i'm following the instructions in the wiki as linked to by the default Help-Online Help page...

Re: [Lazarus] Should the at word be painted as reserved word ?

2012-02-15 Thread Martin
On 15/02/2012 10:51, Sven Barth wrote: Am 15.02.2012 11:36, schrieb Marco van de Voort: On Mon, Feb 13, 2012 at 10:25:34AM +0800, Paul Ishenin wrote: According to my Sprachgef??hl this cannot be anything other than a reserved word. Its not an identifier, its not an operator, it can only be a

Re: [Lazarus] i'm looking for tips on debugging deep nested code with recursive functions

2012-02-15 Thread Martin
On 15/02/2012 12:19, ik wrote: On Wed, Feb 15, 2012 at 13:59, Everton Vieiratonvie...@gmail.com wrote: Em 15/02/2012, às 09:49, ik escreveu: Hello, I have a code with a lot of loops and recursive calls. Somewhere at the code, at some point, I think I have an Off By One or something similar

Re: [Lazarus] i'm looking for tips on debugging deep nested code with recursive functions

2012-02-15 Thread Martin
On 15/02/2012 13:01, ik wrote: On Wed, Feb 15, 2012 at 14:19, ikido...@gmail.com wrote: On Wed, Feb 15, 2012 at 13:59, Everton Vieiratonvie...@gmail.com wrote: Em 15/02/2012, às 09:49, ik escreveu: Hello, I have a code with a lot of loops and recursive calls. Somewhere at the code, at

[Lazarus] [Lazarusdev] CNPack lines

2012-02-15 Thread Martin
On 15/02/2012 11:25, Everton Vieira wrote: If someone had to go on the drawing of the editor, please someone, consider to put lines to show block structure if an option is marked, like the cnpack does in delphi. I`m aware this is an complicanting of it, but is also a good feature that many

Re: [Lazarus] [fpc-devel] Documentation contribution

2012-02-15 Thread Martin
On 15/02/2012 19:27, Mattias Gaertner wrote: On Fri, 10 Feb 2012 14:52:13 +0100 Hans-Peter Diettrichdrdiettri...@aol.com wrote: [...] IMO notes should not be hidden in comments. I want them displayed also in the final docs - just as a reminder that some text is not reliable. Reminders must

Re: [Lazarus] WithSynInfoView

2012-02-16 Thread Martin
On 16/02/2012 16:15, Juha Manninen wrote: Martin, are you planning to enable the WithSynInfoView feature by default? It is a useful feature and works well. I know about it because I happened to read your mail about it, and I copied the define WithSynInfoView to my Build Lazarus configuration. I

Re: [Lazarus] WithSynInfoView

2012-02-16 Thread Martin
On 16/02/2012 16:17, Sven Barth wrote: A related question is how to find all defines supported by Lazarus source. Some of them are useful for everyone, some are only for debugging. While we're at it: When will WithSynOverviewGutter be enabled by default? :D I thought about that. Yes, all

Re: [Lazarus] WithSynInfoView

2012-02-16 Thread Martin
On 16/02/2012 20:23, Sven Barth wrote: On 16.02.2012 18:50, Martin wrote: On 16/02/2012 16:17, Sven Barth wrote: A related question is how to find all defines supported by Lazarus source. Some of them are useful for everyone, some are only for debugging. While we're at it: When

Re: [Lazarus] Editor File Manager in Windows menu

2012-02-17 Thread Martin
On 17/02/2012 12:59, Juha Manninen wrote: I implemented a new feature: an Editor File Manager. It can be found as the first item in Windows menu. It becomes very useful when you have lots of files open. Please check out and give comments. Nice. Sorting would be nice. By either file or full

Re: [Lazarus] Editor File Manager in Windows menu

2012-02-17 Thread Martin
On 17/02/2012 13:11, Martin wrote: On 17/02/2012 12:59, Juha Manninen wrote: I implemented a new feature: an Editor File Manager. It can be found as the first item in Windows menu. It becomes very useful when you have lots of files open. Please check out and give comments. Nice. Sorting

Re: [Lazarus] Editor File Manager in Windows menu

2012-02-17 Thread Martin
On 17/02/2012 13:56, Juha Manninen wrote: 2012/2/17, Martinlaza...@mfriebe.de: I am happy you answered, Martin. I wanted to ask you about saving files. If you look at the source, there is SrcEdit: TSourceEditor; I can do SrcEdit.Activate; which is very intuitive. I can also do

Re: [Lazarus] Start/Stop recording editor macro

2012-02-18 Thread Martin
On 23/01/2012 18:33, Marcos Douglas wrote: 2011/5/3 Flávio Etruscoflavio.etru...@gmail.com On Tue, May 3, 2011 at 2:33 PM, Marcos Douglasm...@delfire.net wrote: Hi, Is there in Lazarus a record editor macro, like Delphi (CTRL+SHIFT+R)? See

Re: [Lazarus] Editor File Manager in Windows menu

2012-02-18 Thread Martin
On 19/02/2012 00:26, Juha Manninen wrote: 2012/2/17, Martinlaza...@mfriebe.de: procedure TSourceNotebook.MoveEditor(OldPageIndex, NewPageIndex: integer); TSourceNotebook.MoveEditor(...) is protected, so I used: TSourceNotebook.NotebookPages.Move(...) That is dangerous, yuo must also do

Re: [Lazarus] Start/Stop recording editor macro

2012-02-18 Thread Martin
On 19/02/2012 01:20, Zaher Dirkey wrote: On Sat, Feb 18, 2012 at 7:20 PM, Martin laza...@mfriebe.de mailto:laza...@mfriebe.de wrote: - There is one and only one macro for the entire IDE - It can be played in any editor (one editor at a time only) - It can be recorded in any

Re: [Lazarus] Lazarus compiled with FPC2.4.4, -O2 optimized, crashes

2012-02-19 Thread Martin
line 2231 of main.pp $0062C12F line 1510 of main.pp $005BAD75 line 112 of lazarus.pp * TSourceEditor.Destroy: FInEditorChangedUpdating was true LAZARUS END - cleaning up ... I don't see any widgetset related error here...lazsynedittext is last in chain, maybe Martin

Re: [Lazarus] Lazarus compiled with FPC2.4.4, -O2 optimized, crashes

2012-02-19 Thread Martin
I can't reproduce it. Ok I do not have Linux and 2.4.4. I tried - Fedora (gtk) 2.5.1 -O2 - Win 2.4.4 -O2 But that looks like an FPC issue... See below: - If the constructor has an exception, then that woul run destroy automatically; but things would crash much earlier... anyway. re-run in

Re: [Lazarus] Synedit: background colours and f(o)nts

2012-02-20 Thread Martin
On 20/02/2012 09:24, Mark Morgan Lloyd wrote: I've got a Synedit here which uses code as below to rule alternate background lines to a light colour: procedure TListForm.PaneMainEditSpecialLineColors(Sender: TObject; Line: integer; var Special: boolean;

Re: [Lazarus] Synedit: background colours and f(o)nts

2012-02-20 Thread Martin
On 20/02/2012 15:56, Mark Morgan Lloyd wrote: Any thoughts on what could be messing up the font? Sorry missed that part On 20/02/2012 09:24, Mark Morgan Lloyd wrote: In the same program (running on Linux), the Synedit font appears to force itself to a generic Sans at runtime, irrespective

Re: [Lazarus] Detecting if a debugger is attached

2012-02-24 Thread Martin
On 24/02/2012 12:37, Torsten Bonde Christiansen wrote: Hi List. Is there any way to know (using code) if a debugger is attached to my program? I know that in delphi there was some way of knowing, but I'm not sure if there exists such an option for Lazarus or Free Pascal. I don't know of

Re: [Lazarus] WithSynInfoView

2012-02-24 Thread Martin
On 16/02/2012 16:15, Juha Manninen wrote: Martin, are you planning to enable the WithSynInfoView feature by default? It is a useful feature and works well. I know about it because I happened to read your mail about it, and I copied the define WithSynInfoView to my Build Lazarus configuration. I

Re: [Lazarus] Synedit and search/replace

2012-02-25 Thread Martin
On 25/02/2012 16:48, Mark Morgan Lloyd wrote: Is my understanding correct that in order to get Synedit's replace facility working, one has to write a custom OnReplaceText handler? What does this in the source do: CurReplace:=AReplace; if ssoRegExpr in AOptions then

Re: [Lazarus] Tools/Run Parameters storage in .lps/session file instead of lpi?

2012-02-26 Thread Martin
On 26/02/2012 15:56, Mattias Gaertner wrote: On Sun, 26 Feb 2012 16:17:48 +0100 Reinier Olislagersreinierolislag...@gmail.com wrote: Hi list, Developing fpcup together using a mercurial repo with Ludo Brands, which is always a pleasure. Less of a pleasure is that we frequently have

Re: [Lazarus] SourceEditor: strange gap on right hand side

2012-02-28 Thread Martin
On 28/02/2012 15:01, John Repucci wrote: Date: Tue, 28 Feb 2012 15:53:38 +0100 From: Bart bartjun...@gmail.com mailto:bartjun...@gmail.com Subject: [Lazarus] SourceEditor: strange gap on right hand side To: Lazarus mailing list lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] SourceEditor: strange gap on right hand side

2012-02-28 Thread Martin
On 28/02/2012 18:50, Mark Morgan Lloyd wrote: Sven Barth wrote: As said it presents a complete overview of the current file to you. You see where you changed something (yellow and green like on the left) and where you put breakpoints. In the future there might be icons to indicate compilation

Re: [Lazarus] SourceEditor: strange gap on right hand side

2012-02-28 Thread Martin
On 28/02/2012 19:42, Martin wrote: On 28/02/2012 18:50, Mark Morgan Lloyd wrote: Sven Barth wrote: As said it presents a complete overview of the current file to you. You see where you changed something (yellow and green like on the left) and where you put breakpoints. In the future

Re: [Lazarus] Project management

2012-02-28 Thread Martin
On 28/02/2012 20:04, Rich Saunders wrote: As a newcomer I would like to see on the web site a team organization chart. The current contributors would appear in the roles they currently play. Open positions would be identified with links to pages where you can find out more about what is

Re: [Lazarus] SynEdit painting while paintlocked

2012-02-29 Thread Martin
On 29/02/2012 07:01, Graeme Geldenhuys wrote: Hi, I got a lazarus update this morning, and rebuilt the IDE via the Tools menu. While it was compiling, I was scrolling the editor window. Then suddenly the IDE froze up! Luckily I ran the IDE from a console window, and saw the following warning

<    1   2   3   4   5   6   7   8   9   10   >