Re: [Lazarus] [ANN] Notepad++ plugin template/demo

2012-08-19 Thread Mark Morgan Lloyd
Reinier Olislagers wrote: Hi list, If you use the free Notepad++ text editor, you might have wanted to write a plugin for that in FPC/Lazarus. Ludo and I have ported over the Delphi "Hello World" template so now you can try and do exactly that. It's a first release, but initial tests on both t

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Juha Manninen
On Sun, Aug 19, 2012 at 2:58 PM, Reinier Olislagers < reinierolislag...@gmail.com> wrote: > Please see screenshot attached for an idea of how this could look. > Your basic idea of merging the dialogs MAY be good (?) but I don't like your way of implementing it. Sorry. The dialogs should merge in

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Reinier Olislagers
On 19-8-2012 14:37, Juha Manninen wrote: > On Sun, Aug 19, 2012 at 2:58 PM, Reinier Olislagers > mailto:reinierolislag...@gmail.com>> wrote: > > Please see screenshot attached for an idea of how this could look. > Hi Juha, Thanks for your quick comments. > Your basic idea of merging the dia

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Maxim Ganetsky
19.08.2012 15:58, Reinier Olislagers пишет: Hi list, The setup dialog that appears when you start Lazarus with e.g. the compiler set to a non-existent file and the options dialog cover the same settings and overlap a lot. This "overlapping" is made on purpose. The idea behind Initial Setup is

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Martin
On 19/08/2012 12:58, Reinier Olislagers wrote: Hi list, The setup dialog that appears when you start Lazarus with e.g. the compiler set to a non-existent file and the options dialog cover the same settings and overlap a lot. Maybe it's a good idea to think about merging them into one for future

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Martin
On 19/08/2012 14:02, Maxim Ganetsky wrote: This "overlapping" is made on purpose. The idea behind Initial Setup is exactly to emphasize the most important options to unexperienced users, because Options dialog has heaps of options which can cause confusion. If you want to indicate pages w

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Reinier Olislagers
On 19-8-2012 15:17, Martin wrote: > On 19/08/2012 14:02, Maxim Ganetsky wrote: >> >> This "overlapping" is made on purpose. The idea behind Initial Setup >> is exactly to emphasize the most important options to unexperienced >> users, because Options dialog has heaps of options which can cause >> c

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Reinier Olislagers
On 19-8-2012 15:10, Martin wrote: > On 19/08/2012 12:58, Reinier Olislagers wrote: > About the automatic search. I would not want the search for possible > locations be started each time I run the options (On my system - having > many installations - it takes 30 seconds) It could be called just be

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Ludo Brands
> The setup dialog, is meant to have only a very few settings. I do not > think we should display the full option dialog. > By showing only selected settings, it is much easier for the > user to see > what needs to be fixed. > > At the moment the only thing, that I think should still be > adde

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Martin
On 19/08/2012 14:24, Reinier Olislagers wrote: While I see your point, now the user gets 2 different visualisations of the same settings. I'd prefer a single layout so the user starts to recognize things. The user will probably see the complicated options menu sooner or later anyway - keeping him

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Martin
On 19/08/2012 14:28, Ludo Brands wrote: For a new user lazarus is now showing a form that is definitely much easier to understand than the full options window but he has no way to get back to that easy form when he has second thoughts (an old compiler selected for example). Perhaps merge the 2 fo

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Reinier Olislagers
On 19-8-2012 15:40, Martin wrote: > On 19/08/2012 14:24, Reinier Olislagers wrote: >> While I see your point, now the user gets 2 different visualisations of >> the same settings. I'd prefer a single layout so the user starts to >> recognize things. The user will probably see the complicated option

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Ludo Brands
> > For a new user lazarus is now showing a form that is > definitely much > > easier to understand than the full options window but he > has no way to > > get back to that easy form when he has second thoughts (an old > > compiler selected for example). Perhaps merge the 2 forms into one > >

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Martin
On 19/08/2012 14:48, Reinier Olislagers wrote: On 19-8-2012 15:40, Martin wrote: On 19/08/2012 14:24, Reinier Olislagers wrote: While I see your point, now the user gets 2 different visualisations of the same settings. I'd prefer a single layout so the user starts to recognize things. The user

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Martin
On 19/08/2012 14:57, Ludo Brands wrote: Having the same dialog with 2 "faces" makes sharing code also easier. The "faces" (GUI layout) and the sharing of code are to entirely independent issues. And one should not influence the other. Code can be shared by extracting it into a GUI independe

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Reinier Olislagers
On 19-8-2012 16:12, Martin wrote: > On 19/08/2012 14:48, Reinier Olislagers wrote: >> On 19-8-2012 15:40, Martin wrote: >>> On 19/08/2012 14:24, Reinier Olislagers wrote: >> Let's agree to disagree ;) >> > > Maybe, but maybe not so fast. WE need at least to agree, what we > disagree about. That's

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Martin
On 19/08/2012 15:24, Reinier Olislagers wrote: For this one could also add, to reset al window positions to default, or reset the keymapping... though care must be taken not to add to many things Do you mean via command line options? Or as a GUI option inside the setup dialog? In the setup dia

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Reinier Olislagers
On 19-8-2012 16:17, Martin wrote: > On 19/08/2012 14:57, Ludo Brands wrote: >> Having the same dialog with 2 "faces" makes sharing code also easier. >> > > The "faces" (GUI layout) and the sharing of code are to entirely > independent issues. And one should not influence the other. Yes, but visua

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Martin
On 19/08/2012 15:24, Reinier Olislagers wrote: If the setup is kept as it. That does not mean that the options can not be improved. They very much still should be improved. Only merging the setup into the options is not the way to go. Disagreed ;) To clarify my point. I only speak about the

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Reinier Olislagers
On 19-8-2012 16:36, Martin wrote: > On 19/08/2012 15:24, Reinier Olislagers wrote: >>> If the setup is kept as it. That does not mean that the options can not >>> be improved. They very much still should be improved. >>> >>> Only merging the setup into the options is not the way to go. >> Disagreed

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Martin
On 19/08/2012 15:30, Reinier Olislagers wrote: On 19-8-2012 16:17, Martin wrote: The "faces" (GUI layout) and the sharing of code are to entirely independent issues. And one should not influence the other. Yes, but visual consistency for the user is an argument. The setup dialog presents the se

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Martin
On 19/08/2012 15:42, Reinier Olislagers wrote: That makes it (to me) impossible to have a setup-like access to it. Then why not use the basic (vs advanced) options screen. Presumably the basic screen would group those elements anyway? Because it hasn't been implemented The basic would probab

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Reinier Olislagers
On 19-8-2012 16:58, Martin wrote: > On 19/08/2012 15:42, Reinier Olislagers wrote: >>> That makes it (to me) impossible to have a setup-like access to it. >> Then why not use the basic (vs advanced) options screen. Presumably the >> basic screen would group those elements anyway? >> >> > Because it

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Reinier Olislagers
On 19-8-2012 16:53, Martin wrote: > On 19/08/2012 15:30, Reinier Olislagers wrote: >> On 19-8-2012 16:17, Martin wrote: > The proposed merge (picture) added a 2nd set of categories (copied from > the setup) to the option. > That means, that in the option, one and the same setting will then be > acc

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Martin
On 19/08/2012 16:12, Reinier Olislagers wrote: Because it hasn't been implemented Then we can stop the entire discussion right now as it's all about changes that haven't been implemented. Yes, Its discuss first, then implement (If someone volunteers) Better, than someone writing a lot of cod

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Reinier Olislagers
On 19-8-2012 17:23, Martin wrote: > On 19/08/2012 16:12, Reinier Olislagers wrote: >>> Because it hasn't been implemented >> Then we can stop the entire discussion right now as it's all about >> changes that haven't been implemented. > Yes, > > Its discuss first, then implement Yes, I understand

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Martin
On 19/08/2012 16:17, Reinier Olislagers wrote: On 19-8-2012 16:53, Martin wrote: On 19/08/2012 15:30, Reinier Olislagers wrote: On 19-8-2012 16:17, Martin wrote: The proposed merge (picture) added a 2nd set of categories (copied from the setup) to the option. That means, that in the option, on

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Reinier Olislagers
On 19-8-2012 17:43, Martin wrote: > On 19/08/2012 16:17, Reinier Olislagers wrote: >> On 19-8-2012 16:53, Martin wrote: >>> On 19/08/2012 15:30, Reinier Olislagers wrote: On 19-8-2012 16:17, Martin wrote: > the option dialog (even in a none advanced mode) will always have more > options than t

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Mattias Gaertner
On Sun, 19 Aug 2012 14:10:46 +0100 Martin wrote: > On 19/08/2012 12:58, Reinier Olislagers wrote: > > Hi list, > > > > The setup dialog that appears when you start Lazarus with e.g. the > > compiler set to a non-existent file and the options dialog cover the > > same settings and overlap a lot. >

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Martin
On 19/08/2012 16:50, Reinier Olislagers wrote: 12 16:17, Martin wrote: the option dialog (even in a none advanced mode) will always have more options than the setup. So it needs different grouping. - The setup is easiest to understand, with the one page per setting. - The Option just can not do

