On Tue, 12 Jul 2005, Robert Crossley wrote:

> Bill,
> 
> This is the first few lines of the wordfile.
> 
> /L10"MapBasic" Nocase Line Comment = ' File Extensions = MB DEF MBP WOR  
> INC mb
> /Function String = "^{%Function^}^{%Sub^}"

Make sure in your code that you spell "Function" and "Sub" with the first 
letter capitalized if you use Nocase. 

Also, I don't use the Nocase switch anyway. I know that MapBasic is
case-insensitive, but by imposing case on my code I get the keywords
spelled consistently. Removing Nocase causes UE to always convert my
keywords to match how I've written them in the Word.txt file. In other
words, if the keyword "Print" is in the word.txt file and you write it as
"print" or "PRINT" or even "pRiNt", it will always get converted to
"Print" and will be properly colored.

> I have had a bit of trouble with it, as it seemed that the order of the
> extensions affected which were recognised as mapbasic.  This one
> recognises mb and INC.

Do you really need to define mb twice? (Once as MB and also as mb.)

- Bill Thoen



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 17107

Reply via email to