On 5 Apr 2009, at 11:19 AM, ctucker10 wrote:

> I can see that 'comments' and 'string constants' are detected, but I
> don't see any difference between 'keywords' (print, puts, gets, etc.)
> and other text. Am I missing something?

Strictly speaking, print, puts, gets, etc., aren't keywords; they are  
methods of the Kernel module, as well as of class IO.

I'm not saying syntax-coloring of those words wouldn't be handy, but  
Bare Bones is on firm ground in not showing them as keywords. If it  
really bothers you, you could write your own codeless language module  
for Ruby (chapter 15 of the manual). Which is a pain, I admit.

Maybe better, maybe slower, write to <[email protected]> and ask  
them to include some common method names in the "predefined names" for  
Ruby.

        — F

-- 
Fritz Anderson -- Xcode 3 Unleashed: Now in its second printing -- 
<http://x3u.manoverboard.org/ 
 >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "[email protected]" 
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---

Reply via email to