Re: [Lazarus] "protected" as class property incorrectly highlighted

2017-02-01 Thread Martin Frb via Lazarus
On 01/02/2017 12:00, Torsten Bonde Christiansen via Lazarus wrote: As "protected" is not a reserved word (http://www.freepascal.org/docs-html/current/ref/refse3.html#x11-11.3) in any modes I think this is a bug in the highlighter. Should I report it to the bugtracker? Yes, Please

Re: [Lazarus] Semicolon checking

2017-01-16 Thread Martin Frb via Lazarus
On 16/01/2017 12:29, DougC via Lazarus wrote: I'm not going to kick you, Mark, as your comments are spot on. What I think wold be very helpful to the FPC community is a warning that is issued when a semi-colon is immediately followed by a "begin" as that is an unusual construct and, as shown

Re: [Lazarus] Dynamic Form Components - SynEdit Help Please...

2016-10-03 Thread Martin Frb via Lazarus
See mail from Mattias. On 03/10/2016 22:17, Martin Collins via Lazarus wrote: If IsPublishedProp(Comp, 'Lines') then begin PropInfo := GetPropInfo(Comp, 'Lines', [tkClass]); SynEdit.Lines is TStrings, not TStringList. HTMLFile := TStringList(GetObjectProp(Comp,

Re: [Lazarus] How to use strings properly with fixes_1_6 and FPC 3.0.0?

2016-10-21 Thread Martin Frb via Lazarus
On 21/10/2016 22:16, Juha Manninen via Lazarus wrote: UTF-16. It does not support all the complex rules of combining CodePoints, but it apparently works well for accented characters in western languages. Which ones does it not support? When I added it to SynEdit it was complete. It had all

Re: [Lazarus] SynEdit - marking a line

2016-11-18 Thread Martin Frb via Lazarus
On 18/11/2016 07:50, Torsten Bonde Christiansen via Lazarus wrote: Hi List. I have just recently started playing with SynEdit and all it's features, but so far things have been going good. The examples in lazarus are fine and have helped a lot! However i would like to mark a whole line,

Re: [Lazarus] Lazarus Release 1.6.2

2016-11-15 Thread Martin Frb via Lazarus
On 15/11/2016 18:52, Kostas Michalopoulos via Lazarus wrote: The main site seems to still serve the 1.6.0 download. Yes there is always some delay, as different people are involved in all the steps. -- ___ Lazarus mailing list

Re: [Lazarus] Lazarus Release 1.6.2

2016-11-15 Thread Martin Frb via Lazarus
On 15/11/2016 21:10, Mattias Gaertner via Lazarus wrote: On Tue, 15 Nov 2016 15:11:31 -0500 Reggie Brooks via Lazarus wrote: Can this 1.6.2 release be installed over an existing 1.6.0 installation, or would I have to uninstall the 1.6.0 first? The

Re: [Lazarus] Watch List shows absolute rubbish

2016-10-14 Thread Martin Frb via Lazarus
On 14/10/2016 17:02, Graeme Geldenhuys via Lazarus wrote: On 2016-10-14 16:48, Graeme Geldenhuys via Lazarus wrote: How the hell is one supposed to do debugging like this?? I guess the answer is to simply use MSEide to debug LCL applications (and all other applications too). Attached is a

Re: [Lazarus] Watch List shows absolute rubbish

2016-10-14 Thread Martin Frb via Lazarus
On 14/10/2016 19:14, Graeme Geldenhuys via Lazarus wrote: On 2016-10-14 18:45, Martin Frb via Lazarus wrote: And the same compiler settings? Both have the exact same compiler settings... -l -Mobjfpc -Sh -Sc -Si -gl -O- -gh -dUseCThreads -viewn I excluded the unit paths from the above list

Re: [Lazarus] Xneur issue, Linux

2017-03-24 Thread Martin Frb via Lazarus
On 24/03/2017 17:54, Alexey via Lazarus wrote: "xneur" package exists in Ubuntu. Site for app exists too. Install, run. Now in GEdit/ Sublime type: //PRosto SOme aa xneur fixes it: //Prosto Some aa In Lazarus IDE xneur makes error: //PRostoProst SOmeSome aa (its a test, real usage not needed

Re: [Lazarus] Strange problem compiling IDE

2017-03-26 Thread Martin Frb via Lazarus
On 26/03/2017 22:11, C Western via Lazarus wrote: I am having a strange problem when compiling the IDE (current svn for both IDE and FPC). The compilation stops with Warning: Recompiling Expr, checksum changed for spe {impl} "changed for spe" either spe got recompiled, or you have 2

Re: [Lazarus] Strange problem compiling IDE

2017-03-28 Thread Martin Frb via Lazarus
On 28/03/2017 21:53, C Western via Lazarus wrote: On 28/03/17 18:56, Martin Frb via Lazarus wrote: "checksum changed for spe.ppu" was the first error. That is exactly what happens. Isn't the full path to the ppu available to the compiler? If the error message had been checks

Re: [Lazarus] Strange problem compiling IDE

2017-03-28 Thread Martin Frb via Lazarus
On 28/03/2017 11:23, Giuliano Colla via Lazarus wrote: Il 26/03/2017 23:11, C Western via Lazarus ha scritto: Expr.pas(78,12) Fatal: Can't find unit Expr used by FormGrid I believe that many problems of this kind could be solved at the root if the fpc error message was not as misleading as

Re: [Lazarus] Terminal window while debugging

2017-03-05 Thread Martin Frb via Lazarus
On 05/03/2017 18:53, Darius Blaszyk via Lazarus wrote: On Linux I don't get the terminal to show when debugging a command line application. How can I instruct the IDE to display the terminal? There is the console window, but I prefer to see the terminal instead. On windows this seems to be

Re: [Lazarus] dynamic string proposal

2017-08-16 Thread Martin Frb via Lazarus
On 16/08/2017 10:51, Mattias Gaertner via Lazarus wrote: Of course an appropriate "char" type for each string encoding brand could to be provided, hence a "CP_QWord Char" as an alias or a QWord. There is no QWord codepage. That would be confusing. And that would still not be "char", but

Re: [Lazarus] dynamic string proposal

2017-08-16 Thread Martin Frb via Lazarus
On 16/08/2017 16:20, Juha Manninen via Lazarus wrote: The word "character" in Unicode can mean: 1. CodeUnit — Represented by Pascal type "Char". Actually no. It can overlap. But a codeunit is NOT a character. For example a codeunit that holds a codepoint of class "combining mark", this is

Re: [Lazarus] dynamic string proposal

2017-08-16 Thread Martin Frb via Lazarus
On 16/08/2017 13:37, Alexey via Lazarus wrote: On 16.08.2017 15:30, Martin Frb via Lazarus wrote: A char can be composed of several combining code points (each of them afaik, in the 32 bit range). So a char can have 96 or more bits. (And not all of them have a combined form). See my prev

Re: [Lazarus] dynamic string proposal

2017-08-16 Thread Martin Frb via Lazarus
On 16/08/2017 13:48, Michael Schnell wrote: On 16.08.2017 14:30, Martin Frb via Lazarus wrote: And that would still not be "char", but "codepoint" A char can be composed of several combining code points (each of them afaik, in the 32 bit range). So a char can

Re: [Lazarus] IDE-SynEdit Caret Color

2017-07-18 Thread Martin Frb via Lazarus
On 18/07/2017 17:41, Dmitry Boyarintsev via Lazarus wrote: On Tue, Jul 18, 2017 at 12:33 PM, Dmitry Boyarintsev > wrote: So I'm wondering is multi-caret / Internal synedit drawing is enabled at all time. In the IDE yes. It

Re: [Lazarus] IDE-SynEdit Caret Color

2017-07-18 Thread Martin Frb via Lazarus
On 18/07/2017 14:53, Dmitry Boyarintsev via Lazarus wrote: Hello Is there an option to control caret color of IDE editor? I typically use classic color scheme, that means blue background with yellow text. However, the OS caret still draws the caret in black. On SynEdit internals, there's a

Re: [Lazarus] dynamic string proposal

2017-08-16 Thread Martin Frb via Lazarus
On 16/08/2017 16:55, Juha Manninen via Lazarus wrote: On Wed, Aug 16, 2017 at 6:24 PM, Martin Frb via Lazarus <lazarus@lists.lazarus-ide.org> wrote: Actually no. I know CodeUnit and CodePoint are not called "character" officially by the Unicode Standard. They however are c

Re: [Lazarus] dynamic string proposal

2017-08-16 Thread Martin Frb via Lazarus
On 16/08/2017 20:44, Juha Manninen via Lazarus wrote: So using "char" (the type) as reference to "codepoint" is something we have to do, because today the type "char" is for codepoints. Sorry I didn't understand this one. "Char" (the type) holds a codeunit, not a codepoint. Char is either 1

Re: [Lazarus] what do i see left of the Scrollbar?

2017-05-11 Thread Martin Frb via Lazarus
On 11/05/2017 08:50, Landmesser John via Lazarus wrote: just curious: what do i see left of the Editor windows Scrollbar ... these little colored bars? An overview of the entire file (all lines) orange boxes are location of errors (compilation) blue boxes are bookmark red boxes are

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread Martin Frb via Lazarus
On 18/05/2017 00:34, Joe via Lazarus wrote: But Code Completion offers three functions named GetEnvironmentVariable: The Ansistring function and the Unicode String function above plus "GetEnvironmentVariable(lpName: LPCSTR; lpBuffer: LPSTR; nSize: DWORD): DWORD". Looks like you may have the

Re: [Lazarus] How to make debugging ignore exceptions?

2017-06-25 Thread Martin Frb via Lazarus
On 24/06/2017 07:23, Bo Berglund via Lazarus wrote: I might add that I have visited: Tools/Options/Debugger/Language Exceptions and unchecked the box "Notify on Lazarus Exceptions" (which is a similar setting as in Delphi). But it does not stop the IDE from breaking on the exception handler I

[Lazarus] Please vote for Lazarus on Sourceforge's "project of the month"

2017-06-25 Thread Martin Frb via Lazarus
Hi, Lazarus has been chosen by Sourceforge “Community Choice” Project of the Month Vote – August 2017 see https://sourceforge.net/blog/community-choice-project-of-the-month-vote-august-2017/ https://sourceforge.net/p/potm/discussion/vote/thread/c01d6b94/ We would like everyone here to

Re: [Lazarus] IDE hilite all same words don't check word-only

2017-06-27 Thread Martin Frb via Lazarus
On 22/06/2017 15:35, Alexey via Lazarus wrote: This is hilite of word dlg_hotkey_replace: other ids hilited too, but i dont want other words. How not to hilite other words? There is an option to control this. Menu: Tools > Options > Editor > Display > Markup and Matches Highlight of Word

Re: [Lazarus] Measuring text width in a TEdit

2017-05-30 Thread Martin Frb via Lazarus
On 30/05/2017 07:36, Torsten Bonde Christiansen via Lazarus wrote: Hi List. I want to know the placement of the caret (in pixels, not character count) in a TEdit. However i am struggeling to fint a method that will allow me to do so. If i try to calculate it using the assigned font, I have

Re: [Lazarus] (Local) variable value hints

2017-06-07 Thread Martin Frb via Lazarus
On 06/06/2017 20:54, Mark Morgan Lloyd via Lazarus wrote: Bearing in mind things like the %H hint that Lazarus uses to suppress warning messages, is there anything comparable that can be applied to a variable so that when the IDE pops up a value during debugging it will always be shown in a

Re: [Lazarus] (Local) variable value hints

2017-06-07 Thread Martin Frb via Lazarus
On 07/06/2017 14:42, Mark Morgan Lloyd via Lazarus wrote: Yes, but I was thinking about the case when a value pops up unbidden during normal stepping-through. Can the default witching format be changed? Hex might be more appropriate. Generally yes, but depends how... A simple integer

Re: [Lazarus] IDE hilite all same words don't check word-only

2017-06-27 Thread Martin Frb via Lazarus
On 27/06/2017 11:16, Alexey via Lazarus wrote: The default is 3. So Words with more chars, are highlighted also if part of a bigger word. Do you agree that normal editors have "Whole words" option, and not "some length up to n" option? Yes, but "up to" is more flexible, and fully includes

Re: [Lazarus] Lazarus code editor: what happened with the caret?

2017-10-09 Thread Martin Frb via Lazarus
About scrolling due to caret moves. Not sure if my suggestion in the other mail (7 Oct 15:12 SynNewScrollBarUpdate) helped? If not, I can think of 2 causes. 1) The scrollbar change is not noted. If that is the case, I have no idea (SynNewScrollBarUpdate does affect this) 2) SynEdit does

Re: [Lazarus] Debugger constantly crashing.

2017-08-27 Thread Martin Frb via Lazarus
On 27/08/2017 21:54, Donald Ziesig via Lazarus wrote: On 08/27/2017 04:43 PM, Martin Frb via Lazarus wrote: 2) Try compiling with dwarf or stabs (project options / debugging). I think the default is stabs, so you should try dwarf. Thanks Martin.  I'll try these suggestions and let you

