Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:07 01 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MMEdit V3.6.9

     Page 1 of 3    
Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 08:26pm 17 Sep 2016
Copy link to clipboard 
Print this post

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: Australia
Posts: 1003
Posted: 09:07pm 17 Sep 2016
Copy link to clipboard 
Print this post

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: Australia
Posts: 6283
Posted: 09:09pm 17 Sep 2016
Copy link to clipboard 
Print this post

Ahhhh!
Adding the DATA option upset the numbering.
I will post a fix soon.

JIm

VK7JH
MMedit
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 09:16pm 17 Sep 2016
Copy link to clipboard 
Print this post

2016-09-18_071610_MMedit.zip

This one should be better.
Thanks

VK7JH
MMedit
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10310
Posted: 09:21pm 17 Sep 2016
Copy link to clipboard 
Print this post

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: Australia
Posts: 6283
Posted: 10:08pm 17 Sep 2016
Copy link to clipboard 
Print this post

  matherp said   Jim
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


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 Kingdom
Posts: 10310
Posted: 10:32pm 17 Sep 2016
Copy link to clipboard 
Print this post

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: Australia
Posts: 6283
Posted: 10:51pm 17 Sep 2016
Copy link to clipboard 
Print this post

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: Australia
Posts: 6283
Posted: 11:52pm 17 Sep 2016
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 2170
Posted: 11:48pm 21 Sep 2016
Copy link to clipboard 
Print this post

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: Australia
Posts: 6283
Posted: 11:08am 22 Sep 2016
Copy link to clipboard 
Print this post

  CaptainBoing said   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

Program/Remove Leading and Trailing spaces

Jim
VK7JH
MMedit
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 11:54am 22 Sep 2016
Copy link to clipboard 
Print this post

  TassyJim said  Program/Remove Leading and Trailing spaces


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: Australia
Posts: 1667
Posted: 12:10pm 22 Sep 2016
Copy link to clipboard 
Print this post

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: Australia
Posts: 1667
Posted: 12:26pm 22 Sep 2016
Copy link to clipboard 
Print this post

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: Australia
Posts: 6283
Posted: 01:48pm 22 Sep 2016
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 2170
Posted: 10:50pm 22 Sep 2016
Copy link to clipboard 
Print this post

  TassyJim said   move Leading and Trailing spaces

Jim


dammit! and I looked everywhere!

cheers
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 02:29pm 31 Mar 2017
Copy link to clipboard 
Print this post

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.

Edited by lizby 2017-04-02
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 04:13pm 31 Mar 2017
Copy link to clipboard 
Print this post

  lizby said  
1. Make ^C, ^X, ^V more orthodox with respect to other Windows programs.

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?

  lizby said  
2. Ditto for Find and Replace.

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'.

  lizby said  
3. In Tera Term, XMODEM transfer is quicker than file upload in MMEDIT,

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.

  lizby said  
how does MMEdit handle lines which are crunched to non-existence, e.g., comment lines

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 States
Posts: 3378
Posted: 05:48pm 31 Mar 2017
Copy link to clipboard 
Print this post

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.
Edited by lizby 2017-04-02
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2442
Posted: 06:10pm 31 Mar 2017
Copy link to clipboard 
Print this post

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    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025