# What's new in V5

MMEdit5 installs to a different location so you can safely run both V5 and earlier versions on the same PC.
MMEdit V5 is available in 64bit as well as32bit versions.

You can now open multiple files.

To open files, apart from the usual Open menu, you can drag a file (or many files) from Windows Explorer onto either the desktop shortcut or the already open MMEdit.
You can also drag and drop selected text from another application onto MMEdit. In this case a new file is opened with the copied text inserted.
You can 'clone' a file. Handy if you are going to make major edits and wish to keep the original file intact.

Find has the option to search all open files. In this case a popup window similar to the function list appears listing all occurrences of the search term.
One use for this is to list all places which call a function of interest.

We now have code folding allowing you to skip over subs etc.
Folding is remembered between tabs but not when saving files.

Crunch now removes unneeded space characters. This gives good improvement to file size reduction at the expense of readability.
Crunch results are returned in anew file, leaving the original file intact.

All communication with the target systems is now done via Maximite Control Centre which is based on MMUploader.
To tell MMCC what device you are sending to, the first line of your code is used.
If you have saved the settings for each of your devices, a simple

'target dev\myCMM2G2 kw\cmm2

is all that's needed.
In the first parameter dev\myCMM2G2, myCMM2G2 is the nickname for one system. the second parameter, kw\cmm2 tells MMEdit that the cmm2 syntax (keyword list) is required.
Alternatively, you can specify the port settings and a few other options.
Crunch etc will leave that first line intact.

MMCC can also be used to send files directly to your device, bypassing MMEdit.
If you are running a pre-processor, MMEdit can send to file to your program and your program can either return the result to MMEdit or go directly to MMCC.
To update the firmware of a picomite, simply drag the *.uf2 file onto the MMCC shortcut and sit back.

The output log on MMCC for a successful update:
C:\Users\Jim\Documents\apps\maximite\picomite\PicoMiteV5.07.01b16.uf2
Maximite Control Centre
Build date: 2021/09/12
Port: COM5 removed
Device Drive D
D:\PicoMiteV5.07.01b16.uf2
Device Drive D
Port: COM5 inserted

You can connect TeraTerm or your preferred terminal program to MMCC and MMCC will switch seamlessly between uploading files and normal terminal use.
MMCC will soon have a file manager similar to the one in MMEdit V4
MMCC can also be used to monitor communication between TeraTerm and the connected device.

Last edited: 13 September, 2021