Re: [Lazarus] Debugger constantly crashing.

2017-08-27 Thread Martin Frb via Lazarus
On 27/08/2017 20:51, Donald Ziesig via Lazarus wrote: The GDB command: "-data-evaluate-expression CQ2WORLDDM.CQWORLDDATA^" did not return any result. The only thing that seems to be consistent with all of the crashes is that the expression being evaluated is dereferencing a pointer.  (I

Re: [Lazarus] Developing a WidgetSet

2017-10-08 Thread Martin Frb via Lazarus
I think there was some work before. (Afaik only carbon, Mac) Look at TControl properties AccessibleRole, AccessibleValue, AccessibleDescription. lcl\controls.pp line 1639 They refer to  TLazAccessibleObject (line 990) Then in control.inc line 150   procedure

Re: [Lazarus] Developing a WidgetSet

2017-11-26 Thread Martin Frb via Lazarus
I am not 100% sure, but maybe this is because (afaik) there is a hidden form for the task button. This hidden form can be disabled somewhere, then the main form will be responsible for the task button. On 20/11/2017 09:54, Lubos Pintes via Lazarus wrote: I can confirm that Inspect can see

Re: [Lazarus] Problem accessing the lazarus forums...

2017-12-03 Thread Martin Frb via Lazarus
On 03/12/2017 22:27, Bo Berglund via Lazarus wrote: I tried to find where the fpc.cfg file is located on my Raspbian Jessie system. fpc -va someunit.pas | grep "fpc.cfg" or similar -va means maximum verbose, it will tell you where it searches for the file, and where (if) it found it. --

Re: [Lazarus] Debugging libraries which define generics.

2017-12-15 Thread Martin Frb via Lazarus
On 15/12/2017 18:29, Martin Frb via Lazarus wrote: On 15/12/2017 15:46, Donald Ziesig via Lazarus wrote: 1. When the mouse hovers over a variable, the debugger (and program being debugged) frequently crashes with the error: "-data-evaluate-expression TCQPiece(ITEM)^" did

Re: [Lazarus] Assembler window shows but without Debugger Exception popup

2017-11-14 Thread Martin Frb via Lazarus
The info is enough for explaining what happens. Before I go to the reason: It is strange the debugger does not indicate that your app was killed by a signal SigTrap. (That should be reported as bug) The signal is actually caused by FPC (more below), and it looks like this causes windows to

Re: [Lazarus] Assembler window shows but without Debugger Exception popup

2017-11-13 Thread Martin Frb via Lazarus
On 13/11/17 10:40, Lubos Pintes via Lazarus wrote: What that means? An exception, access violation or what? It probably happens somewhere in my UI Automation implementation. The Call stack window doesn't show useful information. An F7 key tells something like "Cannot find function boundary".

Re: [Lazarus] Assembler window shows but without Debugger Exception popup

2017-11-13 Thread Martin Frb via Lazarus
Some more info on the original questions: The error about "not finding boundary", happens because your app is paused in code with no debug info. So the debugger does not know where the function starts or end. Nor does it know where the line starts, as there is no info on lines. Alt F7 will

Re: [Lazarus] Assembler window shows but without Debugger Exception popup

2017-11-13 Thread Martin Frb via Lazarus
On 13/11/17 16:26, Martin Frb via Lazarus wrote: Some more info on the original questions: While it would still be good to know what happens (see other part of this mail thread.) If this is caused by a 3rd party library, you may try if the following helps go to menu Tools, options

Re: [Lazarus] Highlight matching brackets

2017-12-11 Thread Martin Frb via Lazarus
On 11/12/2017 19:28, john landmesser via Lazarus wrote: issue occured after: Lazarus 1.9.0 r56216M FPC 3.0.2 x86_64-linux-gtk2 Am 11.12.17 um 20:04 schrieb Vojtěch Čihák via Lazarus: I can confirm. It is also broken for [] and {}. I observed that it depends on previous character:

Re: [Lazarus] Highlight matching brackets

2017-12-11 Thread Martin Frb via Lazarus
On 11/12/2017 19:49, Juha Manninen via Lazarus wrote: On Mon, Dec 11, 2017 at 9:34 PM, Martin Frb via Lazarus <lazarus@lists.lazarus-ide.org> wrote: Most likely (not verified) Revision: 56398 Message: SynEdit: Enable operations for an identifier also when caret is at its end. Patch from

Re: [Lazarus] Highlight matching brackets

2017-12-11 Thread Martin Frb via Lazarus
On 11/12/2017 20:05, Martin Frb via Lazarus wrote: It should only change CaretAtIdentOrString, but I am failing to see how that works (did not debug, just looked at it, so I might be wrong) In the line |=caret a:=foo|( It would have seen the "(", and returned false. But with th

[Lazarus] Pascalscript / testers please

2017-10-25 Thread Martin Frb via Lazarus
I updated the version of PascalScript shipped with Lazarus. As we still have a few patches applied, I wonder how well it works on each platform. If you like to test To test use Lazarus trunk (1.9).   Revision: 56200   Date: 25 October 2017 22:33:11 or later. Only trunk has the latest

[Lazarus] Pascalscript on arm

2017-10-25 Thread Martin Frb via Lazarus
Is anyone using the version of PascalScript shipped with Lazarus on an arm device? Our version has the below patch applied to it, and I do not know if this is correct (or still correct). If anyone has arm, could you please test? To test use Lazarus trunk (1.9).   Revision: 56200   Date: 25

Re: [Lazarus] Lazarus win32 with fpc-3.0.4 no memory left problem

2018-05-13 Thread Martin Frb via Lazarus
On 13/05/2018 13:16, Werner Pamler via Lazarus wrote: Am 13.05.2018 um 12:00 schrieb zeljko via Lazarus: Hi, Using trunk lazarus r57911 and fpc-3.0.4 (32 bit), Windows 10. When rebuilding ide from lazarus got "No memory left" while linking IDE. I have bunch of 3rd party packages so I guess that

Re: [Lazarus] IDE multi-carets issue

2018-05-20 Thread Martin Frb via Lazarus
On 20/05/2018 09:16, AlexeyT via Lazarus wrote: I have 4 carets on lines     c.SetValue('/dialog/fl_btm/posx', FFormFloatBottom.Left);     c.SetValue('/dialog/fl_btm/posy',  FFormFloatBottom.Top);     c.SetValue('/dialog/fl_btm/sizex', FFormFloatBottom.Width);    

Re: [Lazarus] IDE multi-caret options wishes

2018-05-21 Thread Martin Frb via Lazarus
On 21/05/2018 11:07, AlexeyT via Lazarus wrote: In General tab of options we have 3 opts for multicarets. 1a) fix one of them- "multi caret" - "multi-caret" like others 1b) place all 3 under separator line () below, name group like "Multi-caret". it is good to see all opts related

