Version 67 of ML - Heavily Modified & Improved

Updated 2012-07-25 16:07:16 by ZipGuy

A modified version of ML tk Text Editor - v1.12 [L1 ]

The Zipguy 07/23/2012 (my email is zipguypub @ thefreesite dot com please change the dot to a ".".)

Here's the upgraded interface of ML:

http://www.geocities.ws/thezipguy/misc/ml124d_screen.jpg

The version 113 has been modified by The Zipguy to version 1.24d.

Changes:

  • Added toolbar for icons
  • Uses a Paned window for the Procs, which is resizeable so you can maximize the horizontal area of the file being edited
  • You can Run the file (after saving)
  • You can Run the file ../../main.tcl above it, which is useful for testing unwrapped starkits)
  • Can have different splits for each file being edited
  • Made the Popup window on right click Tearoff
  • Added "Save" choice to the popup
  • Added "Save & Run" choice to the popup
  • Added "Save & Run main.tcl" choice to the popup
  • Modified logic so popup is placed correctly when not maximized
  • Does not Maximize the Window on start
  • Increased the size of the font for procs
  • Colors are now variables and are loaded/saved in ml_cfg/ml
  • ml_cfg.ml is now written in the folder from which ml was run, NOT in the edited file's folder.
  • Modified the Procedure Navigator text and the About window text to reflect that this is v1.24 (ZipGuy) version
  • Added colors into the proc window http://www.geocities.ws/thezipguy/misc/ml124d_procw_colors.jpg
  • Added the colors to ml.cfg which are configurable with a working starkit
  • Fixed some problems with the toolbar icons
  • Added the status bar to the bottom, with the file name, the file's parth, a red 'Modified', and Lnxxx Colxxxx like this: http://www.geocities.ws/thezipguy/misc/ml124d_status_line.jpg

There is a new popup menu on a right click:

http://www.geocities.ws/thezipguy/misc/ml124d_screen_rightclick_meni.jpg

Note that this version lets you run the ../../main.tcl file, which is what the starkit would run.

Is anyone interested in it?

LV Sure!

ZipGuy Here's the ML version 1.24 kit: [L2 ] ((click on the # 2 link and make sure you click on "Save Target as")


AET 21feb05 Very nice! A great (and small!) addition to the developer's toolkit. Well done! My copy (.kit) fails if it starts in a path with spaces (sourcing poToolHelp.tcl). Run and Save + Run have the same problem.

Also doesn't obey some MSWindowsXPSP2 wm rules, 'cos when I use it with TopDesk (an old desktop pager), it stays with the screen, not the desktop. No other program does that (including Tk), and I've used lots over the years.

Now, if I could integrate it into tkcon instead of the viewer/editor, wouldn't that be good? And if it had a step through debugger with breakpoints . . .

ZipGuy 22feb05 I'll look into it in a few days, the space in the path. I'm moving. The debugger thing with breakpoints, don't know how on Windows.

MHo 2007-Sep-25: Doing tclkit ml.kit gives wrong # args...!

ZipGuy 2012-Jul-23 Hi, I'm back (click on the ZipGuy link if you want to know what I've been up to). Here's the ML version 1.24 kit: [L3 ] (click on the # 3 link and make sure you click on "Save Target as"). And to the MHo, what he should have done was tclkit.exe ml.kit foo.tcl if foo.tcl was the file he wanted to edit. That's why he got wrong # of args.

lpz 2012-jul-23 On Windows XP doing tclkit ml.kit gives wrong # args: should be source fileName! The problem seem to be the spaces in the file path.

ZipGuy 2012-Jul-23: I think what I would do is this

'D:\dl\dcl\tclkit-8.5.8-win32-x86_64.exe' 'D:\dl\dcl\mine\ml.kit'

or whatever I'd need to do, for example in a batch file. Notice that they are in slightly different folders. Windows is very particular about the character ' , which may give you a misleading message like wrong # args: should be source fileName. This is what I have a a shortcut which worked great 100's of times for me, both on XP and Windows 7:

D:\dl\dcl\mine\tclkit-8.5.8.exe D:\dl\dcl\mine\icons\mlgreat.kit

assuming there are no spaces in my directory names (which there are NOT)!

I'll look in to it once I'm done with my website's partial reconstruction. A reminder E-Mail, in a few weeks, if there's still a problem for you, would be a good idea.


JR StarPack helper