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 in

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 different

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 it

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 check

Re: [Lazarus] Keyboard handling messed up in LCL (recent change)

2017-03-28 Thread Martin Frb via Lazarus
On 29/03/2017 06:14, swwei via Lazarus wrote: Yes, I got the some problem today. While I'm busy with my time pressing software project, all of sudden, I found my m-key became a key. I've tried every possible way I can think of to fix it, but in vain. http://bugs.freepascal.org/view.php?id=2943

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 break

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 un

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-19 Thread Martin Frb via Lazarus
On 19/05/2017 09:27, Werner Pamler via Lazarus wrote: Am 18.05.2017 um 23:45 schrieb Werner Pamler via Lazarus: An issue with the installer for 1.8RC1 32bit Windows (I hope it has not been discussed already...): the checkbox to create a desktop icob is disabled. This happens when "Create a se

Re: [Lazarus] A simple way to stop the never ending story of long executable?

2017-05-20 Thread Martin Frb via Lazarus
On 20/05/2017 11:24, Giuliano Colla via Lazarus wrote: I had tried in remote times to activate the "use external gdb debug symbols file" option, and it didn't work properly, so I forgot about it. But some time ago I tried again, and now it turns out to work perfectly, at least under Linux. Wo

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 t

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 cer

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 co

Re: [Lazarus] True/False in Object Inspector

2017-06-11 Thread Martin Frb via Lazarus
On 11/06/2017 09:30, Ondrej Pokorny via Lazarus wrote: On 11.06.2017 8:05, kapibara via Lazarus wrote: It seems no longer possible to toggle a property true/false with double click. Is this a bug? It works here. What OS/WS? What settings (checkboxes or comboboxes for bool values)? I just te

[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 vote

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 w

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 unde

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] 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] 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 w

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 mailto:skalogryz.li...@gmail.com>> wrote: So I'm wondering is multi-caret / Internal synedit drawing is enabled at all time. In the IDE yes. It becomes active when the multi

Re: [Lazarus] Please consider adding Application Explorer to lazarus components folder

2017-07-25 Thread Martin Frb via Lazarus
On 25/07/2017 13:02, Maciej Izak via Lazarus wrote: 2017-07-24 0:08 GMT+02:00 Anthony Walter via Lazarus mailto:lazarus@lists.lazarus-ide.org>>: https://video.getlazarus.org/appexploregrid.mp4 Request filed under #32191 https:/

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 "code

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 have 96 or

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 n

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 wrote: Actually no. I know CodeUnit and CodePoint are not called "character" officially by the Unicode Standard. They however are called "character" in normal comm

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] 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 might

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 le

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

2017-10-06 Thread Martin Frb via Lazarus
Latest SynEdit uses a custom drawn caret. This was introduced to enable multiple carets. That is: having several carets at the same time, to type and edit several locations simultaneously. (e.g shift-alt down, gives you 2 carets, one in each row) Since Windows does not allow for more than one

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

2017-10-07 Thread Martin Frb via Lazarus
To rebuild the IDE, open the Tools Menu. 2nd last entry: "Build Lazarus ... profile name" Or last entry "Configure build lazarus" which opens a dialog, so you can specify compiler options. How does NVDA read the content of a control? Does it do OCR? Because SynEdit is entirely custom drawn. S

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

2017-10-07 Thread Martin Frb via Lazarus
If it hooks ExtTextOut, then the color settings will most likely make a difference. Each time the color (or text style, e.g. bold) changes, the Editor interrupts the output, and makes a new call. Also colors change, when the caret moves, so there is constant redrawing. I attached a file edit

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 TLazAccessibleObject.SetAccessibl

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 no

[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 O

[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 v

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 a

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". So

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

2017-11-13 Thread Martin Frb via Lazarus
n reader. So It may look I am asking for something obvious, sorry. Dňa 13. 11. 2017 o 13:49 Martin Frb via Lazarus napísal(a): -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

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 s

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. On the

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 c

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 the

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] 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: Most

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 wrote: Most likely (not verified) Revision: 56398 Message: SynEdit: Enable operations for an identifier also when caret is at its end. Patch from Dmitry D. Chernov. Ah, that is

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

Re: [Lazarus] Debugging libraries which define generics.

2017-12-15 Thread Martin Frb via Lazarus
On 15/12/2017 15:46, Donald Ziesig via Lazarus wrote: Hi All, I have been working on some *serious* :-$ software libraries that declare generic subprograms and classes. While debugging these I noticed: 1. When single-stepping, the line being highlighted in the editor window is almost a

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] 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-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-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 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 the open/close parenthesis and begin/end

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 was

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 erroneous

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 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 learning how to build fpc and lazarus on

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 o

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 possibili

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-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 sett

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] 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? http://cache.getlazarus.org/images/code-color-problem

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 b

Re: [Lazarus] Selection block/brace

2018-04-26 Thread Martin Frb via Lazarus
On 25/04/2018 03:01, Vojtěch Čihák via Lazarus wrote: Hi, I tried two items from Lazarus Edit menu: Select to Brace and Select Code Block. Both seem do nothing. Are they broken? I didn't use them before so I expexted they would do what their name say. I have Lazarus 1.9.0 r57693M FPC 3.1.1 x86

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 sel

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);     c.SetValue('/di

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 t

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 &word  escape the "word" the latter makes only sense, if "word" is a reserved keyword. It allows you to do   var &type:

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] 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] 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 ma

Re: [Lazarus] Debugging Lazarus using Lazarus

2018-07-07 Thread Martin Frb via Lazarus
On 07/07/2018 13:09, Mark Morgan Lloyd via Lazarus wrote: On 07/07/18 10:45, Martin Frb via Lazarus wrote: 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

Re: [Lazarus] Debugging Lazarus using Lazarus

2018-07-07 Thread Martin Frb via Lazarus
On 07/07/2018 12:41, Martin Frb via Lazarus wrote: In menu Run > Run Parameter, specify --primary-config-path=/somefolder Another big benefit: You can move the windows of the debugged IDE to a different location, and that will be saved. So from then on, when you start debugging the IDE,

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 Lazarus@lists.lazarus-i

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 c

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] 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 fpde

[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  t

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

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 unfol

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 block

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): List

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] Bugtracker IDE version list

2018-10-12 Thread Martin Frb via Lazarus
On 04/10/2018 14:42, AlexeyT via Lazarus wrote: b) Pls add 2.1 (trunk) added -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[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. LazL

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] what can we do to get a better debugger

2018-11-20 Thread Martin Frb via lazarus
On 20/11/2018 11:37, Dennis via lazarus wrote: FPC and Lazarus are great but the GDB is inadequate. Many times in my development, GDB failed or crashed, especially when I am debugging multi thread programs. Shall we start a fund raising event to raise fund for a new and better debugger for FP

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

2018-11-20 Thread Martin Frb via lazarus
On 20/11/2018 17:31, Dennis via lazarus wrote: Martok via lazarus wrote: Am 20.11.2018 um 11:37 schrieb Dennis via lazarus: FPC and Lazarus are great but the GDB is inadequate. Many times in my development, GDB failed or crashed, especially when I am debugging multi thread programs. Shall we

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 will

[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 to

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&#x

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 linux-classes)

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

2018-11-21 Thread Martin Frb via lazarus
On 21/11/2018 17:34, Michael Ring via lazarus wrote: Hi Martin, thank you for the detailled answer. I like your idea of creating Id's for debugger configurations and as I want to go step by step (and I have great respect of 130kBytes of code in TEnvironmentOptions) I wanted to start small and

  1   2   3   4   5   >