Re: [Lazarus] IDE multi-caret options wishes

2018-05-22 Thread Martin Frb via Lazarus
On 22/05/2018 18:08, wkitty42--- via Lazarus wrote: On 05/22/2018 04:55 AM, AlexeyT via Lazarus wrote: You're right, but: IDE is for major audience, so need to use major terms, of current time: cursor is mouse cursor. not when i'm typing in the/an editor... that mouse thing is just trash to

Re: [Lazarus] Uninstalling of Lazarus 1.8.2 under Win 10 (64) incomplete

2018-05-23 Thread Martin Frb via Lazarus
On 23/05/2018 02:31, Joe via Lazarus wrote: I clicked on 'Einstellungen', then 'Apps', then 'Lazarus 1.8.2' and 'Deinstallieren'. A message appeared: 'Diese App und alle dazugehörigen Infos werden deinstalliert.' Again I clicked on 'Deinstallieren' and rebootet. Lazarus was removed, but not

Re: [Lazarus] Can't call the resource compiler

2018-06-14 Thread Martin Frb via Lazarus
On 15/06/2018 01:59, Vojtěch Čihák via Lazarus wrote: Hi, now I recompiled successfully after update to Lazarus 1.9.0 r58277M FPC 3.1.1 x86_64-linux-qt I see many updates related to lazdebuggers. May it be related? Unlikely, the debugger has nothing to do with calling fpcres --

