Page 1 of 1

Compile & Unload

Posted: Thu Nov 02, 2017 12:08 pm
by DGDanforth
In the spirit of reducing the number of /USE specific modifications of the framework
I request that the default ^K behavior be changed to Compile and Unload.

As it is now I have a Dev/Rsrc/Menus file solely created for that purpose.
I would think several of you probably also use that option.

-Doug

Re: Compile & Unload

Posted: Thu Nov 02, 2017 3:02 pm
by Josef Templ
Ctrl-K is used heavily by many users including myself.
I would not change it. I also like that it does not Unload by itself.

If 'Compile and Unload' is so important I would add another shortcut for that.
For example Shift+Ctrl+K ( "*K" ).
We would have to check what is available.

- Josef

Re: Compile & Unload

Posted: Fri Nov 03, 2017 12:52 am
by DGDanforth
After writing this topic I realized that I could put compile and unload into MyMenus.
However, on a quick check that does not work. I removed my Dev subsystem first
and put

Code: Select all

	"Compile"	"K"	"DevCompiler.CompileAndUnload"	"TextCmds.FocusGuard"
into My/Rsrc/Menus

Is the system dependent on the order in which it processes Menus with the last process
taking precedence?

-Doug

Re: Compile & Unload

Posted: Fri Nov 03, 2017 5:51 am
by Josef Templ
Doug, the problem is that you get two menu items with the same shortcut Ctrl-K.
Which one should be chosen?
I think this is resolved by Windows, not by BlackBox, from left to right and top to bottom.
You must use a shortcut that is unique.

- Josef

Re: Compile & Unload

Posted: Fri Nov 03, 2017 7:40 am
by DGDanforth
Josef Templ wrote:Doug, the problem is that you get two menu items with the same shortcut Ctrl-K.
Which one should be chosen?
I think this is resolved by Windows, not by BlackBox, from left to right and top to bottom.
You must use a shortcut that is unique.

- Josef
OK
I have solved my problem by creating a tool that rides on top of a module with the
command buttons "Compile", "Unload", and "Clear" since those are the most frequent
actions I do when working on a module. "Compile" is DevCompiler.CompileAndUnload,
"Unload" is DevDebug.Unload and "Clear" is StdLog.Clear.

By using a button tool it avoids using two hands to type ^K. I sit in a recliner chair
(to keep weight off my feet) and am frequently eating a bowl of cereal. My laptop
rests on a board stretched between the arms of the chair and (until now) forced me
to set aside the bow in order to compile a file. Now I only need to do a one handed
mouse click.

-Doug

Re: Compile & Unload

Posted: Fri Nov 03, 2017 1:34 pm
by Josef Templ
Great, that's settled.
It seems to be time for Release 1.7.1.

- Josef

Re: Compile & Unload

Posted: Fri Nov 03, 2017 3:01 pm
by Ivan Denisov
Josef Templ wrote:Great, that's settled.
It seems to be time for Release 1.7.1.

- Josef
I ask a week or two for testing. Maybe the Russian community will report some bugs in RC1.