Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:36 28 Nov 2024 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 : MM Edit update 3.3.9

Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 09:51pm 25 Sep 2013
Copy link to clipboard 
Print this post

This update fixes the printing bug that Grogster found.
I had missed the KEY keyword from the syntax so that has been added.

You can now create a portable installation.
You have to do a standard install and then the Portable option is in the File menu.
This lets you have a copy of the program on a USB memory stick.

The update can be downloaded from my website
http://www.c-com.com.au/MMedit.htm

I have made some progress with the all new Windows/Linux version of MM Edit.



It has multiple tabs, code folding, function list (that's the box on the right), fully configurable colours, and colour printing.

It is taking a while to learn the differences between Windows and Linux and I really should be doing other things around the house...

Jim
VK7JH
MMedit   MMBasic Help
 
Blackened

Regular Member

Joined: 11/08/2012
Location: Australia
Posts: 66
Posted: 02:15pm 26 Sep 2013
Copy link to clipboard 
Print this post

Those are some really useful additions Jim. Great work!

I haven't had a chance to download it yet, school holidays so the kids are soaking up any spare time I usually have. Love the code folding! Can't wait to give it a go.

Nevermind around the house ;) The lawn can wait LOL

PeterEdited by Blackened 2013-09-28
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 04:50pm 26 Sep 2013
Copy link to clipboard 
Print this post

Maybe I wasn't clear enough.
The current download is a small update to MM Edit. The only new(ish) bit is the ability to make a portable installation.

The code folding etc is in an entirely rewritten version of MMEdit which is still very much in Beta stage.
To get Linux, I have had to learn a new programming language as well as learn about GUIs in Linux. My previous experience with Linux has been command line only so there is a lot to learn.

I hope to have a version for you all to play with in a few weeks.
One useful (I think) addition will be the ability to drag multiple files onto the edit window.

Jim
VK7JH
MMedit   MMBasic Help
 
crez

Senior Member

Joined: 24/10/2012
Location: Australia
Posts: 152
Posted: 01:36am 27 Sep 2013
Copy link to clipboard 
Print this post

Jim,
I just tried 3.3.9 and could not connect to my duinomite. Error was "The device identifier is invalid or unsupported" and "bad file handle: #recRaw". After going back to ver 3.3.7, I has the same message but was then allowed to search for the correct COM port, which was then successful. Was I doing something wrong?

Thanks,
David
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 11:10am 27 Sep 2013
Copy link to clipboard 
Print this post

  crez said   Jim,
I just tried 3.3.9 and could not connect to my duinomite. Error was "The device identifier is invalid or unsupported" and "bad file handle: #recRaw". After going back to ver 3.3.7, I has the same message but was then allowed to search for the correct COM port, which was then successful. Was I doing something wrong?

Thanks,
David

It's a bug....
If you set the correct port under Files/Configure Maximite before trying to connect, all will be OK
I made some changes in the comms area and did not check that part of the code fully.
I will put out an update soon.

Jim

VK7JH
MMedit   MMBasic Help
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 11:56am 27 Sep 2013
Copy link to clipboard 
Print this post

An update (V3.4.0) has been uploaded to my website.
It fixes the newly introduced bug in the serial port detection routines.
If you have already installed V3.3.9, you can extract the TKN file from the attached ZIP file and replace the one in the program folder.

2013-09-27_215508_MMedit.zip

Sorry about the lack of proper testing

Jim
VK7JH
MMedit   MMBasic Help
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9308
Posted: 01:37pm 01 Oct 2013
Copy link to clipboard 
Print this post

Great stuff Jim!

I will have a play with this soon.

MMEdit is so fantastic for developing MM code - with no disrespect to the built-in editor.
I particularly like the little gray lines showing loop start and end(or the collapsible boxes thing in the new version still to come).

Keep up the great work.
Smoke makes things work. When the smoke gets out, it stops!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 07:24pm 01 Oct 2013
Copy link to clipboard 
Print this post

Especially for Grogster,
Very wet and windy outside today so:

Here is a test version of MMEdit2 to play with.
You should be able to edit, format and print in COLOUR.
You can drag files onto the edit window and they will open in a new tab.
Any options you change will be remembered between sessions.
You cannot connect to the Maximite yet.
Switching between tabs does not remember which code was folded.

I strongly recommend that you make a copy of you basic files folder and play with that instead of the real files.
There is no setup required. Simply unzip to a location of your choice and run MMEdit2.exe
It is set up as a 'portable' installation so it can be run of a USB drive and will not upset your current installation of MMEdit.

2013-10-02_052338_MMedit2.zip

Jim
VK7JH
MMedit   MMBasic Help
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9308
Posted: 09:15pm 01 Oct 2013
Copy link to clipboard 
Print this post

WOW - cheers, mate. Will check it out tomorrow and let you know.

EDIT: Couldn't wait...

Nice new GUI.
Nice new icons.

I like that the disk icon is now the SAVE icon, rather then the SAVE AS icon in the older version. Not that this bothered me at all, but it is more conventional to have the disk icon as the SAVE button, overwriting the old file with the same name.

COLOUR PRINTING WORKS!

Out of interest, Jim, was that difficult to do?
You mentioned on the other thread about colour printing, that this was not as easy as I was suggesting, so hopefully you did not spend many sleepless nights getting that to work... Edited by Grogster 2013-10-03
Smoke makes things work. When the smoke gets out, it stops!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 10:42pm 01 Oct 2013
Copy link to clipboard 
Print this post

Most of the Icons are not mine:
http://www.famfamfam.com/lab/icons/silk/

Colour printing became do-able when I changed the programming language and someone had already done the hard work.
It also has the advantage of printing keywords in uppercase (if that is how you have the display set.
You can't print with code folded - it prints it all expanded.
Eventually, you will have the option to print/not print filename and date.

Batten down the hatches in NZ. You should be about to get some nasty weather, we have finished with it.

Jim
VK7JH
MMedit   MMBasic Help
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9308
Posted: 10:50pm 01 Oct 2013
Copy link to clipboard 
Print this post

Re: MMEdit2 - Great! Thanks for the additional info.

Re: Weather - really?!(rhetorical) The weather is not fantastic at the moment, but the long-range forecast is not that bad, actually...
http://www.metservice.com/towns-cities/dunedin

However, other cities of NZ might be in for that weather you mention, I did not check.

EDIT: Fix clickable link.Edited by Grogster 2013-10-03
Smoke makes things work. When the smoke gets out, it stops!
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1101
Posted: 03:37pm 03 Oct 2013
Copy link to clipboard 
Print this post

Jim,

As a suggestion for your new version, you might consider putting all the keywords into a user configurable data file together with flags for colour, indent or any other desired attribute.

This then allows easily adding any new keywords as well as users adding in the own functions or subs. It also offers the option of using the program with other languages. Just an idea for you to consider.

I am looking forward to the new version and have a case of beer ready and waiting

Regards, Doug.
Edited by panky 2013-10-05
... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 05:19pm 03 Oct 2013
Copy link to clipboard 
Print this post

You can already add your own keywords - Help/Edit Syntax help
It was first added in V2.0 with the current system in place since V3.01
If you add words to the 'User' syntax, they are safe from being overwritten with software updates. You can also add your 'help'

Allowing users to change the Indent rules is a bit tricky.

The new version uses a different colour for user subs,functions and labels.
You can change the default colours.
You don't have to add them, MMEdit finds them for you and adds them to a list (on the right) to make moving through the code easier.

Jim

VK7JH
MMedit   MMBasic Help
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024