[Lazarus] Images in SynEdit

2012-12-13 Thread ListMember
I am playing around with the XanaNews NNTP client, and I am considering using SynEdit as it's text editor. While there are other ways of displaying images enclosed with the message, it would be nice (easier for me) if SynEdit itself allowed displaying these images (at the end). I don't need

Re: [Lazarus] Images in SynEdit

2012-12-13 Thread ListMember
On 2012-12-13 17:08, Martin wrote: On 13/12/2012 14:58, ListMember wrote: I am playing around with the XanaNews NNTP client, and I am considering using SynEdit as it's text editor. While there are other ways of displaying images enclosed with the message, it would be nice (easier for m

[Lazarus] Forward declare (modern) records [was: Re: "global" operator overloading]

2013-02-26 Thread ListMember
All three types, records, objects and classes have their purposes and uses and one can select the one that is most fitting in a given situation. Is it possible to forward declare records the way we can with classes? I mean, with classes, I can do this: TSecondClass = class; TFirstClass = C

Re: [Lazarus] Forward declare (modern) records [was: Re: "global" operator overloading]

2013-02-26 Thread ListMember
On 2013-02-26 17:18, Sven Barth wrote: On 26.02.2013 16:15, ListMember wrote: All three types, records, objects and classes have their purposes and uses and one can select the one that is most fitting in a given situation. Is it possible to forward declare records the way we can with

Re: [Lazarus] Forward declare (modern) records [was: Re: "global" operator overloading]

2013-02-26 Thread ListMember
On 2013-02-26 18:04, Lukasz Sokol wrote: Would it not do to have classes here (s/record/class) and [Set|Get][Byte|Word|Cardinal]String be class procedure; //'s and/or class function; //'s instead ? User code needs to create and destroy classes. With records, there's no need for any of that.

Re: [Lazarus] Forward declare (modern) records [was: Re: "global" operator overloading]

2013-02-27 Thread ListMember
On 2013-02-27 13:28, Sven Barth wrote: Am 27.02.2013 10:51, schrieb Michael Schnell: On 02/26/2013 04:18 PM, Sven Barth wrote: You CAN NOT have the record used as a field inside itself, Using a pointer to this type within a record does make a lot of sense for creating linked lists. I do this

Re: [Lazarus] data matrix with thousands of columns

2013-04-02 Thread ListMember
On 2013-03-26 16:38, Andrea Mauri wrote: I am looking for the best option in order to store big datasets with thousands of columns. The dataset can contains from tens to hundred thousands lines and thousand of columns (some columns are string some numbers). Have you looked at '/Synopse Big Tab

Re: [Lazarus] Web vs desktop development

2016-01-17 Thread ListMember
On 2016-01-17 03:10, Graeme Geldenhuys wrote: Consider me old school, or a traditionalist, but give me a "proper" programming language (Object Pascal and Java springs to mind), a compiler, debugger and desktop software. Though not free or open source, Elevate Web Builder seems to fit your def

Re: [Lazarus] Web vs desktop development

2016-01-17 Thread ListMember
On 2016-01-17 12:04, Michael Van Canneyt wrote: On Sun, 17 Jan 2016, ListMember wrote: Though not free or open source, Elevate Web Builder seems to fit your definition of "proper". Or http://smartmobilestudio.com/ Is also a good contender. I hadn't heard of t

Re: [Lazarus] Opening non existing files and (not) adding them to the project

2016-01-17 Thread ListMember
On 2016-01-17 16:30, Sven Barth wrote: when I opened a non-existing file and I confirmed that I want to have it created the file was not added to project or the project's mainfile. But, isn't this how Delphi has been doing it all these years. 1) When you create a new unit, it automatically ge

Re: [Lazarus] EndOfLine

2016-02-07 Thread ListMember
On 2016-02-08 00:33, hfiandor wrote: Thanks again, and if you know how to read the Delphi help with the Windos8.1, I will appreciate very much. does this help? https://support.microsoft.com/en-us/kb/917607 -- ___ Lazarus mailing list Lazarus@lists.

Re: [Lazarus] EndOfLine

2016-02-07 Thread ListMember
You might also want to read this thead: http://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_install/winhlp32-do-we-have-to-go-through-this-again/ddcc2f40-e4f3-407b-9672-ee8a2b08a71e?auth=1 Especially this one: Here is a solution (thanks to Komeil Bahmanpour): Go to his site

