On 2017-02-23 09:08, Mattias Gaertner via Lazarus wrote:
>> Also, what does the AddHandlerOnSaveEditorFile()'s "AtLast" parameter
>> mean and do?
>
> Prepend or append to the list of handlers.
Ah, thank. That would come in handy if the IDE Options ever have a GUI
to manage such actions. eg: Eclip
Scratch that! I should have done better searching before I posted. I
apparently asked a similar question back in 2015 and found my answer here...
http://wiki.freepascal.org/IDE_Window:_Editor_Macros
Sorry for the noise. :-/
Regards,
Graeme
--
On Thu, 23 Feb 2017 08:41:06 +
Graeme Geldenhuys via Lazarus wrote:
>[...]
> > Check parameter SaveStep.
>
> I tried both sefsBeforeWrite and sefsAfterWrite - it made no difference
> to the issue of the method being called twice.
>
> Also, what does the AddHandlerOnSaveEditorFile()'s "AtL
Hi,
Are there any plans to add user recorded macros support to Lazarus IDE?
Many text editors have this built-in, and allows for a huge amount of
“extending the editor’s features” without modify the underlying
program's source code. We can simply record a sequence of actions, give
it a name, assi
On 2017-02-23 07:52, Mattias Gaertner via Lazarus wrote:
>> But I noticed that with every save (Ctrl+S), the YourEvent gets called
>> twice? Any idea why that is, and if it was by design or a bug?
>
> Check parameter SaveStep.
I tried both sefsBeforeWrite and sefsAfterWrite - it made no differenc
On Thu, 23 Feb 2017 00:40:13 +
Graeme Geldenhuys via Lazarus wrote:
> On 2017-01-27 14:37, Mattias Gaertner via Lazarus wrote:
>[...]
> > LazarusIDE.AddHandlerOnSaveEditorFile(@YourEvent);
>
>
> A bit late, but thank you for adding that functionality. I've now
> managed to create my IDE a