[Lazarus] Looking for a general text editor
Sven Barth
pascaldragon at googlemail.com
Fri Feb 17 21:49:48 CET 2012
On 17.02.2012 20:15, Darius Blaszyk wrote:
>
> On Feb 17, 2012, at 7:30 PM, Bart wrote:
>
>> On 2/16/12, felipemonteiro.carvalho at gmail.com
>> <felipemonteiro.carvalho at gmail.com> wrote:
>>> Em 16/02/2012, às 20:41, Bart<bartjunk64 at gmail.com> escreveu:
>>>> Why not simply use my MruList unit
>>>> (http://home.tiscali.nl/~knmg0017/software/fpc_laz/mrulists.zip) as
>>>> well?
>>
>>> If it is portable it should be fine
>>
>> It should be, this is the uses clause:
>>
>> uses
>> SysUtils, Classes, Controls, Registry, IniFiles, FileUtil;
> It won't be. Registry is windows only. Why not implement something yourself based on an XML file? Should be trivial. Here's some inspiration: http://www.angusj.com/delphi/mruunit.html
You are wrong. The Registry unit of FPC is implemented in a Cross
Plattform way. On non-Windows plattforms it uses a XML file to store the
values. As long as you don't need security related stuff (access
control, etc) or need to access Registry keys of the OS or other
applications this should be sufficient.
Regards,
Sven
More information about the Lazarus
mailing list