Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference

EmEditor Macro Reference: Editor Object

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference

Editor Object

Properties

ActiveDocument

Retrieves the Document Object for the current document.

Configs

Retrieves the Configs Collection.

Documents

Retrieves the Documents Collection for the currently opened documents.

EnableTab

Sets or retrieves whether the tab is enabled.

FullName

Retrieves the full specification of the EmEditor executable file (emeditor.exe), including the path.

LangID

Retrieves the currently selected language ID.

regex

Retrieves the Regex object.

Version

Retrieves the string indicating the current version of EmEditor.

Methods

ExecuteCommandByID

Executes the command identified by an integer indicating the Command ID.

ExecutePlugin

Executes the specified plug-in.

FileDialog

Displays an Open or Save As dialog box that lets the user specify the drive, directory, and the name of a file to open.

FindInFiles

Searches multiple files for matching string.

GetProfileInt

Retrieves the integer value for the specified entry from the Registry or an INI file depending on the EmEditor settings.

GetProfileString

Retrieves the string value for the specified entry from the Registry or an INI file depending on the EmEditor settings.

Join

Combines two CSV documents specifying key columns, using a method similar to JOIN operations, and creates a new document.

NewFile

Creates a new file.

OpenFile

Opens an existing file.

QueryStatusByID

Retrieves the current status of the specified command, whether it is enabled and checked.

QueryStringByID

Retrieves the string associated with the specified command.

ReplaceInFiles

Replaces text in multiple files.

SaveAll

Saves all currently open files.

SaveCloseAll

Saves and Closes all open files.

WriteProfileInt

Sets an integer value into the Registry or an INI file depending on the EmEditor settings.

WriteProfileString

Sets a string value into the Registry or an INI file depending on the EmEditor settings.

Version

Supported on EmEditor Professional Version 4.00 or later.

Copyright © 2003-2016 by Emurasoft, Inc.