Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 21:22 22 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 : MMEdit V5.2

     Page 3 of 8    
Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6092
Posted: 11:09pm 06 Nov 2023
Copy link to clipboard 
Print this post

Brian, try this version.

MMEdit.zip

It saves the bookmarks as well as folding if the folding option is selected in Preferences.

There should be a full update within a week.

Jim
VK7JH
MMedit   MMBasic Help
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1057
Posted: 12:15am 07 Nov 2023
Copy link to clipboard 
Print this post

Ok thanks Jim, will try later on this Arvo.
Brian
ChopperP
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1057
Posted: 07:20am 07 Nov 2023
Copy link to clipboard 
Print this post

Hi Jim

Quick test: Still lose bookmarks on Save / Save As but NOT on Load file & run it.

Making progress.....

I did not try the folding as I don't use it. (I didn't really notice it was there)

My quick work around is to put '*** or whatever on the line above the book mark & then search for that if needed so no real hurry for updates.

Thanks again

Brian
ChopperP
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6092
Posted: 08:53am 07 Nov 2023
Copy link to clipboard 
Print this post

You have to tick "save folding in BAS" to save the bookmarks. If you don't have any folding, that doesn't matter.

I will have a look at "save as" but I have no issues with "save"

Jim
VK7JH
MMedit   MMBasic Help
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1057
Posted: 10:56am 07 Nov 2023
Copy link to clipboard 
Print this post

OK, I ran the exe file by itself (downloads folder). I checked that save folding was ticked. Still not saving.
I exited the prog to see if the preferences were working (unticked  Confirm before exit) & that worked.
I tied to run the exe again but windows 11 objected badly so I placed the file in the main MMEdit5 directory (where it should be) & everything came up OK. Checked preferences. Save Fold set. Set a book mark & clicked Save. All OK, still there.

Sorry for doubting you Jim. Happy now.

Brian.
ChopperP
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 855
Posted: 06:34am 08 Nov 2023
Copy link to clipboard 
Print this post

Trivial issue: Armmite is spelled Armite in MMEdit.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6092
Posted: 08:49am 08 Nov 2023
Copy link to clipboard 
Print this post

  PhenixRising said  Trivial issue: Armmite is spelled Armite in MMEdit.


At least I got it right in MMCC.

I will think about the best way to fix the error.

Thanks,
Jim
VK7JH
MMedit   MMBasic Help
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6092
Posted: 06:37am 13 Nov 2023
Copy link to clipboard 
Print this post

MMEdit V 5.2.5 is now available.

Installing this update will delete a few superfluous .tkn files. If you have made changes to any, make a backup just in case.
This cleanout will only happen the one time.

Some of the .tkn keyword files have been updated but as always, it's a work in progress. ARMmite is now spelt correctly.

I found a problem with the file manager when copying multiple files from a slow SD card. That has been fixed.

Bookmarks are now remembered for files in the 'recent' list and files that are reopened on startup.
If you set the option to save folding in the BAS file, bookmarks are also saved.
This makes moving the BAS file between PCs easier.

Jim
VK7JH
MMedit   MMBasic Help
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1057
Posted: 01:34pm 14 Nov 2023
Copy link to clipboard 
Print this post

Hi Jim, thanks for that

Small point, nothing seems to happen when I select Program, Display Variable report.

Brian
ChopperP
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6092
Posted: 07:12pm 14 Nov 2023
Copy link to clipboard 
Print this post

  Chopperp said  Hi Jim, thanks for that

Small point, nothing seems to happen when I select Program, Display Variable report.

Brian


I expect that the window size has gone astray.

With MMEdit shut down,
open MMEdit5.inf and look for this section (around line 30)
; Info (Text) Window
TextX = 1021
TextY = 308
TextW = 800
TextH = 572


Copy the existing value for me and then delete those rows. They will be recreated on next startup with default values.

I have started using a second monitor here so I will be able to do more checking and get some sanity checks on all the windows. I have only done that for some so far. (Lazy bugger)

I am also playing with the keyword files to get auto-complete working better. It's hard to keep up with Peter...

Jim

Edit: I just checked. There was only one window that I hadn't put through a sanity check, and you found it.
Fixed in the next update.
Edited 2023-11-15 05:43 by TassyJim
VK7JH
MMedit   MMBasic Help
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1057
Posted: 11:04pm 14 Nov 2023
Copy link to clipboard 
Print this post

Thanks Jim

I forgot about your wayward windows. Been awhile.
  Quote  Edit: I just checked. There was only one window that I hadn't put through a sanity check, and you found it.
Someone else would have found the fault eventually  

I got it back after the inf file operation.
It was showing up as being somewhere in the task bar but I didn't notice it last night & I may have twigged on the problem if I had of seen it.