Re: [Lazarus] SynEdit lexer dont hilite & char

2018-06-11 Thread Martin Frb via Lazarus
On 11/06/2018 16:57, AlexeyT via Lazarus wrote: MartinFb, are you sure & char must not be hilited as .,:= etc? it's black here. The & has 2 uses in fpc &101  an octal number   escape the "word" the latter makes only sense, if "word" is a reserved keyword. It allows you to do   var : integer;

Re: [Lazarus] CodeTools commands question

2018-06-19 Thread Martin Frb via Lazarus
On 19/06/2018 19:26, Ondrej Pokorny via Lazarus wrote: On 19.06.2018 19:22, Vojtěch Čihák via Lazarus wrote: Still, it would be nice to have two separate actions for this, Alt+Up and At+Down. I agree. But there is one problem: what to do with Ctrl+Click? AFAIK Lazarus IDE cannot change mouse

Re: [Lazarus] Pascalscript / testers please

2017-10-26 Thread Martin Frb via Lazarus
On 26/10/2017 21:30, kapibara via Lazarus wrote: The testcase runs 100% fine under Linux Debian 9 - 64 bit. Even 64 bit constructors work now. This is very good news! A long time ago, FPC rev. 26683 broke pascalscript's 64 bit support for constructors so I didn't expect that to work. A while

