Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:45 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 : MMEdit V 5.1

     Page 6 of 8    
Author Message
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1057
Posted: 02:35am 30 May 2023
Copy link to clipboard 
Print this post

Hi Jim
I use the standard 110000 or thereabouts. Didn't realise they could go faster.
Will try attached tonight.
Thks
Brian
ChopperP
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 03:14am 30 May 2023
Copy link to clipboard 
Print this post

Look at OPTION BAUDRATE
It is worth pushing it a bit faster when you have so much data.

MMCC shouldn't have any problems - tha was a lack of testinmg by me. The fix I put in will help you.
I have done some more tweaks so the next update will do a 'proper' fix.

Jim
VK7JH
MMedit   MMBasic Help
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1057
Posted: 08:03am 30 May 2023
Copy link to clipboard 
Print this post

Hi Jim

New update seems to be running well. Thanks. Will try higher baud rate later sometime.
(Now for a wider window to accommodate wide screens)

Quick question. In Help/About, is it possible for your WEB addresses etc to be actual links or at least the text selectable. I have noticed that with a number of Windows Pop-ups in other programs that the text is also not selectable.

Thanks again

Brian
ChopperP
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 09:52am 30 May 2023
Copy link to clipboard 
Print this post

  Chopperp said  Hi Jim
Quick question. In Help/About, is it possible for your WEB addresses etc to be actual links or at least the text selectable.


I could, but the more things like directing users to the outside world, the more the useless AV programs get grumpy.

That's why I don't automatically check for updates.

Jim
VK7JH
MMedit   MMBasic Help
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1057
Posted: 12:08pm 30 May 2023
Copy link to clipboard 
Print this post

OK.

Both MMCC's are both working fine on the CMM2's.

Thanks again.

Brian
ChopperP
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 847
Posted: 07:08am 07 Jun 2023
Copy link to clipboard 
Print this post

G'day Jim,
I trust all is well? I've been distracted so this is an overdue question.
For the last two versions the tabs across the top (that normally show the file name) are very compressed in size. How can I widen them?

Cheers,

Andrew
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 07:16am 07 Jun 2023
Copy link to clipboard 
Print this post

  Andrew_G said  G'day Jim,
I trust all is well? I've been distracted so this is an overdue question.
For the last two versions the tabs across the top (that normally show the file name) are very compressed in size. How can I widen them?

Cheers,

Andrew


Can you post a screenshot?
The last few versions were compiled with an updated PureBasic and I think there were a few changes with high DPI handling.

My laptop runs at 150% and doesn't show any problems.

Jim
VK7JH
MMedit   MMBasic Help
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 847
Posted: 07:19am 07 Jun 2023
Copy link to clipboard 
Print this post

Hi Jim,
That's service
How is this?
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 07:34am 07 Jun 2023
Copy link to clipboard 
Print this post

It looks like the tab-bar has shifted off screen.
How many files do you have open?

What happens if you click on the small left arrow on the tab-bar?



If all else fails, send me a copy of MMEdit5.inf

Jim
VK7JH
MMedit   MMBasic Help
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2136
Posted: 08:20am 07 Jun 2023
Copy link to clipboard 
Print this post

  Quote  What happens if you click on the small left arrow on the tab-bar?
Hi Jim, Very little.
I have 2 files open but it only expands a few mm.
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 847
Posted: 10:22am 07 Jun 2023
Copy link to clipboard 
Print this post

Phil,
Thanks - yes my screenshot above only had one file open and the tab is miniscule. Multiple files and the tabs stack on each other.

Jim,
I have a test match to win so no pressure . . .

Cheers,

Andrew
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 847
Posted: 10:25am 07 Jun 2023
Copy link to clipboard 
Print this post

Delete of multiple post - sorry.
Edited 2023-06-07 20:26 by Andrew_G
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 09:28pm 07 Jun 2023
Copy link to clipboard 
Print this post

With a new (portable) installation I see no problems.



You should get the same by deleting the MMedit5.inf file to reset everything. Just doing an update keeps the old inf file.

But PLEASE, send me a copy of your existing MMedit5.inf file first so I have a chance of working out what is going on.

Jim
VK7JH
MMedit   MMBasic Help
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2136
Posted: 10:14pm 07 Jun 2023
Copy link to clipboard 
Print this post

Yes, deleting the old .INF fixed it. I imagine it was carried over from V4.

[Info]
Build date = 2023/03/25 17:12:19
Last Build date = 2022/12/20 17:16:37
Data folder = C:\Users\user\AppData\Local\MMedit5\

[Language]
Language file = none

