SandcastleBuilderGUI This form is used to manage the project items and files This is used as the base class for the Sandcastle Builder content editors. There are probably several different ways to do this that are better but this is quick and dirty and it works. Save the content of the window using its current filename True if successful, false if not successful Save the content of the window using a different filename True if successful, false if not successful This returns the dirty state of the document if it supports saving Returns true if the window can be closed or false if something prevents it from allowing the close to occur. This is used to see if the active document allows its content to be saved. Returns true if it supports saving its content or false if it does not. This is used to see if the editor is a document type that should be saved prior to doing a build. This is used to pass a delegate on the clipboard used to obtain data that is too complex to serialize directly to the clipboard. The actual object that is to be pasted from the clipboard. The method passed in the delegate must be a static method. If not, the containing type has to be serializable and it probably isn't cos its too complex and the whole point of this is to work around that problem. Yes, it is a hack but it works. Constructor This is called to refresh the project explorer view after another pane has added files to the project. This is called to ask the user if they want to save their project Returns true if saved successfully or no save is wanted. Returns false on error or if cancelled. Save the project file The filename to which the project is saved True if successful, false if not Add item templates to the New Item menu Add conceptual topic templates to the New Item menu Add user-defined templates to the New Item menu Load the project content Load the documentation sources True to create the root documentation source node or false to find it and reload it. The root reference item node Load the reference items True to create the root references node or false to find it and reload it. The root reference item node Edit the selected node's file if possible The node to edit Refresh the node text when a property changes The sender of the event The event arguments Prevent the root node from being collapsed The sender of the event The event arguments After a selection is made, set it as the current object in the property grid. The sender of the event The event arguments This is used to select the clicked node and display the context menu when a right click occurs. This ensures that the correct node is affected by the selected operation. The sender of the event The event arguments Edit the node's file if it is double-clicked The sender of the event The event arguments Handle shortcut keys in the tree view The sender of the event The event arguments Disable label edit on doc source and reference nodes The sender of the event The event arguments Rename the node after the label edit finishes The sender of the event The event arguments Update the command states when the menu opens The sender of the event The event arguments Add one or more new documentation sources The sender of the event The event arguments Remove a documentation source from the project The sender of the event The event arguments Update the command states when the menu opens The sender of the event The event arguments Add a project or file reference to the project The sender of the event The event arguments Add a GAC reference to the project The sender of the event The event arguments Remove the selected reference from the project The sender of the event The event arguments Update the command states when the menu opens The sender of the event The event arguments Open the selected file for editing The sender of the event The event arguments Rename the selected node The sender of the event The event arguments Exclude an item from the project The sender of the event The event arguments This removes the item and any child items from the project but leaves them on disk. Delete an item from the project and the file system The sender of the event The event arguments This removes the item and any child items from the project and the file system. Add a new folder to the project The sender of the event The event arguments Add an existing folder to the project The sender of the event The event arguments Add all files and subfolders to the project The root folder The file item collection Add an existing item to the project The sender of the event The event arguments Import image file information from an existing MAML media content file. The sender of the event The event arguments Add a new item based on the selected template file The sender of the event The event arguments This initiates drag and drop for the tree view nodes The sender of the event The event arguments This validates the drop target during the drag operation and show the appropriate cursor. The sender of the event The event arguments It handles internal drag and drop items as well as files from Windows Explorer. This handles the drop operation for the tree view. Dropped items can include other file nodes as well as files from Windows Explorer. The sender of the event The event arguments Add files dragged and dropped from Windows Explorer to the project The event arguments Cut or copy files to the clipboard The sender of the event The event arguments This is used to get a collection of files to copy to the clipboard The tree node at which to start The file collection Paste files from the clipboard The sender of the event The event arguments Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. This is used to get a reference to the current project This is used to enter the line number for the Goto Line editor action. Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. Constructor This read-only property returns the entered line number This structure is used to get and set the main form's position The length of the structure Window position control flags The current show state of the window Window upper left when minimized Window upper left when minimized Window upper left when maximized Window upper left when maximized Window coordinates when in the restored position Window coordinates when in the restored position Window coordinates when in the restored position Window coordinates when in the restored position This is used to load the tree view with the project file tree. It is also used to handle such tasks as renaming, removing, and adding nodes. Constructor The control with which this instance is associated. This is used to get an appropriate icon for the node based on the filename. The filename associated with the node Insert the node into the collection in the correct position based on its name The node collection The new node Load the tree with the folder and file items The folder and file build items from the project Refresh the path info in each child node due to a renamed parent folder node. The node in which to refresh the children Remove the children of a folder node from the project. The parent folder node True to delete the items or false to just remove them from the project. This internal class is used for access to some Win32 API functions. The window placement functions are used so as to support restoring the window on multi-monitor systems. Show window in normal position Show window minimized Get the window's placement information The window handle for which to get information The placement information structure True on success, false on failure Set the window's placement information The window handle for which to set the information The placement information structure True if successful, false on failure Convert a character value to a virtual-key code and shift state for the current keyboard. The character to translate A short containing the virtual-key code in the low order byte and the shift state in the high order byte. This is used to convert a value to a value. The character to convert The value corresponding to the character. Note that not all keys are represented in the Keys enumeration. Some may return rather odd combinations or no actual enumerated value at all. This form is used to let the user select the GAC entries to add as project references. Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. Constructor Load the GAC list when activated The sender of the event The event arguments This is used to return the list of selected references This form is used to handle search and replace in the text editor windows. This is rather crude but it works. It's the best I could do after poking around in the editor code. It will do for the time being even if it isn't the most efficient way of doing it. Constructor Get the active document window The active topic editor window or null if not found This is used to show or hide the Replace controls True to show them, false to hide them The prior state of the controls (false for hidden, true for visible). Find the selected text The sender of the event The event arguments Find and replace the next occurrence of the search text The sender of the event The event arguments Find and replace all occurrences of the search text The sender of the event The event arguments Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. This is used to get or set the find text This is used to get or set the replacement text This is used to get or set whether the search is case-sensitive This form is used to display application version information. Required method for Designer support - do not modify the contents of this method with the code editor. Constructor Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Load the controls on the forms with data The sender of the event The event arguments View system information using MSInfo32.exe The sender of the event The event arguments Open the target of the clicked link The sender of the event The event arguments A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. This form is used to allow the user to modify help file builder preferences unrelated to projects. Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. Constructor Validate the information and save the results if necessary when closing. The sender of the event The event arguments Select the HTML Help 2.x viewer application The sender of the event The event arguments Select a color The sender of the event The event arguments Select a font The sender of the event The event arguments Add a new content editor definition The sender of the event The event arguments Delete a content editor item The sender of the event The event arguments Update the property grid with the selected item The sender of the event The event arguments Refresh the list box item when a property changes The sender of the event The event arguments This form is used to prompt to save files before a build Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. Constructor A collection containing the editors with files to save. This form is used to preview a topic Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. Constructor Build the conceptual content and preview the specified file The current project The file to preview This kicks off the build process in a background thread This is called by the build process thread to update the main window with the current build step. The sender of the event The event arguments This is overridden to ignore Ctrl+F4 which closes the window rather than hide it when docked as a document. The event arguments Shut down the build process thread and clean up on exit The sender of the event The event arguments When the build finishes, load the topic if it was built successfully or view the log if the build failed. The sender of the event The event arguments We have to wait for the thread to finish before we can view the log file so we use a timer event to wait for it. This read-only property is used to determine whether or not the preview window can be closed. This defines the tree view node icon index values. Unknown item The root project node Documentation source folder References folder General folder Documentation source Reference Image file Code snippets file Conceptual content layout/sitemap file Conceptual content token file Additional content topic transformation file XML file General content file (MAML, HTML, stylesheet, etc.) This is used to hold basic information about the item represented by the tree view node in the . Constructor The build action The node item The node properties The build action The build item for the node The properties for the object If a separate properties object is not specified, this will return the item itself. This is used to determine what to do with unsaved files before building a project. Save all changes to documents and the project. Only save changes to open documents. Prompt to save changes to all open documents and the project. Do not save any changes. This is a derived ICSharpCode text editor control that is used to edit the conceptual content. Constructor This raises the event The event arguments This raises the event The event arguments Paste an object from the clipboard (i.e. a topic or image link) The data to paste Since the owning topic editor handles the necessary tasks in its drag and drop event handler, we'll just invoke it. Insert a string of text into the specified text area at the current cursor location. The text area to use The text to insert Execute a specified action in the editor The action to execute This event is raised when Ctrl+F is hit to find text This event is raised when Ctrl+H is hit to replace text This form is used to edit the conceptual content items Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. Constructor The project file item to edit Save the topic to a new filename The new filename True if saved successfully, false if not There are two overloads for this method Load the tree view with the topics and set the form up to edit them If not null, the node containing the specified entry is set as the selected node. If null, the first node is selected. Add child nodes to the tree view recursively The collection of entries to add The root to which they are added This is used to update the state of the form controls This is used to mark the file as dirty when the collection changes The sender of the event The event arguments This is used to prompt for save when closing The sender of the event The event arguments Update the node text when a property changes if it affects the node text. The sender of the event The event arguments Find a topic by ID when Enter is hit in the text box The sender of the event The event arguments Set the selected node as the default topic The sender of the event The sender of the event Set the selected node as the split TOC location The sender of the event The sender of the event Move the selected node up or down within the group The sender of the event The sender of the event Add an existing topic file The sender of the event The event arguments Add a new item based on the selected template file The sender of the event The event arguments Add a new topic file The filename of the topic to add True to add as a child of the selected node or false to add it as a sibling. Add an empty container node that is not associated with any topic The sender of the event The event arguments Add all topic files found in the selected folder The sender of the event The event arguments Associate a topic file with the selected node The sender of the event The event arguments Clear the topic associated with the selected node The sender of the event The event arguments When cleared, the node becomes an container node Refresh the topic file associations to reflect changes made to the project elsewhere (i.e. in the Project Explorer). The sender of the event The event arguments Delete a content item The sender of the event The event arguments Copy as a link to the Windows clipboard for pasting into a topic The sender of the event The event arguments This is used to return the actual object to paste from the Windows clipboard The object to paste Cut or copy the selected node to the internal clipboard The sender of the event The event arguments NOTE: Copying within the file is currently not enabled. Copying would require cloning the topic, its children, and all related properties. Copying a topic may not be of any use anyway since the IDs have to be unique. Paste the node from the internal clipboard The sender of the event The event arguments Edit the selected topic file The sender of the event The event arguments Sort the topics by display title The sender of the event The event arguments View help for this editor The sender of the event The event arguments This displays the drop cursor when the mouse drags into the Find textbox. The sender of the event The event arguments This handles the drop operation for the Find textbox The sender of the event The event arguments This initiates drag and drop for the tree view nodes The sender of the event The event arguments This validates the drop target during the drag operation The sender of the event The event arguments This handles the drop operation for the tree view The sender of the event The event arguments Update the state of the controls based on the current selection The sender of the event The event arguments This is used to select the clicked node and display the context menu when a right click occurs. This ensures that the correct node is affected by the selected operation. The sender of the event The event arguments Edit the node if it is double-clicked The sender of the event The event arguments Handle shortcut keys in the tree view The sender of the event The event arguments This is the main form for the application Constructor A default project file to load. If not specified, the most recently used project is loaded if there is one. Deserialize the state of a content pane. The name of the item being deserialized The dock content if deserialized or null if not. Create a new project instance and connect it to the UI The project filename True if it must exist or false if it is a new, unnamed project This is used to save the project and/or document windows prior to doing a build. True if successful, false if it fails or is cancelled. Close the current project True if the project was closed, false if not This is used to update the filename information in the title bar This is used to enable or disable the UI elements for the build process True to enable the UI, false to disable it Update the MRU list with the specified project filename by adding it to the list or making it the most recently used. Kill the web server if it is running Load the last used project on startup The sender of the event The event arguments Save changes on exit if necessary The sender of the event The event arguments Exit the application The sender of the event The event arguments Show information about the application and contact info The sender of the event The event arguments View the help file The sender of the event The event arguments This updates the state of the form when the project is modified. It also updates the Sandcastle path in the component configuration form. The sender of the event The event arguments This is called by the build process thread to update the main window with the current build step. The sender of the event The event arguments This is called by the build process thread to update the main window with information about its progress. The sender of the event The event arguments Start a new help project The sender of the event The event arguments Create a new project from a project file that is in a different format (i.e. SHFB 1.7.0.0 or earlier or NDoc 1.x) The sender of the event The event arguments Open an existing help project The sender of the event The event arguments Close the current project The sender of the event The event arguments Build the MRU list when the Recent Projects menu opens The sender of the event The event arguments This is used to load a project from the MRU List The sender of the event The event arguments Set the active configuration for the build The sender of the event The event arguments Set the active platform for the build The sender of the event The event arguments Build the help file using the current project settings The sender of the event The event arguments Cancel the current build process The sender of the event The event arguments Clear the last build information from the output window The sender of the event The event arguments Clean the output and working folders by deleting all files from them. The sender of the event The event arguments Modify user preferences that are unrelated to the project The sender of the event The event argumenst Enable or disable the viewing options based on the current project's help file format setting The sender of the event The event argumenst View the help file produced by the last build. Pick the first available format. The sender of the event The event arguments View the last build HTML Help 1.x file, 2.x file, or website Index.html page. The sender of the event The event arguments Launch the ASP.NET Development Web Server to view the website output (Index.aspx). The sender of the event The event arguments Toggle the "Open After Build" option The sender of the event The event arguments Update the command states when content is added The sender of the event The event arguments Update the command states when content is removed The sender of the event The event arguments Close the active document window/panel The sender of the event The event arguments Close all open content editors The sender of the event The event arguments Save all changes to the current item The sender of the event The event arguments Save all changes to the current item under a new name The sender of the event The event arguments Save all content editors and the project The sender of the event The event arguments View the project explorer window The sender of the event The event arguments View the project properties window The sender of the event The event arguments View the output from the last build The sender of the event The event arguments Open or show the entity references window The sender of the event The event arguments Open or show the preview topic window The sender of the event The event arguments Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. Return a reference to the main form This is used to let the various panes communicate between each other. There are probably several different ways to do this that are better but this is quick and dirty and it works. Get a reference to the Project Explorer pane Get a reference to the Project Explorer menu item Get a reference to the status strip label used for status bar text This form is used to edit a token file. Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. Constructor The project file item to edit Update the font used based on the selected user settings Save the topic to a new filename The new filename True if saved successfully, false if not There are two overloads for this method Load the tree view with the tokens and set the form up to edit them This is overriden to prompt to save changes if necessary The event arguments This is used to mark the file as dirty when the collection changes The sender of the event The event arguments This is used to prompt for save when closing The sender of the event The event arguments Add a new token The sender of the event The event arguments Delete the selected token The sender of the event The event arguments This validates the token ID and value The sender of the event The event arguments This loads the selected token ID and text into the editor fields The sender of the event The event arguments This form is used to edit site map files that defines the table of contents layout for additional content items. Constructor The project file item to edit Save the topic to a new filename The new filename True if saved successfully, false if not There are two overloads for this method Load the tree view with the topics and set the form up to edit them If not null, the node containing the specified entry is set as the selected node. If null, the first node is selected. Add child nodes to the tree view recursively The collection of entries to add The root to which they are added This is used to update the state of the form controls This is used to mark the file as dirty when the collection changes The sender of the event The event arguments This is used to prompt for save when closing The sender of the event The event arguments Update the node text when a property changes if it affects the node text. The sender of the event The event arguments Set the selected node as the default topic The sender of the event The sender of the event Set the selected node as the split TOC location The sender of the event The sender of the event Move the selected node up or down within the group The sender of the event The sender of the event Add an existing topic file The sender of the event The event arguments Add a new item based on the selected template file The sender of the event The event arguments Add a new topic file The filename of the topic to add True to add as a child of the selected node or false to add it as a sibling. Add an empty container node that is not associated with any topic The sender of the event The event arguments Add all topic files found in the selected folder The sender of the event The event arguments Delete a content item The sender of the event The event arguments Copy as a link to the Windows clipboard for pasting into a topic The sender of the event The event arguments This is used to return the actual object to paste from the Windows clipboard The object to paste Cut or copy the selected node to the internal clipboard The sender of the event The event arguments NOTE: Copying within the file is currently not enabled. Copying would require cloning the topic, its children, and all related properties. Copying a topic may not be of any use anyway since the IDs have to be unique. Paste the node from the internal clipboard. The sender of the event The event arguments Edit the selected topic file The sender of the event The event arguments Sort the topics by display title The sender of the event The event arguments View help for this editor The sender of the event The event arguments This initiates drag and drop for the tree view nodes The sender of the event The event arguments This validates the drop target during the drag operation The sender of the event The event arguments This handles the drop operation for the tree view The sender of the event The event arguments Update the state of the controls based on the current selection The sender of the event The event arguments This is used to select the clicked node and display the context menu when a right click occurs. This ensures that the correct node is affected by the selected operation. The sender of the event The event arguments Edit the node if it is double-clicked The sender of the event The event arguments Handle shortcut keys in the tree view The sender of the event The event arguments Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. This form is used to edit the project properties Constructor Update the Sandcastle path in the component configuration designer Reset the property grid splitter position after being made visible The event arguments If not, it tends to be way to large This is overridden to ignore Ctrl+F4 which closes the window rather than hide it when docked as a document. The event arguments This is called to refresh the property grid after a change that may have affected it. Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. This is used to set or get the current project This form is used to look up code entity references, code snippets, tokens, and images, and allows them to be dragged and dropped into a topic editor window. Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. Constructor The status text label control This is the thread method that indexes the comments files Rather than a partial build, we'll just index the comments files. This is called if indexing completes successfully This is called if indexing fails This loads the tree view with image file entries from the project This loads the tree view with token file entries from the project This loads the content when the window is first made visible The sender of the event The event arguments This kills the build thread if it is still running when closed The sender of the event The event arguments Find all code entities matching the entered text when Enter is hit The sender of the event The event arguments Prevent nodes from being collapsed The sender of the event The event arguments Allow an item to be dragged and dropped onto a topic window The sender of the event The event arguments Refresh the currently displayed entity information The sender of the event The event arguments Change the type of entities listed in the window The sender of the event The event arguments Act like a double-click when Enter is hit on a node The sender of the event The event arguments If a node is double-clicked, paste it into the active editor window The sender of the event The event arguments This is used to return the actual object to paste from the Windows clipboard The object to paste This is used to set or get the current project This defines the entity types This form is used to convert a project in a different format to the new MSBuild format used by SHFB 1.8.0.0 and later. Constructor Close the dialog without converting a project The sender of the event The event arguments Select the project to convert The sender of the event The event arguments Select the folder for the new project The sender of the event The event arguments Convert the project The sender of the event The event arguments View help for this form The sender of the event The event arguments Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. Upon successful conversion, this will return the name of the new project file. This class contains the main entry point and other start up code. This class cannot be instantiated The main entry point for the application. Command line arguments This form is used to edit a conceptual topic file. Constructor The filename to load Update the font used based on the selected user settings Track the last used insert action and update the toolbar button The last used element Insert a link to a topic The extension of the file in which the link is being inserted. The topic for which to create a link If dropped inside some selected text, the link will wrap the selected text. Insert a link to a site map table of contents entry (HTML only) The extension of the file in which the link is being inserted. The TOC entry for which to create a link If dropped inside some selected text, the link will wrap the selected text. Save the topic to a new filename The new filename True if saved successfully, false if not There are two overloads for this method Paste text from the clipboard into the editor Mark the file as dirty when the text changes The sender of the event The event arguments This is overriden to prompt to save changes if necessary The event arguments This displays the drop cursor when the mouse drags into the editor. The sender of the event The event arguments This handles the drop operation for the editor The sender of the event The event arguments Insert a media link into the document The sender of the event The event arguments Insert a basic element such as legacyBold, legacyItalic, etc. The sender of the event The event element Insert a list element The sender of the event The event arguments Insert a table element The sender of the event The event arguments Insert a link to an in-page address attribute value The sender of the event The event arguments Insert an external link The sender of the event The event arguments Perform the action associated with the last insert item used The sender of the event The event arguments Insert an alert element The sender of the event The event arguments Insert a code element The sender of the event The event arguments Insert a definition table The sender of the event The event arguments Insert a section The sender of the event The event arguments HTML encode any currently selected text The sender of the event The event arguments Cut text The sender of the event The event arguments Cut text The sender of the event The event arguments Paste text The sender of the event The event arguments Undo editor change The sender of the event The event arguments Redo editor change The sender of the event The event arguments This handles the Perform Find Text event The sender of the event The event arguments This handles the Perform Replace Text event The sender of the event The event arguments Find the specified text in the editor The text to find True to do a case-sensitive search or false to do a case-insensitive search True if the text is found, false if not Find and replace the next occurrence of the specified text in the editor. The text to find The replacement text True to do a case-sensitive search or false to do a case-insensitive search True if the text is found and replaced, false if not Find and replace all occurrences of the specified text in the editor. The text to find The replacement text True to do a case-sensitive search or false to do a case-insensitive search True if replacements were made, false if not Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. This returns the filename This form is used to contain and view the build output Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. Constructor This is used to transform the log file from XML to HTML for viewing The log file to transform The HTML representing the transformed log file Select the output to view The sender of the event The event arguments Print the information in the browser control The sender of the event The event arguments This is overridden to ignore Ctrl+F4 which closes the window rather than hide it when docked as a document. The event arguments Update the window settings based on the user preferences Reset the log viewer ready for a new build View the build output View the specified log file The log file to view Append text to the build output The text to append A carriage return and line feed are added automatically. Enable or disable based on the build state True if building, false if not This is used to get or set the log filename from the last build Get a line number and position the cursor on it Execute the Goto Line action The text area in which to perform the action Fire the PerformFindText event Constructor The parent editor control Execute the Find Text action The text area in which to perform the action Fire the PerformReplaceText event Constructor The parent editor control Execute the Find Text action The text area in which to perform the action This handles pasting data from objects if present. Constructor The parent editor control Handle the paste operation The text area in which to perform the action This will HTML encode the currently selected block of text. If no text is selected, nothing will happen. Execute the HTML Encode action The text area in which to perform the action This is used to insert a closing element when Tab is hit and the cursor is within an opening tag. This is a really simple form of auto-completion. This may be replaced in a later release with real auto-completion support that includes a pop-up with available options. Constructor The old action to call if this action doesn't do anything. Execute the Inser Closing Element action The text area in which to perform the action Insert an element of the given type optionally wrapping any selected text in which the cursor is located. Constructor The element name to insert Execute the Insert Element action The text area in which to perform the action Insert a matching character when the first of the pair is entered Constructor The character(s) to insert Execute the Insert Matching action The text area in which to perform the action