Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Editor: Move cursor to left on #if

 
   Macintosh computer (Home) -> Programmer Code RSS
Next:  SCSI low level library calls for Carbon targets  
Author Message
Wade Williams

External


Since: May 02, 2004
Posts: 36



(Msg. 1) Posted: Fri Jul 04, 2003 12:15 pm
Post subject: Editor: Move cursor to left on #if
Archived from groups: comp>sys>mac>programmer>codewarrior (more info?)

I saw a feature on a friend's PC (using MSVC++) that would be really
nice on CW. Pehaps there's a way to do it now that I'm not aware of.

When he types #if, MSVC automatically moves it to the first column.
Same thing when he types #else or #endif.

Anyone found a way to duplicate this functionality on CW?

Thanks,

Wade

 >> Stay informed about: Editor: Move cursor to left on #if 
Back to top
Login to vote
MW Ron

External


Since: Aug 04, 2003
Posts: 983



(Msg. 2) Posted: Mon Jul 07, 2003 8:23 pm
Post subject: Re: Editor: Move cursor to left on #if [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
Wade Williams <wade DeleteThis @remove.spam.dogwatchsw.com> wrote:

 >I saw a feature on a friend's PC (using MSVC++) that would be really
 >nice on CW. Pehaps there's a way to do it now that I'm not aware of.
 >
 >When he types #if, MSVC automatically moves it to the first column.
 >Same thing when he types #else or #endif.
 >
 >Anyone found a way to duplicate this functionality on CW?

While I find this kind of stuff very annoying, CodeWarrior 9 coming
later this year will have pretty code formatting. At least CodeWarrior
is customizable and you aren't forced to do it the conglomerate way :)

Ron

--
Metrowerks has moved, our new address is now
7700 West Parmer Lane
Austin, TX 78729
Sales and Support 512-996-5300 800-377-5416
Ron Liechty - MWRon DeleteThis @metrowerks.com - <a rel="nofollow" style='text-decoration: none;' href="http://www.metrowerks.com" target="_blank">http://www.metrowerks.com</a>

 >> Stay informed about: Editor: Move cursor to left on #if 
Back to top
Login to vote
Wade Williams

External


Since: May 02, 2004
Posts: 36



(Msg. 3) Posted: Wed Jul 16, 2003 1:18 pm
Post subject: Re: Editor: Move cursor to left on #if [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article , MW Ron
wrote:

 > While I find this kind of stuff very annoying, CodeWarrior 9 coming
 > later this year will have pretty code formatting. At least CodeWarrior
 > is customizable and you aren't forced to do it the conglomerate way :)

In general, I agree. I would not want mass pretty-formatting.

But in some specifics like #if, I can see it being useful.

Wade
 >> Stay informed about: Editor: Move cursor to left on #if 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Changing The Cursor - I have a PowerPlant app that I am porting to Carbon. It has a toolbar window with several LPanes acting as the buttons. I was changing the cursor whenever the onMouseEnter() for the class was called. What is the correct way in Carbon to change the..

PowerPlantX Cursor Utils - Hi, I don't see an equivalent of the old UCursor.h in PowerPlantX. Should I just use UCursor.h? Or is the a better (newer) way. Are there any new PowerPlantX classes in the works that will be released as an update before the release of CW 10? thanks...

CGDisplayHideCursor cursor count ? - Hello How do you get the cursor count ? ( so we know when it's going to appear / disappear ) ( the problem i have is that i don't keep track of the count and i might be calling several times, HideCursor then i need to call showCursor several times for....

use of tab in the editor - I am new to code warrior. Could anyone please let me know why we need to use a tab in the editor before we start writing the code? do we really need it? regards kalyan,

[ANN] New Editor Features for CWDS Mac OS 9 - Some Editor Features: * Syntax coloring for Objective-C. * Just like we already do for C/C++, Java. * Function pop-up menu knows Objective-C methods. * You can move forward/backward a function at a time. * This option does not show up in the menus by..
   Macintosh computer (Home) -> Programmer Code All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]