[Lazarus] GTK2: Drag files to other applications (to the file manager, Thunar, Nautilus, etc)

2012-08-19 Thread Bernd
Hello, I am trying to get drag and drop to work but I am not an expert with all this low level GTK2 api. In the end I want to be able to drag files from my application to the file manager. My application is displaying a list of items (that represent files) in the scrollbox (I have essentially emul

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Sun, 19 Aug 2012 14:10:46 +0100 Martin wrote: So there are intentional differences, and they should be kept. I would even say, there should be more. The current setup dialog combines several messagedlg. There are some functions that checks many settings and may s

[Lazarus] What to use instead of Delphi's RichEdit component?

2012-08-19 Thread Ajeandro Gonzalo
Strangely, this popular and useful component seems to be missing from Lazarus. Why? A. G. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] What to use instead of Delphi's RichEdit component?

2012-08-19 Thread leledumbo
Because Delphi's RichEdit is a wrapper over Win32 API component which doesn't have counterpart in other widgetsets. There are two alternatives which are built in a cross-platform way: http://wiki.freepascal.org/RichMemo http://wiki.freepascal.org/RichView (no editing features AFAIK) -- View thi

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Mattias Gaertner
On Sun, 19 Aug 2012 19:14:22 + Mark Morgan Lloyd wrote: > Mattias Gaertner wrote: > > On Sun, 19 Aug 2012 14:10:46 +0100 > > Martin wrote: > > >> So there are intentional differences, and they should be kept. > > > > I would even say, there should be more. > > > > The current setup dialog