Re: [Lazarus] Can the Lazarus IDE match parentheses and begin/ends?

2018-01-06 Thread Martin Frb via Lazarus
On 06/01/18 10:25, Bo Berglund via Lazarus wrote: On Fri, 5 Jan 2018 14:12:59 +0100, Martin Frb via Lazarus <lazarus@lists.lazarus-ide.org> wrote: On 05/01/18 12:41, Bo Berglund via Lazarus wrote: I wonder if it is possible (and if so how) to enable the Lazarus code editor to match th

Re: [Lazarus] Package filenames with _package

2018-01-07 Thread Martin Frb via Lazarus
On 07/01/18 14:35, Ondrej Pokorny via Lazarus wrote: On 07.01.2018 20:29, Vojtěch Čihák via Lazarus wrote: Hi, click Package->New Package... it immediately opens Save dialog, where you choose filname. It saves xyz.lpk Then click Compile and xyz.pas is autogenerated. :D The question

Re: [Lazarus] Can the Lazarus IDE match parentheses and begin/ends?

2018-01-07 Thread Martin Frb via Lazarus
On 07/01/18 22:31, Bo Berglund via Lazarus wrote: In another code line if I do the same and put the cursorat the end ); between the last chars, then the highlight comes on and boxes the last ) paired with a ( on 7 lines above when there are a lot of both ( and ) inbetween Clearly an

Re: [Lazarus] Any tips to speed up Lazarus->GDB debugger?

2018-01-11 Thread Martin Frb via Lazarus
On 11/01/2018 15:13, Dennis via Lazarus wrote: I am using Lazarus 1.8 Win64 , FPC 3.0.4. As with older versions, debugger is very slow (compared to Delphi). Is there any tricks I can use to speed up the debugger e.g. turn off debug info of all lazarus units/object files? I remember in Delphi

Re: [Lazarus] Any tips to speed up Lazarus->GDB debugger?

2018-01-11 Thread Martin Frb via Lazarus
On 11/01/2018 15:13, Dennis via Lazarus wrote: I remember in Delphi 5, they had an option of whether to use Debug dcu (of the main VCL units/objects files). Is there a similar switch I can use to disable debugger in all, except my own source code so as to speed up the debugger? To add to my

Re: [Lazarus] Can the Lazarus IDE match parentheses and begin/ends?

2018-01-05 Thread Martin Frb via Lazarus
On 05/01/18 14:12, Martin Frb via Lazarus wrote: eg *  "Procedure" will highlight 3 keyword: Procedure, begin, end, * "Begin/end (procedure)" highlights only the begin and end of a procedure block My mistake "Procedure"  is just Procedure ...end And both of

Re: [Lazarus] Can the Lazarus IDE match parentheses and begin/ends?

2018-01-05 Thread Martin Frb via Lazarus
On 05/01/18 12:41, Bo Berglund via Lazarus wrote: I wonder if it is possible (and if so how) to enable the Lazarus code editor to match the open/close parenthesis and begin/end block delimiters? brackets are already answered in the other mails. begin/end is not on the wiki (yet), but it is in

Re: [Lazarus] Can the Lazarus IDE match parentheses and begin/ends?

2018-01-10 Thread Martin Frb via Lazarus
On 10/01/2018 18:29, Bo Berglund via Lazarus wrote: On Sun, 7 Jan 2018 22:45:09 +0100, Martin Frb via Lazarus <lazarus@lists.lazarus-ide.org> wrote: Please check this kind of errors, with 1.8.2 (once released) or the bug fix patch applied. I guess I will have to get around to learni

Re: [Lazarus] Editor Macros looses key shortcuts

2018-01-15 Thread Martin Frb via Lazarus
On 15/01/2018 22:01, Vojtěch Čihák via Lazarus wrote: Hi, it happened me already twice (yesterday and ~month ago) that Editor Macros lost key shortcuts. All macros remains in EditorMacros.xml but without any key shortcut info, i.e. there are no Shift1="1" Key2="79"/> nodes. One

Re: [Lazarus] Debug library (Error on Documentation?)

2018-01-26 Thread Martin Frb via Lazarus
On 26/01/2018 20:06, Daniel Gaspary via Lazarus wrote: To debug a shared Library the wiki [1] says : "Go to Run/Run Parameters, enter the full path of the application that uses your library in Launching Application " But in my case what work was to fill only the field "Host Application". Yes

Re: [Lazarus] Lazarus Console text

2018-02-11 Thread Martin Frb via Lazarus
On 10/02/18 22:36, Wolf via Lazarus wrote: On 11/02/2018 00:37, Martin Frb via Lazarus wrote: Source code (if you want to create a patch) is in debugger/pseudoterminaldlg.pp pseudoterminaldlg.pp defines a class TPseudoConsoleDlg, which contains a field Memo1: TMemo Memo1 already contains

Re: [Lazarus] Lazarus Console text

2018-02-11 Thread Martin Frb via Lazarus
On 11/02/18 20:47, Wolf via Lazarus wrote: On 11/02/2018 22:06, Martin Frb via Lazarus wrote: On 10/02/18 22:36, Wolf via Lazarus wrote: On 11/02/2018 00:37, Martin Frb via Lazarus wrote: Source code (if you want to create a patch) is in debugger/pseudoterminaldlg.pp

Re: [Lazarus] Lazarus Console text

2018-02-10 Thread Martin Frb via Lazarus
On 10/02/18 08:10, Wolf via Lazarus wrote: What must I do to change font on the Lazarus console - not the Kubuntu console - to a monospace font, and how do I change font color there? You refer to the Console / "Terminal Output" from the menu View > Debug Windows? There are currently no

Re: [Lazarus] Wrong error message in "Liste der überwachten Ausdrücke"

2018-08-01 Thread Martin Frb via Lazarus
This can currently not be fixed. http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Properties Currently neither dwarf-2, nor stabs allow the compiler to tell the debugger about properties. So for the debugger properties do not exist, hence the error. For the specific case, try (IIRC):

Re: [Lazarus] TESTERS NEEDED / ALL PLATFORMS / COPY AND PASTE / Re: Copy to clipboard from synedit

2018-07-15 Thread Martin Frb via Lazarus
Those tests should be done WITHOUT GTK_REMOVE_CLIPBOARD_NULL defined. On 15/07/2018 12:27, Martin Frb via Lazarus wrote: On 15/07/2018 12:07, Michael Van Canneyt via Lazarus wrote: It seems a fix is available but needs to be enabled using a define ? Please try with rev 58530 To be tested

[Lazarus] TESTERS NEEDED / ALL PLATFORMS / COPY AND PASTE / Re: Copy to clipboard from synedit

2018-07-15 Thread Martin Frb via Lazarus
On 15/07/2018 12:07, Michael Van Canneyt via Lazarus wrote: It seems a fix is available but needs to be enabled using a define ? Please try with rev 58530 To be tested: - Copy one word from synedit  to  synedit - Copy one word from synedit  to  TEdit or TMemo - Copy one word from synedit 

Re: [Lazarus] TESTERS NEEDED / ALL PLATFORMS / COPY AND PASTE / Re: Copy to clipboard from synedit

2018-07-15 Thread Martin Frb via Lazarus
On 15/07/2018 14:39, Vojtěch Čihák via Lazarus wrote: Hi, I tested with Lazarus 1.9.0 r58530M FPC 3.1.1 x86_64-linux-qt. I tried also with -dDisableUTF8RTL All works well with two exceptions: 1) folded block is copied folded only in implementation section. In interface section become