[Windows]
; The coordinates of the various windows.
; Main Window
MainX = -31995
MainY = -32000
MainW = 0
MainH = 20
MainSplit = 720
; Preferences Window
PrefsX = 200
PrefsY = 200
PrefsW = 520
PrefsH = 460
PrefsTab = 3
; Info (Web) Window
WebX = 200
WebY = 200
WebW = 800
WebH = 500
; Info (Text) Window
TextX = 200
TextY = 200
TextW = 800
TextH = 500
; Find/Replace Window
FindX = 500
FindY = 140
FindW = 370
FindH = 210
FindCase = 0
FindWord = 0
; Find All Window
FindAllX = 500
FindAllY = 400
FindAllW = 400
FindAllH = 600
; Find SUBs Window
FindSubX = 200
FindSubY = 200
FindSubW = 300
FindSubH = 800
; Help Window
HelpX = -31995
HelpY = -32000
HelpW = 0
HelpH = 0
FontSize = 10

[Folders]
; Your BAS files
UserFolder =
; Backups of BAS files
backup folder =
; External references
External Reference 0 = External Reference 0
External Reference 1 = External Reference 1
External Reference 2 = External Reference 2
External Reference 3 = External Reference 3
External Reference 4 = External Reference 4
External Reference 5 = External Reference 5

[Colours]
; The editor colours. Format is 24bit HEX in BBGGRR order.
Default_fore = $000000
Default_back = $FFFFFF
Keyword = $FF0000
Comment = $707070
Number = $0000FF
String = $32B450
Identifier = $FF0000
Handle = $FF0000
User sub/function = $004B96
Selected = $FFFFFF
Selected_back = $FF0000
LineNumber = $000000
Margin = $DFFFFF
Caret = $FF0000
Caret_back = $B4FFFF
CallTip = $000000
CallTip_back = $CBFFFF
Bookmark = $000000
Foldmarker_back = $000000

[Options]
; The editor settings
Tabsize = 2
; Spaces for Tabs when keying in code and also
; on existing code when preforming 'Format' operations
Use spaces for tabs = 1
TSCroll_Margin = 10
Font size = 14
Font name = Courier New
WhiteSpace_Markers_Size = 2
Upper_Case = 1
Colour = 1
Show_indent = 1
Auto_indent = 1
Line_numbers = 1
WhiteSpace_Markers = 0
Show_line_endings = 0
Line_endings_Mode = 0
Indent Labels = 1
; When formatting: 0 = no indent, 1 = indent with code,
; 2 = indent one tab size, 3 = leave line As Is
Indent Comments = 1
; Wrap comments to column:
Wrap Comments = 80
; When wrapping, aling new line to last comments
Align wrapped Comments = 1
; Show column marker at column xx
Column marker at = 80
Show column marker = 1
Word Wrap = 1
Default syntax = picomite
Preserve first line = 1
Folding keywords = sub function csub cfunction definefont
Separator Symbols = =+-*/\()[],;:<>
Valid word characters = tei0ndsra1o2l3cpmST.I5h_fEN46ACgOxDR8u9LbyMvw7HPFBqGjVUzkKXWZYQ#J@%!$
Auto complete = 1
Return cursor after search = 0

[Misc Preferences]
Confirm before Exit = 1
; Start with a new file instead of reloading the last used files
Open blank file = 0
Restore previous files = 1
; Start file selector with *.* instead of *.bas
File selector = 0
; When inserting a file, insert at line end instead of cursor position
Insert at EOL = 1
; Some actions clean the code automatically
Remove smart quotes = 1
; With debug, some actions are logged
Debug mode = 0
; A font size of 'fs16' fits most lines to a page width when saving to RTF
RTF Font size = fs16
; Start a new file without the header
No header in new file = 0
; Add 'user.tkn' to all keyword lists
Allow user keywords = 1
Firmware update = 1679679950

[Printer]
Printer top margin = 200
Printer bottom margin = 200
Printer left margin = 50
Printer right margin = 50
; The number of points to add to the size of each screen font.
; A value of -3 Or -4 gives reasonably small print.
Printer scale = 0

[Open Files]
File Count = 4
File1 = C:\Users\philp\Documents\SiliconChip\Picomite\PIO Logic Analyser V0.1
File2 = C:\Users\philp\Documents\SiliconChip\Picomite\PicoMite_Firmware_V50707\LA_4.bas
File3 = C:\Users\philp\AppData\Local\MMedit5\changes.txt
File4 = C:\Users\philp\Documents\SiliconChip\Picomite\PicoMite_Firmware_V50707\Beta 10 files\PIO program to send data to 74HC595.bas

