New in Version 21.8
June 8, 2022
New General Features
- Added theCommitList plug-in, which shows theGit history of the current document.
- Allowedregular expressions andnumber range expressions included in the list of searches/replacements while usingBulk Replace All in theBatch Replace dialog box,Bulk Find in theBatch Find/Replace in Files dialog box, andBulk Replace All in theBatch Replace in Files dialog box.
- The new version allows you to search only a specified range of time stamp in files while working on theFind in Files command.
- The new version shows document titles above documents when comparing them in a split window.
- The new version moves the split border proportionally as you resize a split window.
- The new version restores the cursor position when aborting the filter if there were no matches.
New Options
- Added theFilter Extract Options dialog box.
- Added theOldest date modified andNewest date modified date boxes to theAdvanced dialog box (Find in Files).
New Commands
- Split View
- Extract Options
New Plug-ins
- CommitList plug-in
Plug-in New Features
- Added theEE_INFO_EX message,INFO_EX_DATA structure, andEditor_DocInfoEx inline function.
- Added theEI_GET_CONFIG,EI_SET_CONFIG,EI_SAVE_FILE,EI_INDEX_TO_DOC_REAL,EI_DOC_TO_INDEX_REAL,EI_GET_TITLE, andEI_SET_TITLE commands to theEE_INFO message.
- Added thehDoc parameter toEE_GET_MODIFIED andEE_GET_LINES messages.
- Added thehDoc field toGET_LINE_INFO structure.
- Added alternative forms to theEditor_DocGetModified,Editor_DocGetLines,Editor_GetLineW inline functions.
- AddednVisibleLinesAbove andnVisibleLinesBelow fields toFILTER_INFO_EX structure.
Macro New Features
- Added thenVisibleLinesAbove andnVisibleLinesBelow parameters to theFilter method of theDocument object.
- Added theTitle property to the Document object.
How To Use CommitList Plug-in
TheCommitList plug-in is installed by default with EmEditor Professional. This plug-in shows the current changes and the commit history of a Git repo. To use theCommitList plug-in, click on thePlug-ins bar. Or in theTools menu, point toPlug-ins, and then clickCommitList.
The plug-in will first check if the current document is in aGit repo. If it is, the repo will be selected and its commit history will be displayed. You can click on theOpen… button to open a different repo.
Current changes and staged changes are shown. Staged changes are changes that were added to the index. All other changes to the working tree are shown in the changes tree.
From the context menu in the changes tree, you canView Changes,Open File, andRefresh to get updated info.
Click on theCommit List button to view the commit history. The selected branch can be changed with the top right dropdown menu. When a commit is selected, the right sidebar displays the commit details and the list of files changed on this commit. Right-click on a file in the list and selectCompare with Previous to see what changed to the file on this commit.
In the commit list, you can right-click on a commit and selectCopy to copy the commit details.Browse Files At Commit will show the directory tree when the commit was made. AndCompare Commits will show you the differences between two commits.
If a file that is in the current repo is opened in the editor, theView History For Current Document button can be selected. It lists any commits that include changes to the current file. Right-clicking on a commit will show four options.Show Commit jumps to that commit in the main commit list.Compare with Previous compares the file with its previous revision.Compare File at Commits compares the file at two different commits.Compare with File in Working Tree compares the file at the selected commit and the work tree version.
Tips
- Press theF6 key orESC key to set the keyboard focus back to the editor.