Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-01

Getting current active editor

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to ik
Show quoted text 7 lines
Hello, On Extending the IDE wiki page, there are two methods for getting information about SynEdit. One is it's settings, and the other is it's syntax highlighter. How can I know what is the current active editor that the user is using ?

SourceEditorManagerIntf.ActiveEditor

Mattias

Reply by email

Martin
to Mattias Gaertner
Mattias Gaertner wrote 12 lines
On Sun, 6 Jan 2013 18:03:00 +0200 ik wrote: > Hello, > > On Extending the IDE wiki page, there are two methods for getting > information about SynEdit. > One is it's settings, and the other is it's syntax highlighter. > > How can I know what is the current active editor that the user is using ? SourceEditorManagerIntf.ActiveEditor

In unit SrcEditorIntf

There are also events if editors (or SourceNotebooks) are opened/closed

Reply by email