![]() |
Forum Index : Microcontroller and PC projects : MMEdit V3.6.9
Page 1 of 3 ![]() ![]() |
|||||
Author | Message | ||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Version 3.6.9 of MMEdit has a few changes/additions. The "LASTFILE.BAZ" now does an INCLUDE before saving it. This is only of interest to users who do advanced things with external programs. Advanced menu: You can now select a few lines and convert them into DATA statements. DATA is added to the start of the selected lines and the original line is enclosed in quotes. This makes PeterM’s latest image work easier to incorporate and is also a quick way of converting a list of names or places into DATA statements. Preferences: You can now opt to save the current port settings and syntax file with the BAS file. These settings are stripped of when loading so they do not appear to the user unless you open the BAS file in another text editor. I find this useful because I work on a number of different systems and having the port changed to the correct device as soon as I open the BAS file saves time and saves sending the Basic file to the wrong device. File menu: You can now save a selection (or the full file) as RTF. After saving, your default RTF viewer opens allowing printing in colour. It also allows incorporating colour code snippets into help files etc without having to rely on images. File menu: You can also copy a code selection to the clipboard formatted to produce colour code on TheBackShed forum. Highlight your code, File/Format for TBS and go to the forum, Paste. The QUOTE markers are automatically added. Hopefully I have allowed for all the usual gotcha’s that upset the forum formatting. If you copy and paste from the TBS to you text editor, it will couuently come out as double spaced. I hope a solution can be found for that problem soon. AS usual, the update can be downloaded from http://www.c-com.com.au/MMedit.htm Any bugs, don't be shy. If you don't want the full package, extract the TKN file from the attached ZIP and replace the one in you program folder. 2016-09-18_062626_MMedit.zip Jim VK7JH MMedit |
||||
disco4now![]() Guru ![]() Joined: 18/12/2014 Location: AustraliaPosts: 1003 |
Hi Jim, I just updated the TKN file. I seem to have a problem with the advanced menu. When selecting an item the one above seems to be selected when you come back. Could the numbering be mixed up on the actions and the menu items. Regards Gerry Latest F4 Latest H7 FotS |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Ahhhh! Adding the DATA option upset the numbering. I will post a fix soon. JIm VK7JH MMedit |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
2016-09-18_071610_MMedit.zip This one should be better. Thanks VK7JH MMedit |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10310 |
Jim That fixes it. One trivial little thing for the next release. Could you not remove the "Set device Micromite" and "Set device Maximite" options from the advanced menu and use the choice of syntax to trigger this. Something I fallen foul of more than once ![]() |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
I thought I was one of the few who still play with a 'maximite' If you set it to Auto detect device, it should work it out for itself. I had to put the manual override in for the difficult cases where autodetect doesn't work. I am already saving the device type in the BAS header so I can set the device from there at the same time as setting the syntax. I can also set the device when you select the syntax file but I would still prefer to have the manual setting available. I could put in a "device doesn't match" popup but I hate too many interruptions. All food for thought. Jim VK7JH MMedit |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10310 |
Jim There seems to be another new "feature" in this release. enter mmedit edit the current program click the save icon exit mmedit: Program prompts to save "changed file" ? |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
I am out of practice! I will update with a fix sometime tonight. Time to talk to the Boss for a while. Jim VK7JH MMedit |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
If at first you don't succeed... 2016-09-18_095041_MMedit.zip I have also updated the full download on my website Sorry about the poor quality control. Jim VK7JH MMedit |
||||
CaptainBoing![]() Guru ![]() Joined: 07/09/2016 Location: United KingdomPosts: 2170 |
Hi Jim. nice work. one thing that would be nice (bearing in mind the small-ish memory spaces) would be the option to strip trailing white-space from lines on saving. I have hunted around and can't see that. cheers h |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Program/Remove Leading and Trailing spaces Jim VK7JH MMedit |
||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
Just clicked it. Is it possible that it could prompt for Trailing only, so formatting can be preserved. Phil. |
||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
On a slightly irrelevant note, just looked at the backups folder. I've got 800 plus files in there. That's Ok. But can anyone suggest a good means of searching in them. What would work is if I could copy "*Com Monitor*.bas" to say Com Monitor.txt, just basically concatenating the 123 files matching the mask into one text file. (The 123 files I currently see would be about 2 Meg). Then it would just be a matter of searching the text file in NotePad ++ to see variations of a particular Sub. Phil |
||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
Just resurrected some DOS brain cells..... Something like this works. [Code]Copy "201608*Com Monitor*.bas" Test.txt[/code] Phil. |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Notepad++ also has a 'search in files' option which can be handy. (So does Windows but that's too old hat) Jim VK7JH MMedit |
||||
CaptainBoing![]() Guru ![]() Joined: 07/09/2016 Location: United KingdomPosts: 2170 |
dammit! and I looked everywhere! ![]() cheers |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3378 |
Don't know if this is the right place to post, but since rumor has it that a new version of MMEDit is brewing, I have several suggestions (currently using V 3.6.10). 1. Make ^C, ^X, ^V more orthodox with respect to other Windows programs. 2. Ditto for Find and Replace. 3. In Tera Term, XMODEM transfer is quicker than file upload in MMEDIT, but clunkier to invoke. Would it be possible to make the MMEDIT upload use XMODEM, with either the current file if the text has been saved, or a temporary file if it hasn't or has been crunched? 4. I don't know if it's just me, but I sometimes experience a good bit of difficulty connecting. It never finds the uMite. I have to connect to a non-existent serial port, which fails, then connect to the right serial port, which fails, unplug and plug back in the USB, and then it works. This hasn't happened with Tera Term (but I really want to use MMEdit's crunching routine, and may soon really need to). (I've had these problem with MuPv3s, E-28s, and an E-64). (By the way, since MMBasic correctly reports line numbers for errors, how does MMEdit handle lines which are crunched to non-existence, e.g., comment lines--does it send empty lines?) Thanks very much for your work on this quite useful program. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
I often cut and paste within my program and to and from other windows programs without any difficulty. Where are the shortcuts different from the standard ones? I agree that this is an area that could be better. It is also an area that varies a lot between programs so there is no 'standard'. First up, TeraTerm is a much better terminal program than MMEdit will ever be. But, MMEdit DOES use XMODEM to transfer the file when using 'load and run'. MMEdit uses AUTOSAVE when using the chat window transfer. MMEdit does a lot more than just XMODEM and, based on lots of experience with many users over the years, I have adopted a 'slow and steady wins the race' philosophy. USB serial ports can be a problem. If they reset while a program has them open, Windows tends to get confused. You need to disconnect (and possibly close your program down, unplug and reinsert the USB device then restart/reconnect your program. TeraTerm is better but can still have problems. Use a separate USB-TTL device so it doesn't get reset. MMEdit keeps a table of old and new line numbers so it can (usually) find the correct line again. Jim VK7JH MMedit |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3378 |
I'm sorry that I didn't clarify that I was talking about the console log where ^C didn't work (and ^x and ^v don't apply--my mistake). Regarding Find, I often have to hit ^F more than once for the Find box to appear. Then would be helpful if the cursor were in the Find text box (where ^v pastes text you are trying to find), and then <Enter> would activate the FIND button, or for subsequent occurrences, FIND AGAIN. If you switch to MMEdit with Alt+TAB, ^F doesn't work until you have clicked in the edit area. "Use a separate USB-TTL device so it doesn't get reset." This appears to help a lot--but reduces the plug and play appeal of, for instance, the MuPv3, E-28, and E-64. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2442 |
both the MuPv3 and E-28 have the USB-to-serial bridge as separate device from the (MX170) micromite, using a PIC16F1455. the E-64 is the only one with the USB integrated into the (MX470) micromite. there was talk a while back of the next revision of the E-64 using the 1455 instead of the onboard USB, but i don't know how far that idea ever went. are folks having any less problems recently with the USB in the same chip as mmbasic? one major advantage of the 1455 is that it can also act as an ICSP programmer for firmware updates. cheers, rob :-) |
||||
Page 1 of 3 ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |