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.

CsvList

Retrieves or sets the CsvList Collection.

Documents

Retrieves the Documents Collection for the currently opened documents.

EnableTab

Sets or retrieves whether the tab is enabled.

filters

Retrieves the Filters collection.

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.

RegisteredName

Retrieves the registered name.

Version

Retrieves the string indicating the current version of EmEditor.

Methods

BatchFindInFiles

Searches multiple files for multiple strings.

BatchReplaceInFiles

Replaces multiple strings in multiple files.

Compare

Compares two documents.

GetUnicodeName

Retrieves the Unicode name of the specified character or string.

ExecuteCommandByID

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

ExecuteMacro

Executes the specified macro.

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.

RefreshCommonSettings

Loads common settings and refreshes the EmEditor window.

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-2021 by Emurasoft, Inc.