Re: [Lazarus] Collapsible try...finally...except...end blocks idea

2018-07-17 Thread Martin Frb via Lazarus
On 17/07/2018 10:34, el_es via Lazarus wrote: In short, to have the nested try...finally/except...end; blocks display in a single tier flatter manner, like try try code block 1; finally code block 2; end; except code block 3; end; display in Lazarus like try code

Re: [Lazarus] IDE options - Colors need new layout

2018-09-01 Thread Martin Frb via Lazarus
On 01/09/2018 23:34, AlexeyT via Lazarus wrote: Editor- Display- Colors. with Synedit area. Not that easily done why bad? bottom part with 4 checkbuttons is nasty. how to redo? a) split "Priorities" controls (4 big listboxes with SpinEdits) to new sub-tab, under Colors. The point is

Re: [Lazarus] synedit markdown highlighter ?

2018-07-09 Thread Martin Frb via Lazarus
On 09/07/2018 19:57, leledumbo via Lazarus wrote: It might be easy to write one, markdown is rather simple. There is a tutorial how to write a HL http://wiki.lazarus.freepascal.org/SynEdit_Highlighter -- ___ Lazarus mailing list

Re: [Lazarus] Debugging Lazarus using Lazarus

2018-07-07 Thread Martin Frb via Lazarus
On 07/07/2018 11:46, Mark Morgan Lloyd via Lazarus wrote: When multiple copies of the same version (e.g. trunk) Lazarus are being run, with a view to stepping through a problem in IDE-related code, is there any way to force an override so that all windows associated with the "inner" copy are

