[Lazarus] Beta testers on trunk: Inactive IFDEF code greyed out

2013-05-26 Thread Martin
In SVN trunk it is now possible to have inactive IFDEF code greyed out, or otherwise marked. The feature is still being tested, but seems to generally work well by now. If you wish to help testing, compile the IDE with the following define: WithSynMarkupIfDef (command-line option -dWithSynMa

Re: [Lazarus] [WINCE] Please stop generate debug file.

2013-05-26 Thread Martin
On 26/05/2013 06:48, Felipe Monteiro de Carvalho wrote: Yes, the code needs to be rewritten. It was written before a system was created to allow widgetsets to override debugln. It also needs a variable in the widgetset class to allow the user to choose if he wants the log or not. but the code

Re: [Lazarus] [WINCE] Please stop generate debug file.

2013-05-24 Thread Martin
On 24/05/2013 19:42, Zaher Dirkey wrote: On Fri, May 24, 2013 at 9:17 PM, Martin <mailto:laza...@mfriebe.de>> wrote: I think the question is what is calling debugln. - If your code does, then it should log. - If it is in the IDE (but you wouldn't run that on wince)

Re: [Lazarus] [WINCE] Please stop generate debug file.

2013-05-24 Thread Martin
Is this about "debugln" does not log correctly, or about something gets logged, that you did not want to be logged? I think the question is what is calling debugln. - If your code does, then it should log. - If it is in the IDE (but you wouldn't run that on wince) then that is correct to. - If

Re: [Lazarus] About Arabic translating in Lazarus

2013-05-24 Thread Martin
On 24/05/2013 17:21, Zaher Dirkey wrote: On Fri, May 24, 2013 at 7:00 PM, Juha Manninen mailto:juha.mannine...@gmail.com>> wrote: You cannot find it easily because it happened in Lazarus-dev mailing list which is not open for everybody. It is best you contact Mazen Neifer directly

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-05-17 Thread Martin
On 27/03/2013 04:08, Ernest V Miller wrote: I see value of utf8 in russian. And I am absolutely happy. But as soon as I want to use fixed strings, the only way for me to see my native language when debugging is to declare an additional string var as you can see below: I committed a partial fix

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-14 Thread Martin
On 11/05/2013 05:11, silvioprog wrote: procedure TForm1.Button1Click(Sender: TObject); var s: string; begin s := 'abc'; << Break point here (F5) // line 1 ShowMessage(s); // line 2 end; and I use Step Over (F8), the cursor go to "line 2", but the same code in Linux, go to GTK units. See:

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-14 Thread Martin
On 11/05/2013 05:11, silvioprog wrote: procedure TForm1.Button1Click(Sender: TObject); var s: string; begin s := 'abc'; << Break point here (F5) // line 1 ShowMessage(s); // line 2 end; and I use Step Over (F8), the cursor go to "line 2", but the same code in Linux, go to GTK units. See:

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-13 Thread Martin
On 13/05/2013 18:08, silvioprog wrote: 2013/5/13 Martin mailto:laza...@mfriebe.de>> On 13/05/2013 16:07, silvioprog wrote: 2013/5/13 Martin mailto:laza...@mfriebe.de>> On 11/05/2013 05:11, silvioprog wrote: and I use Step Over (F8), the cursor go to &

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-13 Thread Martin
On 13/05/2013 16:07, silvioprog wrote: 2013/5/13 Martin mailto:laza...@mfriebe.de>> On 11/05/2013 05:11, silvioprog wrote: and I use Step Over (F8), the cursor go to "line 2", but the same code in Linux, go to GTK units. See: 1 - http://ima

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-13 Thread Martin
On 11/05/2013 05:11, silvioprog wrote: and I use Step Over (F8), the cursor go to "line 2", but the same code in Linux, go to GTK units. See: 1 - http://imagebin.org/257292 2 - http://imagebin.org/257294 (after first F8) I don't know debug code in assembler. I'm pretty sure the problem is i

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-12 Thread Martin
Any update? as for the stepping out (4), I *guess* that eithur: - fpc or the linker were changed and the debug info is incorrectly generated (Though I did not see any commit with a log message, suggesting work on this) - Something changed in GDB On 11/05/2013 12:20, Martin wrote: On 11/05

Re: [Lazarus] Can anybody login into bug tracker?

2013-05-11 Thread Martin
On 11/05/2013 16:47, Martin wrote: On 11/05/2013 16:32, Gabor Boros wrote: Hi, I tried to login but after press Login button noting happen. Same result with a random username. Tried with FF and IE. Seems the tracker works when you are logged in. But submitting the actual login form does not

Re: [Lazarus] Can anybody login into bug tracker?

2013-05-11 Thread Martin
On 11/05/2013 16:32, Gabor Boros wrote: Hi, I tried to login but after press Login button noting happen. Same result with a random username. Tried with FF and IE. Seems the tracker works when you are logged in. But submitting the actual login form does not return (time out) -- _

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-11 Thread Martin
On 11/05/2013 05:11, silvioprog wrote: 2013/5/8 Martin mailto:laza...@mfriebe.de>> You did not answer this. If you hit a breakpoint, do you still get the asm? Well, Not to be difficult, but the answer below relates to the question above in which way? I am glad for you to

Re: [Lazarus] GDB 7.6 Issues

2013-05-10 Thread Martin
On 10/05/2013 13:49, Torsten Bonde Christiansen wrote: Hi List. After the latest update of my Arch Linux i got a hold of GDB 7.6 and for some apparent reason debugging from within lazarus has stopped working as it should. At least there is a problem with breakpoints, since they are not always

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-08 Thread Martin
On 08/05/2013 18:26, silvioprog wrote: 2013/5/8 Martin mailto:laza...@mfriebe.de>> So question: has the original issue been resolved ? You did not answer this. If you hit a breakpoint, do you still get the asm? Or is that part of the issue solved? IIRC it is tricky

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-08 Thread Martin
On 08/05/2013 16:35, silvioprog wrote: 2013/5/8 silvioprog mailto:silviop...@gmail.com>> 2013/5/8 Martin mailto:laza...@mfriebe.de>> [...] Sorry, no that was not fixed. I was told something about path loading. That was hopped to fix initial is

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-08 Thread Martin
On 08/05/2013 15:10, silvioprog wrote: 2013/5/8 Juha Manninen > On 5/8/13, silvioprog mailto:silviop...@gmail.com>> wrote: >> Also update your svn. >> I was told that a potential issue was just fixed. > > Can you update GIT too? Do you u

Re: [Lazarus] Maybe using CodeTools to modify source code

2013-05-08 Thread Martin
On 08/05/2013 13:15, Graeme Geldenhuys wrote: On 2013-05-08 12:59, Martin wrote: Do something like lazlogger does. Thanks for the suggestion, I'll take a closer look at lazlogger. I do prefer not to leave debug code in all my units though. Otherwise I could simply continue using my

Re: [Lazarus] Maybe using CodeTools to modify source code

2013-05-08 Thread Martin
On 08/05/2013 12:38, Graeme Geldenhuys wrote: Hi, I want to ease my debugging by implementing a stand-alone tool that inserts trace calls (modified dbugintf calls) via a checkbox style treeview interface of my selected unit. Checking a method inserts a begin/end trace call pair, unchecking a met

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-08 Thread Martin
On 08/05/2013 04:50, silvioprog wrote: 2013/5/7 Martin mailto:laza...@mfriebe.de>> Also update your svn. I was told that a potential issue was just fixed. Can you update GIT too? I don't know who updates the GIT, I think it updates au

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-07 Thread Martin
Also update your svn. I was told that a potential issue was just fixed. On 07/05/2013 21:59, Martin wrote: Try at least the 2 debugln, So we can see if NewSource := CodeToolBoss.LoadFile(SrcFullName, true, false); is called. And if it returns a result or nil On 07/05/2013 18:54

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-07 Thread Martin
Try at least the 2 debugln, So we can see if NewSource := CodeToolBoss.LoadFile(SrcFullName, true, false); is called. And if it returns a result or nil On 07/05/2013 18:54, silvioprog wrote: 2013/5/6 Martin mailto:laza...@mfriebe.de>> On 06/05/2013 23:08, Martin wrote: D

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-07 Thread Martin
On 07/05/2013 18:54, silvioprog wrote: I tried it ...: http://imagebin.org/256833 ... but, error: http://imagebin.org/256834 Seems that "PropertyAtom" has renamed to "PropVarAtom" and "VarNameAtom" to "VarNameRange". Ok. I need to ask others. -- _

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-07 Thread Martin
On 07/05/2013 07:06, silvioprog wrote: 2013/5/6 Martin mailto:laza...@mfriebe.de>> Anyway. It has the right filename. * Please recompile the IDE with the following define CTDEBUG How I do it, in this way?: http://imagebin.org/256766 Almost. either put it in edit defines an

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-06 Thread Martin
On 06/05/2013 23:08, Martin wrote: Did you close the asm window before you tested? Anyway. It has the right filename. * Please recompile the IDE with the following define CTDEBUG * Please open the file \ide\debugmanager.pas line 1265 insert the TWO debugln if (SrcLine > 0)

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-06 Thread Martin
Did you close the asm window before you tested? On 06/05/2013 22:22, silvioprog wrote: 2013/5/6 silvioprog mailto:silviop...@gmail.com>> 2013/5/6 Martin mailto:laza...@mfriebe.de>> On 06/05/2013 21:24, silvioprog wrote: 2013/5/6 silvioprog mailto:silviop.

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-06 Thread Martin
On 06/05/2013 22:04, silvioprog wrote: 2013/5/6 Martin mailto:laza...@mfriebe.de>> On 06/05/2013 21:50, Martin wrote: On 06/05/2013 21:24, silvioprog wrote: 2013/5/6 silvioprog mailto:silviop...@gmail.com>> 2013/5/6 Martin mailto:laza...@mfriebe.de>>

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-06 Thread Martin
On 06/05/2013 21:50, Martin wrote: On 06/05/2013 21:24, silvioprog wrote: 2013/5/6 silvioprog mailto:silviop...@gmail.com>> 2013/5/6 Martin mailto:laza...@mfriebe.de>> And: please get a log: http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_d

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-06 Thread Martin
On 06/05/2013 21:24, silvioprog wrote: 2013/5/6 silvioprog mailto:silviop...@gmail.com>> 2013/5/6 Martin mailto:laza...@mfriebe.de>> And: please get a log: http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session Oops, I'll do

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-06 Thread Martin
On 06/05/2013 18:18, Martin wrote: On 06/05/2013 18:13, silvioprog wrote: 2013/5/6 silvioprog mailto:silviop...@gmail.com>> [...] I'm trying to debug this project: https://bitbucket.org/silvioprog/tcpipcomp/src/4ddfe31c5455154c85b746bdf35133f29465bb82/demo/console/se

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-06 Thread Martin
On 06/05/2013 18:13, silvioprog wrote: 2013/5/6 silvioprog mailto:silviop...@gmail.com>> [...] I'm trying to debug this project: https://bitbucket.org/silvioprog/tcpipcomp/src/4ddfe31c5455154c85b746bdf35133f29465bb82/demo/console/server.lpr?at=master Lazarus and Free Pascal in

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-06 Thread Martin
On 06/05/2013 17:56, silvioprog wrote: Hello, How to disable this window?: http://imagebin.org/256679 There is no global disable. That is no way to prevent it from being displayed. The thing is, it shouldn't be there in first. It only shows, if the source can not be found. So the questi

Re: [Lazarus] Can not run in debug mode for WinCe

2013-04-25 Thread Martin
On 25/04/2013 17:39, GREP wrote: I ran this same project with Lazrus 0.0... for about a year. The gdb was the same. The problem is clearly with some settings/options in Lazarus. There are *NO BLUE DOTS* in the compiledsource.The break points show a question mark. I have the D:\ in Other source. T

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-14 Thread Martin Schreiber
On Sunday 14 April 2013 08:42:17 Zaher Dirkey wrote: > > ​What is B,M,1,2,..6, is it Build Modes also?​ The menu items 'Project'-'Make','Build','Make 1','Make 2','Make 3','Mak

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-13 Thread Martin Schreiber
ourceforge.net/pics/optionsdirectories.png http://mseide-msegui.sourceforge.net/pics/optionsmacros.png Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] OT tip of the string/yarn

2013-04-13 Thread Martin
On 13/04/2013 20:46, Zaher Dirkey wrote: On Sat, Apr 13, 2013 at 10:44 PM, patspiper > wrote: I guess the original proverb is closer to 'tip of the string', meaning like the 1st lead or clue of a mystery or case. Yes true :) but i used "Yarn" instead of st

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-13 Thread Martin
he project, in each buildmode. I do not know if there are predefined macros On Sat, Apr 13, 2013 at 10:17 PM, Martin <mailto:laza...@mfriebe.de>> wrote: if defined(MACRONAME) then CustomOptions := ' -O-1 '; "head of the yarn"(proverb

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-13 Thread Martin
e) What i have I Have 2 build mode (Debug, Release) i want when use Debug all compiler option passed to SynEdit package and have debug info and so on, When use Release same. I have tested all adding $(ProjectOpts) or $(IDEBuildOptions) but debug not added to the sources. On Sat, Apr 13, 2013 a

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-13 Thread Martin
kages. Check package-graph for dependencies on FCL (includes indirect dependency) http://imagebin.org/253862 On 13/04/2013 15:51, Zaher Dirkey wrote: Hi, again, i failed to do that, any example to do it, for SynEdit package? On Tue, Mar 19, 2013 at 6:43 PM, Martin <mailto:laza...@mfriebe.de&g

Re: [Lazarus] IDE: how navigation in block works?

2013-04-11 Thread Martin
On 11/04/2013 17:03, Lubos Pintes wrote: Hi, How and when Ctrl+Q, K works? It seems to me that it does nothing. Contrary to Ctrl+Q, B. Note that in 1.1 (trunk) this key combo is broken: http://bugs.freepascal.org/view.php?id=24008 But the feature can be used by changing either of the conflicti

Re: [Lazarus] IDE: how navigation in block works?

2013-04-11 Thread Martin
On 11/04/2013 17:41, Martin wrote: On 11/04/2013 17:03, Lubos Pintes wrote: Hi, How and when Ctrl+Q, K works? It seems to me that it does nothing. Contrary to Ctrl+Q, B. If you have a selection it goes to the end of that selection. Of course in order for that to do something you need to go

Re: [Lazarus] IDE: how navigation in block works?

2013-04-11 Thread Martin
On 11/04/2013 17:03, Lubos Pintes wrote: Hi, How and when Ctrl+Q, K works? It seems to me that it does nothing. Contrary to Ctrl+Q, B. If you have a selection it goes to the end of that selection. Of course in order for that to do something you need to go away from the end of the selection fi

Re: [Lazarus] PAnsiChar to UTF8 issues

2013-04-09 Thread Martin
On 09/04/2013 15:22, Leonardo M. Ramé wrote: On 2013-04-09 15:20:33 +0100, Martin wrote: On 09/04/2013 15:11, Leonardo M. Ramé wrote: Hi, I'm working with a "C" shared library that returns a pointer to char. It's all ok when not using special characters such as "ñ&qu

Re: [Lazarus] PAnsiChar to UTF8 issues

2013-04-09 Thread Martin
On 09/04/2013 15:11, Leonardo M. Ramé wrote: Hi, I'm working with a "C" shared library that returns a pointer to char. It's all ok when not using special characters such as "ñ" or accents, but when I get these, they are replaced by "?" signs. For example, if I receive an "ñ", the debugger shows

Re: [Lazarus] Caret is not blinking in Unix

2013-04-05 Thread Martin
On 05/04/2013 14:01, Mehmet Erol Sanliturk wrote: There may be such a variable , but what and where it is , I do not know . I tried to find such a variable in SynEdit , but , SynEdit is very complicated , and I am not using any part of it , and also I do not know its internals . Lazarus is

Re: [Lazarus] Caret is not blinking in Unix

2013-04-05 Thread Martin
done there. (Search FScreenCaret). On Fri, Apr 5, 2013 at 4:14 AM, Martin <mailto:laza...@mfriebe.de>> wrote: On 05/04/2013 12:04, Mehmet Erol Sanliturk wrote: What can be done to make the caret blinking in Unix ? On WIndows the caret is drawn by the OS. This

Re: [Lazarus] Caret is not blinking in Unix

2013-04-05 Thread Martin
On 05/04/2013 12:04, Mehmet Erol Sanliturk wrote: Previously I have sent the following message : http://lists.lazarus.freepascal.org/pipermail/lazarus/2013-March/079951.html A help is really appreciated very much . On TcustomControl canvas covering all of the form client area , the caret is

Re: [Lazarus] Debugging Lazarus in Lazarus - debugger error

2013-04-03 Thread Martin
m ran normally. Dňa 3. 4. 2013 12:55 Martin wrote / napísal(a): On 03/04/2013 08:28, Lubos Pintes wrote: Hi, Just tried the following: Opened \ide\lazarus.lpi and then pressed F7. The Assembler window appeared and after next F7 press, the following error appeared (copy of window text follows)

Re: [Lazarus] Debugging Lazarus in Lazarus - debugger error

2013-04-03 Thread Martin
On 03/04/2013 08:28, Lubos Pintes wrote: Hi, Just tried the following: Opened \ide\lazarus.lpi and then pressed F7. The Assembler window appeared and after next F7 press, the following error appeared (copy of window text follows) Debugger Error The debugger encountered an error when trying to

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-04-01 Thread Martin
On 01/04/2013 11:18, Mattias Gaertner wrote: On Mon, 01 Apr 2013 11:03:31 +0100 Martin wrote: On 01/04/2013 10:53, Mattias Gaertner wrote: On Mon, 01 Apr 2013 10:13:22 +0100 Martin wrote: [...] It could do a heuristic, checking if the result has such invalid chars, and if there is one

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-04-01 Thread Martin
On 01/04/2013 10:53, Mattias Gaertner wrote: On Mon, 01 Apr 2013 10:13:22 +0100 Martin wrote: [...] It could do a heuristic, checking if the result has such invalid chars, and if there is one then do all as #123. But an ascii sting may be a valid utf8 string sometimes, yet the utf8 would map

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-04-01 Thread Martin
On 01/04/2013 10:13, Martin wrote: On 01/04/2013 07:34, Ernest V Miller wrote: Sent log & source to . Ok, I can see what happens. I added in on mantis http://bugs.freepascal.org/view.php?id=24199 -- ___ Lazarus mailing list Laz

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-04-01 Thread Martin
On 01/04/2013 07:34, Ernest V Miller wrote: Sent log & source to . Ok, I can see what happens. Your GDB returns slightly different from mine (but correct). And it triggers the Code for utf8 correction. That is why you actually see the proper utf8 string, while I never do: I always g

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-03-28 Thread Martin
On 29/03/2013 01:18, Ernest V Miller wrote: There are 2 issues (in what I reproduced): 1) *** "???" Actually the "?" are really present in the string. They are put there by Utf8ToAnsi for characters that could not be translated to ansi. So in that the debugger shows the correct content. At

Re: [Lazarus] [SynEdit] do we still need LIST_CLEAR_NOT_VIRTUAL

2013-03-28 Thread Martin
On 25/03/2013 11:44, Zaher Dirkey wrote: On Tue, Feb 19, 2013 at 8:48 PM, Martin wrote: How long has it been virtual in the fpc base class? Sorry for the delay TList.Clear is virtual from revision 1, TFPList.Clear is not virtual. http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/rtl/objpas

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-03-28 Thread Martin
nd should be recognized very very similar. I think it is a bug, and it seems to me that it can be fixed with minimal changes. Martin wrote 28.03.2013 03:13:01: Currently the only way would be to allow the user to specify how to interpret a watch, that is the user would set in the watches proper

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-03-27 Thread Martin
On 27/03/2013 04:08, Ernest V Miller wrote: Hello! As we know, Lazarus is UTF8 friendly. When I want to see a value of a string var in cyrillic, I should convert it to UTF8, else I only get "?" in Watches window. For this code function TesterClass.quickTest : Boolean; var

Re: [Lazarus] [SynEdit] Corrupted line text when undo

2013-03-21 Thread Martin
On 21/03/2013 13:48, Zaher Dirkey wrote: Yes, it is work when i started with default environment no bug with it, so i attached my xml files. It's the "position only" trim trailing spaces. The space is not restored. Please report on mantis. On 21/03/2013 07:38, Zaher Dirkey wrote: Select a

Re: [Lazarus] [SynEdit] Corrupted line text when undo

2013-03-21 Thread Martin
On 21/03/2013 13:31, Zaher Dirkey wrote: This is a screen cast for this bug (my first try with site) http://screencast-o-matic.com/watch/cIerI3VqjY Sorry I do not run Java in my browser, so i can not view it. -- ___ Lazarus mailing list Lazarus@lis

Re: [Lazarus] [SynEdit] Corrupted line text when undo

2013-03-21 Thread Martin
On 21/03/2013 07:38, Zaher Dirkey wrote: Hi, Still not sure about it, but try this to confirm me Select a key word, press enter, (the second unit in uses for example), now press undo (ctrl+z), and see if it corrupted. Works here. Please attach your editor- and environment-option.xml (or sent

Re: [Lazarus] IUnknown and reference counting

2013-03-21 Thread Martin Schreiber
name in the class > > declaration. > > Does this mean that CORBA interfaces are not reference counted at all, > or you use them without reference counting? > They are not reference counted. The descinator "CORBA" is misleading anyway. Martin -- __

Re: [Lazarus] Compile project release with LCL custom optimization

2013-03-19 Thread Martin
On 19/03/2013 15:38, Graeme Geldenhuys wrote: On 2013-03-19 11:21, Zaher Dirkey wrote: I already have mode "Release" with that options, but not sure it take over LCL sourcecode too. No, that is the really annoying thing about Lazarus Packages. Settings do not resonate up the hierarchy. So if yo

Re: [Lazarus] IDE autocomplete nuisance

2013-03-14 Thread Martin
On 15/03/2013 02:42, stdreamer wrote: On 15/3/2013 3:56 πμ, Xiangrong Fang wrote: Hi All, While I use auto complete of a property, the IDE inserts ":=" for me automatically, this is good, but how can I make it auto insert a SPACE before the colon so that I don't need to get back and insert it m

Re: [Lazarus] IDE: debug watch

2013-03-14 Thread Martin
On 15/03/2013 02:14, Xiangrong Fang wrote: Hi, While single-stepping. I would like to check some data with the "Evaluate/Modify" tool, for example view the count of a stringlist, I get: Type TSTRINGLIST = class has no component named COUNT. As a matter of fact, I get this kind of thing with

Re: [Lazarus] IDE Feature Request - Can Select All be added to the right-click menu in the editor?

2013-03-12 Thread Martin
On 13/03/2013 01:12, Frank Church wrote: On 11 March 2013 17:38, Martin wrote: On 11/03/2013 00:01, Frank Church wrote: IDE Feature Request - Can Select All be added to the right-click menu in the editor Feel free to add a feature request on mantis. Otherwise it will probably be forgotten

Re: [Lazarus] IDE Feature Request - Can Select All be added to the right-click menu in the editor?

2013-03-11 Thread Martin
On 11/03/2013 00:01, Frank Church wrote: IDE Feature Request - Can Select All be added to the right-click menu in the editor Feel free to add a feature request on mantis. Otherwise it will probably be forgotten. IMHO the menu has already a lot of items. And a likelihood that other items wi

Re: [Lazarus] [SynEdit] FR: Add hcCodeFolding to TSynHighlighterCapability

2013-03-10 Thread Martin
On 10/03/2013 21:43, Zaher Dirkey wrote: Thanks and One more to be completed for me, in SynPas also class function TSynPasSyn.GetCapabilities: TSynHighlighterCapabilities; begin Result := inherited GetCapabilities + [hcUserSettings, hcCodeFolding]; end; That should be covered by inherited?

Re: [Lazarus] [SynEdit] FR: Add hcCodeFolding to TSynHighlighterCapability

2013-03-10 Thread Martin
On 10/03/2013 20:07, Zaher Dirkey wrote: Hi, Would please add hcCodeFolding to TSynHighlighterCapability in SynEditHighlighter and to Pascal Highlighter (at least) to check in my editor. Thanks in advance Done. You can also check inheritance from TSynCustomFoldHighlighter --

Re: [Lazarus] Editor component

2013-03-08 Thread Martin
On 08/03/2013 14:57, Timothy Groves wrote: I need an editor component with two features: Undo and word wrapping. SynEdit/SynMemo do not support word wrapping. Memo does not support undo. What is my best option? There is a port of the original SynEdit in version 2.0.x (See the wiki about

Re: [Lazarus] Memo.Lines.BeginUpdate

2013-03-08 Thread Martin
On 08/03/2013 14:08, Juha Manninen wrote: On Fri, Mar 8, 2013 at 3:43 PM, Vincent Snijders wrote: Method number 1. is about 40 times faster! I expected method number 2. to be the fastest. Why? There is lot of comminucation between the LCL and widgetset, even if the widgetset doesn't paint any

Re: [Lazarus] History Window?

2013-03-07 Thread Martin
On 07/03/2013 10:45, Graeme Geldenhuys wrote: Hi, I accidentally pressed Ctrl+Alt+H and it brought up a History window. See attached image. Pressing F1 didn't bring up any help (using Lazarus 1.0.6). What is that window used for? F1 should bring you to the wiki http://wiki.lazarus.freepasca

Re: [Lazarus] XanaNews port to Lazarus

2013-03-05 Thread Martin Schreiber
de from KDE 3.5? Works well for me. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] copying version info, [was: Re: Ok I give up!]

2013-03-05 Thread Martin
On 05/03/2013 18:53, stdreamer wrote: I just recently installed a snapshot version of Lazarus on Windows (I cannot copy the version number from the "about" window because I cannot select text. Why?). Just right click any where on the version tab and use the popup menu to copy. (again I could

Re: [Lazarus] Ok I give up!

2013-03-02 Thread Martin
On 02/03/2013 13:49, appjaws wrote: On 02/03/13 12:16, Reinier Olislagers wrote: On 2-3-2013 13:05, appjaws wrote: Hi, How do you write the contents of a Memo to a file and read back into a Memo? Memo1.Lines.SaveToFile Memo1.Lines.LoadFromFile I tried the following line but I just get an err

Re: [Lazarus] Ide add-ons licensing issue

2013-02-23 Thread Martin
All info from memory: double check yourself. Also, I am no lawyer, and the info below is my opinion (my understanding of the licensing situation) On 23/02/2013 15:50, Giuliano Colla wrote: It's my company policy to provide our customers the source code of the applications, with a licensing co

Re: [Lazarus] [SynEdit] do we still need LIST_CLEAR_NOT_VIRTUAL

2013-02-19 Thread Martin
On 19/02/2013 18:44, Zaher Dirkey wrote: In SynHighlighterHashEntries at line 101 Clear method in FreePascal is virtual, do we need to check LIST_CLEAR_NOT_VIRTUAL? How long has it been virtual in the fpc base class? -- ___ Lazarus mailing list Laz

Re: [Lazarus] Problems with Lazarus

2013-02-19 Thread Martin Schreiber
On Tuesday 19 February 2013 09:17:59 Johann Spies wrote: > My endeavour to return to Pascal is getting to the point of frustration: > BTW there is another IDE with integrated debugging for FPC available which maybe can fulfill your needs.

Re: [Lazarus] Problem with zeos and sqlite-3

2013-02-17 Thread Martin Schreiber
w" AS select * ,cast(0 as integer) as nullint from > table1; > > PRAGMA table_info('testview'); You should use sqlite3_column_type() instead of PRAGMA table_info(). Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.f

Re: [Lazarus] Problem with zeos and sqlite-3

2013-02-17 Thread Martin Schreiber
; in SQL property of tmsesqlquery returns ftinteger for the nullint field. Can you post a simple complete example? Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Problem with zeos and sqlite-3

2013-02-17 Thread Martin Schreiber
in a select statement, just tested with MSEgui git master and Sqlite 3.7.12.1. Is the problem caused by VIEW? Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Problem with zeos and sqlite-3

2013-02-15 Thread Martin Schreiber
added a check of sqlite3_column_type() if there is no existing fielddef. Seems to work for sum() statements. git master 81d976c8372a6654a3a2962e12d57c53eaac0176. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Problem with zeos and sqlite-3

2013-02-14 Thread Martin Schreiber
the fielddefs datatype. Maybe Zeos has a similar option? Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus 1.0.6 Release

2013-02-07 Thread Martin
On 07/02/2013 12:37, leledumbo wrote: Probably the one after this, note that Lazarus and FPC have separate release cycle, and Lazarus default distribution will always depend on the latest stable release of FPC (2.6.2 isn't out yet, right?). Yep. Currently the newest (released) fpc is 2.6.0 AF

Re: [Lazarus] Code Completion Templates

2013-02-05 Thread Martin
On 05/02/2013 19:42, Sven Barth wrote: On 05.02.2013 18:30, Mattias Gaertner wrote: Donald Ziesig hat am 5. Februar 2013 um 23:16 geschrieben: Could anyone point me at the file(s) containing the templates invoked with Ctrl-Shift-C? ... It's hard coded. See components/codetools/codecompletion

Re: [Lazarus] Synedit free makes an access violation exception

2013-02-01 Thread Martin
On 01/02/2013 20:48, ik wrote: On Fri, Feb 1, 2013 at 10:45 PM, Martin wrote: On 01/02/2013 20:43, Martin wrote: I will have to debug that. It may be that Cutter.Assign is not working. It seems to only copy the pointers to the other edits gutter parts... And that is not right. If you

Re: [Lazarus] Synedit free makes an access violation exception

2013-02-01 Thread Martin
On 01/02/2013 20:43, Martin wrote: I will have to debug that. It may be that Cutter.Assign is not working. It seems to only copy the pointers to the other edits gutter parts... And that is not right. If you whish to look (I dant know when I get to it). I THINK it may be this procedure

Re: [Lazarus] Synedit free makes an access violation exception

2013-02-01 Thread Martin
of course, that actually requires a TSynSourceEditor... which is impossible for packages, because it is in the ide On 01/02/2013 20:22, ik wrote: On Fri, Feb 1, 2013 at 10:12 PM, Martin wrote: Well do you add, remove, create any gutterparts? Assigned gutterparts, what is the proper

Re: [Lazarus] Synedit free makes an access violation exception

2013-02-01 Thread Martin
Well do you add, remove, create any gutterparts? On 01/02/2013 20:08, ik wrote: On Fri, Feb 1, 2013 at 8:13 PM, Martin wrote: On 01/02/2013 17:47, ik wrote: Helllo, When trying to do SynEdit.free (and FreeAndNil), I have an access violation exception. I cant figure out why. My code: https

Re: [Lazarus] TSynCustomBeautifier

2013-02-01 Thread Martin
On 01/02/2013 19:39, Misha Padalka wrote: Hello! I'm trying to create a custom SynEdit Beautifier, and looks like I need to access FCurrentEditor and FCurrentLines fields of TSynCustomBeautifier. But they are delcared private, so I cannot. By the way, SynBeautifierPascal access them (it is loc

Re: [Lazarus] Synedit free makes an access violation exception

2013-02-01 Thread Martin
On 01/02/2013 17:47, ik wrote: Helllo, When trying to do SynEdit.free (and FreeAndNil), I have an access violation exception. I cant figure out why. My code: https://github.com/ik5/split_lazarus/blob/master/src/untlazsplitview_code.pas#L174 Lazarus 1.1 r40111M FPC 2.6.0 x86_64-linux-gtk 2 Sta

Re: [Lazarus] Class never seems to be initialized

2013-01-28 Thread Martin
On 28/01/2013 21:04, ik wrote: Hello, I have a very weird problem: I have a class as a property of another class. I initialize it, but when checking if it was assigned, I get always false (both at: https://github.com/ik5/split_lazarus/blob/master/src/untlazsplitview_code.pas#L189 and https://g

Re: [Lazarus] debugging a lazarus plugins

2013-01-28 Thread Martin
On 28/01/2013 19:15, ik wrote: On Mon, Jan 28, 2013 at 9:06 PM, Martin wrote: On 28/01/2013 19:04, Martin wrote: On 28/01/2013 18:53, ik wrote: Hello, My plugins (https://github.com/ik5/split_lazarus) does almost all I want it to do, but not the way I want it to be made. What are the best

Re: [Lazarus] debugging a lazarus plugins

2013-01-28 Thread Martin
On 28/01/2013 19:04, Martin wrote: On 28/01/2013 18:53, ik wrote: Hello, My plugins (https://github.com/ik5/split_lazarus) does almost all I want it to do, but not the way I want it to be made. What are the best ways to debug my code inside Lazarus ? Either debug the entire IDE (open ide

Re: [Lazarus] debugging a lazarus plugins

2013-01-28 Thread Martin
On 28/01/2013 18:53, ik wrote: Hello, My plugins (https://github.com/ik5/split_lazarus) does almost all I want it to do, but not the way I want it to be made. What are the best ways to debug my code inside Lazarus ? Either debug the entire IDE (open ide/lazarus.lpi and hit F9), or write a te

Re: [Lazarus] the options window crash

2013-01-28 Thread Martin
IDECommandList.FindCategoryByName Have you registered it? look at EditorMacros, it does that On 28/01/2013 16:14, ik wrote: Hello, I'm trying to register a new section for the key shortcut option: https://github.com/ik5/split_lazarus/blob/master/src/untlazsplitview_code.pas#L42 Lazarus ha

Re: [Lazarus] finding the package of the unit

2013-01-28 Thread Martin
On 28/01/2013 15:58, Mattias Gaertner wrote: On Mon, 28 Jan 2013 17:50:47 +0200 ik wrote: On Mon, Jan 28, 2013 at 5:46 PM, ik wrote: Hello, How can If find what is the package that the file lazarusidestrconsts.pas belongs to ? Context menu on editor tabs. See if it is in one of the packages

Re: [Lazarus] TStringGrid.AutoEdit and options

2013-01-27 Thread Martin
On 27/01/2013 23:35, Jesus Reyes wrote: --- El dom 27-ene-13, Martin escribió: De: Martin Asunto: Re: [Lazarus] TStringGrid.AutoEdit and options A: "Lazarus mailing list" Fecha: domingo, 27 de enero de 2013, 5:54 On 27/01/2013 11:50, Martin wrote: TStringGrid has:

Re: [Lazarus] TStringGrid.AutoEdit and options

2013-01-27 Thread Martin
On 27/01/2013 14:23, Bart wrote: On 1/27/13, Martin wrote: TStringGrid has: - property AutoEdit:Boolean - Options eoGoEdit - Options eoAlwaysShowEditor I figured some behavioural differences with the options. But I can set AutoEdit True/False nothing changes. What does it do? Or what Should

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