Author Topic: Copy with PAD-PLUS question  (Read 9148 times)

KamPutty

  • Guest
Copy with PAD-PLUS question
« on: September 06, 2006, 11:33:55 PM »
Hi all,

First time poster, many years user!

Simple question I hope.

Setup: XP, Slick version 11.0.2
Brief emulation.

When I hightlight some lines and press the PAD-PLUS to copy the lines, how do I make the hightlight region unselect after the copy? I used to do that, but I cannot seem to locate the setting for this!

It's just a pain at times, after the copy from highlight, I have to unselect the area....

Any thoughts?!

~Kam (^8*

Graeme

  • Senior Community Member
  • Posts: 2821
  • Hero Points: 347
Re: Copy with PAD-PLUS question
« Reply #1 on: September 07, 2006, 12:07:53 AM »

Tools -> Options -> General -> Select styles tab.
Check deselect after copy.

See also defmain in briefdef.e for the things that change when you switch to brief emulation mode.

Graeme

garion911

  • Senior Community Member
  • Posts: 203
  • Hero Points: 13
Re: Copy with PAD-PLUS question
« Reply #2 on: September 07, 2006, 12:19:39 AM »
Fellow brief user here.. This has come up a few times.. this changed when switching to v11 for some reason..

See these for more info:

http://community.slickedit.com/index.php?topic=66.0
http://community.slickedit.com/index.php?topic=270.0

Graeme

  • Senior Community Member
  • Posts: 2821
  • Hero Points: 347
Re: Copy with PAD-PLUS question
« Reply #3 on: September 07, 2006, 12:47:06 AM »
Fellow brief user here.. This has come up a few times.. this changed when switching to v11 for some reason..

See these for more info:

http://community.slickedit.com/index.php?topic=66.0
http://community.slickedit.com/index.php?topic=270.0


Hmm.  I guess there must be a reason for those checkboxes being disabled in brief mode or they wouldn't do it.

If you're feeling brave and want to experiment at your own risk, you could try changing these two lines (957, 958) in config.e

   _deselect_after_copy.p_enabled=enabled;
   _deselect_after_paste.p_enabled=enabled;

to
   _deselect_after_copy.p_enabled=true;
   _deselect_after_paste.p_enabled=true;

and rebuild config.e
I suggest using a brand new config directory to experiment with this - use -sc option on the command line.

Graeme

Wanderer

  • Senior Community Member
  • Posts: 557
  • Hero Points: 23
Re: Copy with PAD-PLUS question
« Reply #4 on: September 07, 2006, 11:07:13 AM »
One more question, remember in Brief when it saved a backup, you could make it save the backup in ".\backup", so I would have a "backup" directory everywhere where I worked, and I love it! Is there anyway to make Slick Edit work that way, automagically make a dir called "backup" and save the backup there?

I'm pretty sure Tools->Options->File Options->Backup tab has what you are looking for.
From the help file:

Use child directory
If you are using the command line in the SlickEdit user interface, type Switch +DK. When this option is enabled, backup files are placed in a directory off the same directory as the destination file. For example, given the destination file c:\project\test.c (UNIX: /project/test.c), the backup file will be c:\project\backup\test.c (UNIX: /project/backup/test.c). This option is most convenient on networks because of file permission issues.

JakeMontgomery

  • Community Member
  • Posts: 79
  • Hero Points: 9
Re: Copy with PAD-PLUS question
« Reply #5 on: September 29, 2006, 12:56:33 AM »
Fellow brief user here.. This has come up a few times.. this changed when switching to v11 for some reason..

See these for more info:

http://community.slickedit.com/index.php?topic=66.0
http://community.slickedit.com/index.php?topic=270.0


Just FYI ... As another "experimental" alternative, you can force the items in Tools -> Options -> General -> Select Styles to be available by modifying config.e .... in the function config_initSelStyle(), find the line that sets boolean enabled=..., and directly after it add the line:

enabled = true;

Of course you will need to load the module again for it to have any effect. All the items in the "Select Styles" tab will now be available. 
God I love how modifyable this editor is!

Of course, while the results of changing the checkboxes in brief emulation seem to be OK for me at first glance, this enables items that are "supposed" to be disabled, so:
 USE AT YOUR OWN RISK.

hs2

  • Senior Community Member
  • Posts: 2762
  • Hero Points: 292
Re: Copy with PAD-PLUS question
« Reply #6 on: September 29, 2006, 07:56:54 AM »
@KamPutty:
Even fellow Brief users (like me) may benefit from new great features Slick provides.
Have a look at the 'backup history' feature ('File Options -> Backup tab'.
It could be lifesaver and it's also very useful for diff-ing changes etc.

HS2