[Recent Files]
MRUFile0 = C:\Users\philp\Documents\SiliconChip\Picomite\PicoMite_Firmware_V50707\Beta 10 files\PIO program to send data to 74HC595.bas
MRUFile1 = C:\Users\philp\AppData\Local\MMedit5\changes.txt
MRUFile2 = C:\Users\philp\Documents\SiliconChip\Picomite\PicoMite_Firmware_V50707\LA_4.bas
MRUFile3 = C:\Users\philp\Documents\SiliconChip\Picomite\PIO Logic Analyser V0.1
MRUFile4 = C:\Users\philp\Documents\SiliconChip\Picomite\Pico_Humid-7a.bas

[External programs]
; %bas% The full path and filename to the current BAS file.
; %basshort% The filename to the current BAS file without any path.
; %baspath% The path To the current BAS file
; %extpath% The path To the external.exe (Default starting folder)
; %mmepath% The path To the MMEdit And MMCC program folder including trailing \
; %q% = quote Chr(34)
External hot link = 0
Ext0 = Run in DOS|'%baspath%'|'%mmepath%MMBasic.exe'|'%bas%'|1

[New File Text]
New file line1 = '
New file line2 = OPTION EXPLICIT
New file line3 = OPTION DEFAULT NONE

[Network]
; TCPIP is used to comunicate between MMEdit and MMCC
Control Port = 6832
MMCC Control Port = 50899
MMCC Data Port = 50900

[General]
High DPI = 0
TabBar Height = 0
Time between backups = 1800
Misc Font = Lucida Console
Misc Font size = 9
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 10:52pm 07 Jun 2023
Copy link to clipboard 
Print this post

Thanks Phil.
The V4 inf file is totally different and in a different location.

The main window coordinates don't look right ( shouldn't be negative):
; Main Window
MainX = -31995
MainY = -32000
MainW = 0
MainH = 20

But I have code to trap that.

It looks like The tab-bar uses the default Windows font and that got lost somehow.
I will try changing to a defined font to see if that is more robust. I can also set a minimum size.

I just don't know why it happens to you and Andrew.


Jim
VK7JH
MMedit   MMBasic Help
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 02:54am 08 Jun 2023
Copy link to clipboard 
Print this post

Phil and Andrew,
I think you both have been using multiple monitors.
My window recovery routine was not making the main window wide enough.

I think the attached will do things better.
The zip contains the MMEdit.exe which you replace in the program folder (with MMEdit shut down).

MMEdit.zip

Jim
VK7JH
MMedit   MMBasic Help
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2136
Posted: 04:57am 08 Jun 2023
Copy link to clipboard 
Print this post

Thanks for that. Only using a single TV as a monitor though the PC has 3 video ports, 2 HDMI and a VGA that can form a single desktop or 2 can mirror the first.
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 847
Posted: 07:10am 08 Jun 2023
Copy link to clipboard 
Print this post

Hi Jim,
Thanks for that. It does the trick.
I'm only running my laptop and its monitor but I do have the hotel TV plugged in via HDMI - but not turned on.  But wait . . .

OK I see. Having run the new version I moved it out of the way and then used the old version - it worked too. So your clever new MMEdit version corrected one of the configuration files.
I'm now back onto the new version (with multiple tabs with 'changes.txt' on them).

Many thanks Jim.

Andrew
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 07:25am 08 Jun 2023
Copy link to clipboard 
Print this post

Problems occur when you run MMEdit with the second monitor attached and then run it with only one monitor.
I was catching this but not giving the editor a big enough window for the tabs and it started to sulk.

I have also noticed that my W11 system has a habit of stuffing up the size and position of a lot of programs (not just mine) when it's display goes to sleep.
Very annoying when the email program needs to be resized multiple times during the day.

Jim
VK7JH
MMedit   MMBasic Help
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 09:44pm 09 Jun 2023
Copy link to clipboard 
Print this post

MMEdit V 5.1.6 has been uploaded to my website.

The two recent fixes are included.
MMCC was getting constipated when sent a continual stream of data.
The editor tabs got confused when the window had to be recovered after going off screen (dual monitors etc)

There is a new 'feature'



MMCC has a row of 12 'preset' buttons to easily switch between devices.
I ran out of buttons so MMCC now has a 'Presets' menu.
The first 12 entries are duplicates of the 12 buttons but you can have a total of 30 devices. That should keep me happy for a while.
If you are short of real-estate, you can hide the buttons and rely on the menu. Handy on laptops.


MMEdit still runs happily on Windows XP but you do need to use the portable version. (The installer is not happy with XP)

I am not able to test Windows 7 64 or 32 bit.

Jim
VK7JH
MMedit   MMBasic Help
 
     Page 6 of 8    
Print this page
© JAQ Software 2024