Re: [Lazarus] fpdebug question

2018-07-13 Thread Martin Frb via Lazarus
On 13/07/2018 16:01, Vojtěch Čihák via Lazarus wrote: Hi, when I write following code (to force SIGSEGV) ... with fpdebug: also exception message box, when I click OK then Lazarus Main window dissapears, Access Violation, and I have to restart whole IDE. Is it known issue? After all

Re: [Lazarus] IDE option: Convert selection to string ?

2018-07-12 Thread Martin Frb via Lazarus
On 12/07/2018 14:19, Michael Van Canneyt via Lazarus wrote: It would be nice if the IDE could do this: select a block of text, and choose 'Refactoring -> convert to pascal string' Currently I have a separate tool that does this (both ways: quote and unquote, in case I need to re-rest an SQL

Re: [Lazarus] IDE option: Convert selection to string ?

2018-07-12 Thread Martin Frb via Lazarus
On 12/07/2018 14:36, Anthony Walter via Lazarus wrote: How about something that takes the current caret position in the source editor, the clipboard context, and inserts as a Pascal quoted string that wraps with + at the end of line, and appropriate system defined line break characters? The

Re: [Lazarus] Suggestion for Pascal SynEdit syntax from SublimeText

2018-04-05 Thread Martin Frb via Lazarus
On 05/04/2018 12:04, AlexeyT via Lazarus wrote: Sublime hilites names after procedure/function (also need: constructor/destructor) with special color. Good to have in Lazarus. It's nice. Screenshot: https://postimg.org/image/iho2n957b/ Feel free to add a feature request on mantis. It wont

Re: [Lazarus] Help: What color group is this?

2018-03-18 Thread Martin Frb via Lazarus
On 18/03/18 19:59, Anthony Walter via Lazarus wrote: I am trying to create some alternate styles for Lazarus and its code editor but am having a problem identifying some elements. Can anyone tell me what element group to which these belong?

Re: [Lazarus] Selection block/brace

2018-04-26 Thread Martin Frb via Lazarus
On 26/04/2018 21:56, Vojtěch Čihák via Lazarus wrote: Hi, Select to Brace does nothing, no matter if caret is outside or inside (),[] or {}. What it shoulld do? (abc|def) should select "def"? It seems to only work, if the caret is either before the opening ( or behind the ) It then

[Lazarus] New debugger for Mac based on lldb (Call for testers)

2018-10-14 Thread Martin Frb via Lazarus
With the Lazarus Release Candidate 1 for 2.0 a new debugger for Mac users has been shipped. It is based on LLDB, which is provided by apple and is ready to use. So there should no longer be a need to build and codesign gdb. As the LLDB integration is all new, it needs a lot of testing. So this

Re: [Lazarus] New debugger for Mac based on lldb (Call for testers)

2018-10-16 Thread Martin Frb via Lazarus
On 16/10/2018 23:23, C Western via Lazarus wrote: On 14/10/2018 20:09, Martin Frb via Lazarus wrote: - Go to Tools > Options > Debugger   In the "debugger type" dropdown, you should find and select "LLDB debugger (with fpdebug)"   The edit below this (where you nor

Re: [Lazarus] Use /dev/null for stdout

2018-10-24 Thread Martin Frb via Lazarus
On 23/10/2018 23:42, Martin Grajcar via Lazarus wrote: My process may get started with or without console. In the latter case, any write leads to "Disk full" on MacOS. As I can't eliminate all writes, I'd need to open both stdout and stderr as /dev/null. Have a look at logger frameworks.

Re: [Lazarus] Remove unmatched vars in published

2018-10-25 Thread Martin Frb via Lazarus
On 25/10/2018 19:09, Fabio Luis Girardi via Lazarus wrote: Hi Juha! I haven't a way to reproduce this, yet. Because of this I asked if Lazarus has way to remove unmatched instance class fields when saving the form/datamodule or that can be triggered manually. When I found a way to reproduce

Re: [Lazarus] Trying FPDebug

2019-01-01 Thread Martin Frb via lazarus
On 01/01/2019 11:08, Dennis via lazarus wrote: I am using Lazarus 1.9.0, FPC 3.1.1 You need either 2.1 or fixes 2.0 It works for me. I do not remember that it did not add it... but I know it did not ignore the ones that had been added. revision 59655 Anyway it works in latest trunk. I am

Re: [Lazarus] Extending the IDE auto-coding functionality

2018-12-17 Thread Martin Frb via lazarus
On 17/12/2018 18:24, Graeme Geldenhuys via lazarus wrote: The suggestions could be. 1. Add unit to uses clause that does define that class. Cody, invoke "Identifier dictionary" (one key press), select correct entry from list (up/down keys), hit return --

Re: [Lazarus] Extending the IDE auto-coding functionality

2018-12-17 Thread Martin Frb via lazarus
On 17/12/2018 19:09, Graeme Geldenhuys via lazarus wrote: On 17/12/2018 18:06, Martin Frb via lazarus wrote: Cody, Ah, I forgot about Cody. I remember somebody mention it once to me about a year or so ago. Not sure what everything it does, but I'll take a look. Is Cody something included

Re: [Lazarus] Wiki animated logo

2018-12-17 Thread Martin Frb via lazarus
On 17/12/2018 18:19, AlexeyT via lazarus wrote: Hi. Can someone replace animated http://wiki.freepascal.org/skins/pic/logo.gif  - running cat - to static pic? It can be from http://wiki.freepascal.org/Logos_and_Banners Why? -- ___ lazarus mailing

Re: [Lazarus] Extending the IDE auto-coding functionality

2018-12-17 Thread Martin Frb via lazarus
On 17/12/2018 19:07, Graeme Geldenhuys via lazarus wrote: No, the difference between what I'm suggesting (how Eclipse works) is that I have to manually trigger the suggestion list - be that via a shortcut, or a icon in the gutter, or a right-click popup in the Messages window. procedure

Re: [Lazarus] FPDebug - Which Dwarf?

2018-12-14 Thread Martin Frb via lazarus
On 14/12/2018 11:09, Gabor Boros via lazarus wrote: Hi All, I use Lazarus fixes_2_0 and FPC fixes_3_2 (OS_TARGET=win64 CPU_TARGET=x86_64). Which is the best Dwarf selection for this combination and FPDebug? Dwarf 3 should be perfectly fine. And yields better results (upper/lower case of

Re: [Lazarus] Failed to wait for debug event. Errcode: 4

2018-12-05 Thread Martin Frb via lazarus
On 02/12/2018 22:01, Vojtěch Čihák via lazarus wrote: Hi, sometimes, after I close my project, I got this message dialog: "Failed to wait for debug event. Errcode: 4". I can see this in console: Hint: (lazarus) [TMainIDE.DoRunProject] INIT Note: (lazarus) [TMainIDE.DoBuildProject]

Re: [Lazarus] Switching debugger based on Project settings for embedded targets

2018-11-20 Thread Martin Frb via lazarus
On 20/11/2018 22:44, Michael Ring via lazarus wrote: There is only one issue I see at the moment, the debugger is a global setting, afaik I cannot change the debugger configuration based on a project. The problem is that for debugging arm I will have to use arm-none-eabi-gdb, for pic32 I

Re: [Lazarus] what can we do to get a better debugger

2018-11-21 Thread Martin Frb via lazarus
On 21/11/2018 14:55, Joost van der Sluis via lazarus wrote: When I tested (last week), using "Pause" button, only the main thread stopped. There is no option to choose which thread you want to stop, no? Not that I have seen. I think (just a feeling/ no evidence) the debugger (in

[Lazarus] mEDBG Debugger [[was: Re: Switching debugger based on Project settings for embedded targets]]

2018-11-21 Thread Martin Frb via lazarus
On 21/11/2018 10:58, Dimitrios Chr. Ioannidis via lazarus wrote:   I would like to be involved / help as I am thinking implementing the mEDBG protocol and intergrate it to Lazarus to debug AVR MCU's using this debugger https://hackaday.io/project/162372-xplained-yourself .   I already tried

Re: [Lazarus] what can we do to get a better debugger

2018-11-21 Thread Martin Frb via lazarus
On 21/11/2018 13:08, Joost van der Sluis via lazarus wrote: Op 20-11-18 om 12:19 schreef Martin Frb via lazarus: That work is already in process (though very slowly / work has started/stopped plenty of times over the past many years). It is called FpDebug. Donations are still welcome. Under

Re: [Lazarus] mEDBG Debugger [[was: Re: Switching debugger based on Project settings for embedded targets]]

2018-11-21 Thread Martin Frb via lazarus
On 21/11/2018 14:09, Dimitrios Chr. Ioannidis via lazarus wrote: Hi,   thx for the info ! On 2018-11-21 14:25, Martin Frb via lazarus wrote: Depending on how your external exe works, you need some sort of control when to send which message, and how to parse the answers...   Actually I'll

Re: [Lazarus] Trying FPDebug

2018-11-22 Thread Martin Frb via lazarus
On 22/11/2018 16:08, Santiago A. via lazarus wrote: By the way, I see "FpDebug internal Dwarf-debugger (alpha)". An (Alpha) version, not (beta) version as you said. Is there a newer version, a (beta), or did you mean (alpha)? As part of Lazarus 2.0RC it is beta. --

  1   2   3   4   5   >