Re: [Lazarus] Having multiple Lazarus like GetLazarus version

2016-03-24 Thread ListMember
On 2016-03-24 16:35, Aradeonas wrote: Windows Taskbar that you can pin apps dont accept parameters so if you pin you Lazarus that runs with parameters and next time click on icon on taskbar it will open but keep another shortcut on Taskabr. Could you try this: 1) Create shortcut on the deskto

[Lazarus] WriteLn back to the GUI

2013-10-23 Thread ListMember
Hello, I am trying to find where WriteLn is declared; but, apparently, WriteLn is among the select few that Lazarus will ignore 'Find Declaration' requests --at least that's how it behaves (latest Lazarus stable) on my side. My ultimate goal, after finding where it is declared, is to locally

Re: [Lazarus] WriteLn back to the GUI

2013-10-23 Thread ListMember
On 2013-10-23 11:33, Lukasz Sokol wrote: On 23/10/13 07:59, ListMember wrote: Hello, I am trying to find where WriteLn is declared; but, apparently, WriteLn is among the select few that Lazarus will ignore 'Find Declaration' requests --at least that's how it behaves (latest Laz

Re: [Lazarus] WriteLn back to the GUI

2013-10-23 Thread ListMember
On 2013-10-23 18:10, Sven Barth wrote: Am 23.10.2013 17:06, schrieb Sven Barth: Am 23.10.2013 08:59, schrieb ListMember: Hello, I am trying to find where WriteLn is declared; but, apparently, WriteLn is among the select few that Lazarus will ignore 'Find Declaration' requests

Re: [Lazarus] WriteLn back to the GUI

2013-10-23 Thread ListMember
On 2013-10-23 18:55, Michael Van Canneyt wrote: On Wed, 23 Oct 2013, ListMember wrote: And I just found an example which already does this for TCustomEdit descendants: http://kd5col.info/swag/DELPHI/0017.PAS.html I've not tested it in FPC, so maybe small adjustments might be nece

Re: [Lazarus] WriteLn back to the GUI

2013-10-23 Thread ListMember
On 2013-10-23 18:58, Sven Barth wrote: Am 23.10.2013 17:50, schrieb ListMember: This is far too (incredibly) elaborate. It's a bit like giving me plans to set up an army to invade a country when all I want to do is to visit it as a tourist :) No, this is the officially supported w

Re: [Lazarus] WriteLn back to the GUI

2013-10-23 Thread ListMember
On 2013-10-23 21:46, Sven Barth wrote: "Writeln" is a complex functionality. So you should better trust us (hint: I'm a compiler developer) when we say this is more difficult than you imagine. I know you're a compiler developer; and, I have no intention of challenging you on that front --actu

Re: [Lazarus] WriteLn back to the GUI

2013-10-23 Thread ListMember
On 2013-10-23 21:11, Marco van de Voort wrote: On Wed, Oct 23, 2013 at 09:59:04AM +0300, ListMember wrote: My ultimate goal, after finding where it is declared, is to locally modify that part of the sources so that (instead of writing to the console) it will use a global callback to display

Re: [Lazarus] WriteLn back to the GUI

2013-10-23 Thread ListMember
On 2013-10-23 22:36, Sven Barth wrote: I've attached my own version of EditText which I just adjusted. It works very similar to the original version I linked, but allows to use any TCustomEdit descendant (TMemo is one of them). Thank you. But, I am still getting "exception class: 'External:

Re: [Lazarus] WriteLn back to the GUI

2013-10-23 Thread ListMember
On 2013-10-23 23:20, Hans-Peter Diettrich wrote: ListMember schrieb: Frankly, I agree that I should not have to modify the compiler or the RTL; especially for something like redirecting the WriteLn output from console to my own application. But, doing it through text drivers etc. is --how

Re: [Lazarus] WriteLn back to the GUI

2013-10-24 Thread ListMember
On 2013-10-24 06:45, Hans-Peter Diettrich wrote: I'd suggest that you write an file driver first, to get familiar with the functions to implement. Play around using an file buffer, or with direct file I/O. Then it should be easier to replace the file by another (GUI) component, in the next step

Re: [Lazarus] WriteLn back to the GUI

2013-10-24 Thread ListMember
On 2013-10-24 10:46, Sven Barth wrote: Did you read (and understand) what I wrote? I did, of course, read; but, apparently, I didn't understand it the way you meant. Sorry. You need to "store the old value of "Output" and restore" it afterwards. This means for your button click event: Go

Re: [Lazarus] WriteLn back to the GUI

2013-10-24 Thread ListMember
On 2013-10-24 21:49, Sven Barth wrote: And if you'd now be so kind to explain please why you compile the compiler into your application? (I'm just curious ^^) Curiousity, really. And, there are several. First, I wanted to see if it's possible/hard to work with compiler sources under Lazarus.

