Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Preprocessor shortcuts
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Byron  
View profile  
 More options Aug 28 2012, 12:51 am
From: Byron <by...@hawkinssoftware.net>
Date: Mon, 27 Aug 2012 21:51:17 -0700 (PDT)
Local: Tues, Aug 28 2012 12:51 am
Subject: Preprocessor shortcuts

I'm new to SciTE, and I noticed that when I use shortcut Ctrl+K inside a C preprocessor block, the cursor jumps to the end of the block. In my user shortcuts, I always set up Ctrl+{IJKL} for cursor stepping {up left down right} respectively. So Ctrl+K is my shortcut for down (i.e., "next line"). I've used this shortcut for years and am not easily able to break the habit. But SciTE offers no way to modify the built-in shortcut which moves the cursor outside the enclosing preprocessor block. I disabled it by turning of all preprocessor awareness, though this is not an ideal solution because now SciTE doesn't see the preprocessor directives in my code. If anyone knows of another way to disable Ctrl+K so I can use it for "next line", please let me know. Thanks.

Byron


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Neil Hodgson  
View profile  
 More options Aug 28 2012, 7:11 pm
From: Neil Hodgson <nyamaton...@me.com>
Date: Wed, 29 Aug 2012 09:11:50 +1000
Local: Tues, Aug 28 2012 7:11 pm
Subject: Re: [scite] Preprocessor shortcuts
Byron:

> I'm new to SciTE, and I noticed that when I use shortcut Ctrl+K inside a C preprocessor block, the cursor jumps to the end of the block. In my user shortcuts, I always set up Ctrl+{IJKL} for cursor stepping {up left down right} respectively. So Ctrl+K is my shortcut for down (i.e., "next line"). I've used this shortcut for years and am not easily able to break the habit. But SciTE offers no way to modify the built-in shortcut which moves the cursor outside the enclosing preprocessor block. I disabled it by turning of all preprocessor awareness, though this is not an ideal solution because now SciTE doesn't see the preprocessor directives in my code. If anyone knows of another way to disable Ctrl+K so I can use it for "next line", please let me know. Thanks.

   user.shortcuts works for me. Keyboard code can depend on platform so you should specify that along with the shortcut settings you are trying.

   Neil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Byron Hawkins  
View profile  
 More options Aug 29 2012, 10:26 am
From: Byron Hawkins <by...@hawkinssoftware.net>
Date: Wed, 29 Aug 2012 07:26:33 -0700 (PDT)
Local: Wed, Aug 29 2012 10:26 am
Subject: Re: [scite] Preprocessor shortcuts

Did you try Ctrl+K specifically? The user.shortcuts do not have any effect
in this case. Somehow Ctrl+K is hardwired into the preprocessor navigation
such that no shortcut setting will change it. Most other settings can be
changed in user.shortcuts, but not this one. So I had to turn off the
preprocessor awareness altogether.

Byron


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »