[NTG-context] BBEdit Language Module for ConTeXt

2015-06-16 Thread Paul Mazaitis


Hello, list!

I've been working on a BBEdit language module to support editing ConTeXt 
files:


https://github.com/pmazaitis/ConTeXtBBLM

...with binary releases here:

https://github.com/pmazaitis/ConTeXtBBLM/releases

If there are other BBEdit users here with interest, I'd appreciate 
feedback. Notes on feature gaps (math?), outright bugs, improvements, 
and/or fiddly details are all welcome.


Thanks!

-Paul
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] BBEdit Language Module for ConTeXt

2015-06-16 Thread Thomas Floeren

 On 16 Jun 2015, at 15:04, Paul Mazaitis p...@andrew.cmu.edu wrote:
 
 I've been working on a BBEdit language module to support editing ConTeXt 
 files:
 
   https://github.com/pmazaitis/ConTeXtBBLM
 
 ...with binary releases here:
 
   https://github.com/pmazaitis/ConTeXtBBLM/releases
 
 If there are other BBEdit users here with interest, I'd appreciate feedback. 
 Notes on feature gaps (math?), outright bugs, improvements, and/or fiddly 
 details are all welcome.


Hi,

thanks a lot for sharing your module. I was using my own CLM for ConTeXt, but 
probably I’ll switch to yours now :-)

(I especially love the addition of the callouts (TODO, etc.) to the 
functions/sections menu!)


Some quick observations/suggestions/thoughts:


## Key/value options [] and content arguments {}

The highlighting is broken when there is a space between the command word and 
the [bracketed options] {or arguments}; unfortunately that’s the way I use to 
write it ;-)

It breaks also when there are line breaks involved, which is often the case 
when you write longer, vertical definitions, for example

\setupitemgroup [Legtext] [each]
[stopper=,
before={\setupwhitespace[none]\blank[small]},
style=\bf,
inbetween={\blank[small]},
after={\blank[medium]},
width=1.8em, 
…]


## Command words

\,\;\: : In things like 3000\,mm the whole \,mm gets highlighted. [This may 
ne a legacy problem, as I should better use directly an appropriate Unicode 
space.]

Highlighting should probably not include chars like ()|: For example in 
\starttabulate [|lw(.65\textwidth)|rw(.25\textwidth)|] the whole 
\textwidth)|rw(.25\textwidth)| part gets command-highlighted.


## Default highlight colors

After installation the default highlight colors were all set to black, except 
for comments. (BBEdit 11.1.2 (3733).)
(Though this might be as well a BBEdit problem, since they are still fighting 
highlighting bugs that have been introduced with the color scheme changes of 
vs. 11)


## Commands / keywords

It’s interesting that you are offering both Command words (via pattern) and 
Keywords (custom list). In ConTeXt I always thought of them as the same. I’ll 
surely find a nice use for that :-)


Thanks again,
best,

-- 
Tom







___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] BBEdit

2006-07-14 Thread Hans Hagen
David Arnold wrote:
 Hi,

 Anyone on this list use BBEdit for the Context editing?
   
all i know is that in the context data path there are bbedit files (ctxtools 
--bbedit) but htese are generated based on user specs 

Hans 


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] BBEdit

2006-07-12 Thread Hans van der Meer
I am using BBEdit and have nothing to complain of, allthough the  
problem you mention hadn't occurred to me. I suppose you want to  
exclude things within []'s from spellchecking. I doubt if BBEdit can  
be educated to do that other than programming some extension to it.  
At least not to my knowledge.

On Jul 12, 2006, at 3:09, David Arnold wrote:

 Hi,

 Anyone on this list use BBEdit for the Context editing?

 If so, do you know how to get the spell checked in BBEdit to ignore
 Context keywords?
 ___

Hans van der Meer



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] BBEdit

2006-07-11 Thread David Arnold
Hi,

Anyone on this list use BBEdit for the Context editing?

If so, do you know how to get the spell checked in BBEdit to ignore  
Context keywords?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context