Re: [Lazarus] Merge setup dialog and options dialog?

2012-08-19 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: I particularly like the setup dialogue's feature of displaying candidate Lazarus directories rather than everything. It would be nice if it could be extended to look at what versions of Lazarus were in "peer" directories, and to work out what compiler version each expec

Re: [Lazarus] What to use instead of Delphi's RichEdit component?

2012-08-19 Thread Leonardo M . Ramé
On 2012-08-19 12:37:11 -0700, leledumbo wrote: > Because Delphi's RichEdit is a wrapper over Win32 API component which doesn't > have counterpart in other widgetsets. There are two alternatives which are > built in a cross-platform way: > http://wiki.freepascal.org/RichMemo > http://wiki.freepascal

Re: [Lazarus] What to use instead of Delphi's RichEdit component?

2012-08-19 Thread Graeme Geldenhuys
On 19/08/12 22:39, Leonardo M. Ramé wrote: Hopefully some day somebody will convert TRichView (www.richview.com), That URL now advertises a "home window blinds" product. :) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Re: [Lazarus] What to use instead of Delphi's RichEdit component?

2012-08-19 Thread Leonardo M . Ramé
On 2012-08-19 23:04:11 +0100, Graeme Geldenhuys wrote: > On 19/08/12 22:39, Leonardo M. Ramé wrote: > >Hopefully some day somebody will convert TRichView (www.richview.com), > > That URL now advertises a "home window blinds" product. :) > > > > Regards, > - Graeme - > Hehe, sorry, it's www.

Re: [Lazarus] What to use instead of Delphi's RichEdit component?

2012-08-19 Thread waldo kitty
On 8/19/2012 18:04, Graeme Geldenhuys wrote: On 19/08/12 22:39, Leonardo M. Ramé wrote: Hopefully some day somebody will convert TRichView (www.richview.com), That URL now advertises a "home window blinds" product. :) agreed... however, trichview.com appears to turn up a valid and related si

Re: [Lazarus] The forum and forms, and accidental reloads.

2012-08-19 Thread Bernd
2012/8/15 Martin : > Does anyone have an idea? > > I am using firefox. If I fill out any form on any website (including > textfields) and I accidental navigate away (e.g.) browser back) then I can > go and use the opposite (browser forward) to get back to the page with the > form. And firefox resto

Re: [Lazarus] What to use instead of Delphi's RichEdit component?

2012-08-19 Thread Bernd
For only displaying some colored text (not editing) it might be enough to use the html control from turbopower_ipro that comes with lazarus, so no installing of 3rd party component needed. For example I am soon going to use this control to display the incoming chat messages in my (yet to be writte