Re: [Lazarus] WriteLn back to the GUI

2013-10-25 Thread ListMember
On 2013-10-25 10:53, Sven Barth wrote: Am 25.10.2013 01:06, schrieb ListMember: One of my aims (one which we discussed here a few years ago) is to rip the parser and lexer from the compiler. I want to have a token tree (including directives) from the mouth of the horse (so to speak). That will

Re: [Lazarus] WriteLn back to the GUI

2013-10-25 Thread ListMember
On 2013-10-25 04:16, Hans-Peter Diettrich wrote: You won't get any assistance by the FPC developers, all you can do is tweaking a copy of the compiler code. I have gathered as much --though, not through first hand experience, thankfully; but, through witnessing others get burnt ;( And, even

Re: [Lazarus] WriteLn back to the GUI

2013-10-25 Thread ListMember
On 2013-10-25 14:53, Sven Barth wrote: In my opinion that energy is better put into getting e.g. fcl-passrc up to date and keep it that way (so that at least each release can handle code that the compiler also accepts). You're, of course, right. But, never mind the question of which part of

Re: [Lazarus] WriteLn back to the GUI

2013-10-26 Thread ListMember
On 2013-10-26 11:45, Sven Barth wrote: > If we could say that with enouh conjfidence, I'd gladly shift my focus to fcl-passrc. The main tests for what FPC supports and what not is for one compiling (or in this context at least "parsing") the compiler's source, the RTL and the packages. Additi

Re: [Lazarus] WriteLn back to the GUI

2013-10-26 Thread ListMember
On 2013-10-26 14:43, Sven Barth wrote: > I am having difficulty interpreting '^^'. > What is it meant to mean? It's a Japanese emoticon for ":)". They do it vertically instead of horizontally and often I prefer those ;) See also: http://en.m.wikipedia.org/wiki/Kaomoji Not in a million year

Re: [Lazarus] WriteLn back to the GUI

2013-10-26 Thread ListMember
On 2013-10-26 15:19, Sven Barth wrote: And of course additional tests can be added and maybe we'll also need to mark some tests as "parses, but fails to compile" (e.g. to test linker errors, semantic errors or whatever). Additionally one could try to make fcl-passrc a fragmentary parser so th

Re: [Lazarus] code formating [wan: Re: WriteLn back to the GUI]

2013-10-26 Thread ListMember
On 2013-10-26 19:19, Martin wrote: On 26/10/2013 17:12, ListMember wrote: One of my main hope is to come up with a fast enough code formatter with the options that I need. Have you looked at jedi? (Install package JCF). It has plenty of options. BUt it fails parsing some newer code. But if

Re: [Lazarus] WriteLn back to the GUI

2013-10-26 Thread ListMember
On 2013-10-26 20:11, Sven Barth wrote: Am 26.10.2013 18:12 schrieb "ListMember" <mailto:listmem...@letterboxes.org>>: > I have started looking at fcl-passrc and it looks usable so far. But, I need to reformat it all :) And, then get it to work under D7. Please note th

Re: [Lazarus] code formating [wan: Re: WriteLn back to the GUI]

2013-10-27 Thread ListMember
On 2013-10-26 22:52, Juha Manninen wrote: On Sat, Oct 26, 2013 at 8:13 PM, Martin wrote: Probably need to install package "Cody" Yes, it is in Cody package mainly because the user interface is not as polished as it should be (according to Mattias). Cody has "advanced" features. I have used the

[Lazarus] Bug in cody. Exploding a hanging with block.

2014-06-08 Thread ListMember
I had some time to spare and I thought I might take a shot at, my long time desire of, getting rid of 'with's in VirtualTrees.pas One thing I noticed is this: If the with block is more involved than a simple element, such as this: with Owner, FHeader, FFixedAreaConstraints, TreeView do

Re: [Lazarus] Bug in cody. Exploding a hanging with block.