Offending text below.
; Info (Text) Window
TextX = 2003
TextY = 164
TextW = 800
TextH = 791

  Quote  It's hard to keep up with Peter...

Yes, you are virtually committed to try to keep up because of MMEdit. I don't know how you do it. I also wonder how many on this forum keep up. I certainly don't. (What's a Pico slot anyway?)  

Thanks again

Brian
ChopperP
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6092
Posted: 09:22am 17 Dec 2023
Copy link to clipboard 
Print this post

V5.2.6 is now on the website
I fixed a few bugs including adding some sanity checks to better handle multiple monitors.

MMCC will start up in 'Lite' mode next time you start it.



Lite mode hides most of the options that seen to confuse the beginner.
Don't panic, select Show full menus in Setup and things go back to normal.
If you have any 'favorites' set, the Presets menu will be shown in Lite mode.

This will be the last update before the silly season has come and gone...

Jim
VK7JH
MMedit   MMBasic Help
 
goc30

Guru

Joined: 12/04/2017
Location: France
Posts: 427
Posted: 10:52am 17 Dec 2023
Copy link to clipboard 
Print this post

Hi Tassy

I need to read program from pico to MMedit
I can't find help or tuto, for this function

How can I do??
And is-it possible to put this function in MMedit->file ?
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2133
Posted: 11:55am 17 Dec 2023
Copy link to clipboard 
Print this post

Not sure if this is the best way but it works.

Open MMCC, select the device and com: port then click connect. If successful a green "connected" sign appears.

From action menu select "Clear local screen" then
From action menu select "List All" to list the file, then
From edit menu select "Copy All" to copy it all to the clipboard.
Go back to MMEdit, open a new window then type Ctrl-V to paste the clipboard into the window. (or right click in the middle of the window and select "Paste").
 
goc30

Guru

Joined: 12/04/2017
Location: France
Posts: 427
Posted: 04:33pm 17 Dec 2023
Copy link to clipboard 
Print this post

Thank Phil99

You're right, it's a possible solution, but it's not the simplest, and above all, there is a risk of having spurious characters, or even lines that have nothing to do with the program, if you made an "option list" before
With older versions, you could do this easily from the "file" menu.
It would be nice to be able to transfer programs with a simple "read prog" command
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6092
Posted: 07:21pm 17 Dec 2023
Copy link to clipboard 
Print this post

In the Help, there are two entries.
File Manager and 'Managing files on your picomite'
The images are a bit out of date but still worth reading.

The simplest way if your program is the one in memory. (The one that you are RUNning)

In MMCC, Action/Send listing to editor.
This uses LIST ALL and should be removing any 'extra' lines that come with Phils suggested method.
The only problem with this method is if you have long lines in your program. They will need checking and any wordwrap corrected.
The wordwrap is a function of the picomite display width, not MMCC.


To avoid and possibility of wordwrap.
On the picomite SAVE your program to drive A: and then use the file manager to transfer the file. This uses XMODEM and doesn't suffer from wordwrap.

There are more ways but that should be enough to start with.

Jim
VK7JH
MMedit   MMBasic Help
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 847
Posted: 07:23pm 17 Dec 2023
Copy link to clipboard 
Print this post

Groc,

Yes capturing a "LIST"ed file introduces extraneous text.

The simplest I've found is to:

From the console '>' prompt  - enter SAVE "YourFile.BAS" (SAVE is a MMBASIC command)
From MCC\Mode\File manager - select "YourFile.BAS" on the Pico then the "<<<" button (near top right of screen)

This process saves and then transfers the file to wherever MCC was pointing to on your PC.

I just had to do it yesterday.

Cheers,

Andrew
Edited 2023-12-18 05:23 by Andrew_G
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 847
Posted: 07:26pm 17 Dec 2023
Copy link to clipboard 
Print this post

Hi Jim,
You just beat me to it. Happy and safe 'silly season' to you.

Andrew
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6092
Posted: 07:46pm 17 Dec 2023
Copy link to clipboard 
Print this post

Morning Andrew and a jolly Baa Humbug to you.

To continue the program transfer issue.
I suggest a read of the picomite manual OPTION section.
OPTION DISPLAY lines[,chars]
is what helps avoid wordwrap when LIST is used.

Jim
VK7JH
MMedit   MMBasic Help
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1611
Posted: 05:38am 13 Feb 2024
Copy link to clipboard 
Print this post

Hi Jim,
MMEdit seems to have a blind spot for SUB. I'm using the latest version. Working on MMB4W:



The tkn file does contain "sub" and if I change the syntax to CMM2 or some other the result is the same SUB is not recognised.

MMEdit knows internally that it is a sub as you can see by the collapsible thingy but the syntax is not highlighted and capitalized.

Bill
Keep safe. Live long and prosper.
 
     Page 3 of 8    
Print this page
© JAQ Software 2024