- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to customize the CVF editor so that it automatically capitalizes Fortran keywords. Any idea how to do this? Has anyone done it and would share their methods?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To make editor "Auto-correcting" the keywords (like Word does) would be a huge effort, if possible at all. However, you could easily record a Find/Replace macro (i.e. Replace "if" with "IF", match whole word, replace all, and so on for all keywords) and assign it a key combination. If you'll do it that way, note that it would be easier to record the macro for one keyword and then edit it in Macro editor to fill the list. Of course, the obvious disadvantage is that it will replace IFs & DOs in literal strings as well.
Jugoslav
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It works like a champ! Thanks. Would anybody be interested in the macro when it is finished?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This kind of VS Macro is definitely very useful. I'll be be interested when it's done. Also, "adding Fortran comments" and "removing Fortran comments" will be very handy, too.
-George
-George
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page