Compile & Unload

The features that we decide to not apply in the current time
Post Reply
User avatar
DGDanforth
Posts: 1061
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, California, USA
Contact:

Compile & Unload

Post 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
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

Re: Compile & Unload

Post 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
User avatar
DGDanforth
Posts: 1061
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, California, USA
Contact:

Re: Compile & Unload

Post 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
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

Re: Compile & Unload

Post 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
User avatar
DGDanforth
Posts: 1061
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, California, USA
Contact:

Re: Compile & Unload

Post 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
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

Re: Compile & Unload

Post by Josef Templ »

Great, that's settled.
It seems to be time for Release 1.7.1.

- Josef
Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

Re: Compile & Unload

Post 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.
Post Reply