2014-06-08 Thread ListMember
On 2014-06-08 23:14, Mattias Gaertner wrote: On Sun, 08 Jun 2014 21:50:17 +0300 ListMember wrote: One thing I noticed is this: If the with block is more involved than a simple element, such as this: with Owner, FHeader, FFixedAreaConstraints, TreeView do begin you have to start

Re: [Lazarus] Bug in cody. Exploding a hanging with block.

2014-06-09 Thread ListMember
On 2014-06-09 08:52, Mattias Gaertner wrote: On Mon, 09 Jun 2014 00:29:28 +0300 ListMember wrote: such as: if something then with somethingelse begin {code} end; No. You need a 'do'. :) I'd have been surprised if your hadn't caught that typo. And, it i

Re: [Lazarus] Bug in cody. Exploding a hanging with block.

2014-06-09 Thread ListMember
On 2014-06-09 22:34, Mattias Gaertner wrote: On Mon, 09 Jun 2014 21:49:32 +0300 ListMember wrote: [...] 1) Could there be an option so that cody leaves (within the source itself) a commented-out copy of the block it has altered. Feel free to send a patch for that. I haven't looked a

Re: [Lazarus] Bug in cody. Exploding a hanging with block.

2014-06-11 Thread ListMember
On 2014-06-10 13:57, Mattias Gaertner wrote: I implemented that. Thank you. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Need help with LibIconv

2014-10-31 Thread ListMember
I need to convert one char (codepoint) in one encoding to another char (codepoint) in a different encoding. And, I need to do that one char (codepoint) at a time (IOW, no strings; just a single char/codepoint). This is the function prototype I'd like to use in my application: function Conver

Re: [Lazarus] Play video from memory

2015-03-06 Thread ListMember
On 2015-03-06 19:32, aradeonas wrote: Dear Silvio I checked them before and I couldn't find out way for opening from memory. Seeing that there isn't an option to feed a memorystream to a video player, it seems your best option to do that using a RAMDisk. You could use mapped file streams for

Re: [Lazarus] Synapse development

2015-05-01 Thread ListMember
On 2015-05-01 19:50, Graeme Geldenhuys wrote: Has the original author moved on to other things? This is not confirmed information but inference: Synapse's copyright holder (original author) is Lukas Gebauer whose Sourceforge alias is 'Geby'. If you look at the trunk in SF, you'll see that a

[Lazarus] Height of IDE header

2015-05-06 Thread ListMember
It has always bothered me in a subtle ways but never enough to ask about it before --the thread about IDE's graphical interface helped it come up to surface. I am referring to the main window (the narrow strip of a window) of the IDE. It appears to be a few pixels too high for no apparent reas

Re: [Lazarus] I have some custom components, can I convert Delphi -> Lazarus?

2015-06-18 Thread ListMember
On 2015-06-18 23:32, Bo Berglund wrote: There could be a vulnerability for hacking, though, since someone couls create a fake dll with the same interface and this way circumvent our protection... You could add another function to that DLL and do an authentication handshake (to check that the

Re: [Lazarus] Please test this page

2015-11-18 Thread ListMember
On 2015-11-17 03:47, Anthony Walter wrote: Can I get a some people to test this Lazarus/Free Pascal documentation portal I've re-imagined? http://docs.getlazarus.org/ I have tried this link with Firefox, PaleMoon, Chrome and IE under Win10 x64 http://docs.getlazarus.org/rtl/index-8.html Sc

Re: [Lazarus] Please test this page

2015-11-18 Thread ListMember
On 2015-11-18 12:58, Anthony Walter wrote: Okay, just FYI I fixed it so that if you directly link to the page, the browser will be able to handle it anyways. I hadn't gone to a direct link. IIRC, I had clicked on 'Index' after selecting a class (which was TPersist [sic]) Anyway, it works now

Re: [Lazarus] Please test this page

2015-11-18 Thread ListMember
On 2015-11-18 17:13, Anthony Walter wrote: ListMember, does it do that quirk with every page you select? If so then there is a bug where each link is trying to load on the top window instead of the frame. If that's the case try a different brwoser and tell me if it's still happens.

Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-08 Thread ListMember
Mattias, This sudden eruption of political correctness inspired me; and, as a person of proper upbringing, it led me to realize just how offended I have been all through these years of the profanity and vulgar language sprinkled in and among Lazarus sourcecode. A quick search reveals 69 occu