hello,

I keep a ton of plain text notes in BBEdit, many of which are "Client Notes" 
documents that contain notes on clients' environments. I would like to use 
BBEdit's syntax coloring ability to highlight certain areas of these documents, 
even though they are not in any programming or scripting language. I'm hoping 
someone will have a suggestion on how to easily do this.

I know I can designate a document as having a language in the Text Options... 
dialog, or by using a file extension, but I need suggestions on what language 
might be a good choice, and what syntax to use.

At minimum, I will need to highlight two conditions: 1) assign a color to an 
entire line, usually a header; and 2) assign another color to highlight items 
within a line. For instance, I would like the bulk of the text to be the 
default color, but be able to highlight a whole header line in one color like:

---------+---------+--------- NETWORK - WAN --------+---------+---------

and also to be able to designate items within a line to have another color, 
like *only* the IP address in a line like:

External IP: xxx.xxx.xxx.xxx

I guess I'm looking for suggestions similar to (but this is total conjecture):

"Just designate the documents as "languageX", add "//" before the header lines 
and they'll get the comment color, and enclose words or phrases in brackets 
"{}", and they will get the variable color." That would be the simple solution. 

It is not necessary, but if not terribly difficult, I would like to explore 
assigning my own syntax for coloring items. I see in the manual that you can 
"add syntax coloring support for new languages as well.", but find no further 
explanation. If someone could point me in the right direction (a tutorial for 
instance), I could customize the syntax that I can use in my documents.

And if anyone knows of a link to a brief outline of the primary language 
syntaxes - which would let me choose a language by syntax, that would be 
fantastic (something like
<http://en.wikipedia.org/wiki/List_of_hello_world_programs>, but showing 
comments vs variable vs keyword)... but now I'm getting greedy...

Thank you for any suggestions on this!

- eric

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to