Just in case the "complain about the colors" comment wasn't tongue in cheek ...
See the instructions for reusing the edit.xml from J GtkIde in gedit in one of my previous posts in this thread or follow the instructions here to develop your own color scheme: http://www.jsoftware.com/jwiki/DevonMcCormick/GTK/CustomizeTermOrEditWindow On Wed, May 18, 2011 at 2:50 PM, John Baker <[email protected]> wrote: > Just a quick follow up on this. The modified j.lang provided by Ric works > just fine. You can copy it into the protected directory with the sudo > command (that sudo that you do - sorry couldn't help myself): > > *sudo cp j.lang /usr/share/gtksourceview-2.0/language-specs* > * > * > Now the only thing left is to complain about the colors. > > Thanks again > > > On Mon, May 16, 2011 at 8:32 AM, John Baker <[email protected]> wrote: > >> I found the j.lang file shortly after sending help request for help. I >> tried copying it to /usr/share/gtksourceview-2.0/language-specs/ but was >> blocked by user rights. Today I will "fight for my right" to copy. >> >> Thanks for the modified j.lang. >> >> >> jdb >> >> On Sun, May 15, 2011 at 6:38 PM, Ric Sherlock <[email protected]> wrote: >> >>> The latest version on Bugzilla has "map-to"s so should be fine. >>> *Don't* use the ~system/config/j.lang >>> It is old, redundant and should ideally be removed to prevent confusion. >>> >>> On Mon, May 16, 2011 at 11:23 AM, bill lam <[email protected]> wrote: >>> > Actually it should already work if you copy the file j.lang from your j >>> > installation such as at ~system/config to the folder (if you have the >>> right) >>> > /usr/share/gtksourceview-2.0/language-specs/ >>> > >>> > however, gedit knows nothing about the color scheme that j-gtkide uses, >>> so >>> > that the style-id must map to default style by amending the j.lang, eg. >>> > >>> > <style id="adverb" _name="Adverb" map-to="def:operator"/> >>> > <style id="comment" _name="Comment" map-to="def:comment"/> >>> > <style id="conjunction" _name="Conjunction" map-to="def:statement"/> >>> > <style id="control" _name="Control" map-to="def:keyword"/> >>> > <style id="error" _name="Error" map-to="def:error"/> >>> > <style id="exparg" _name="Explicit Argument" >>> map-to="def:special-constant"/> >>> > <style id="global" _name="Global" map-to="def:type"/> >>> > <style id="labtext" _name="Lab Text" map-to="def:builtin"/> >>> > <style id="local" _name="Local" >>> map-to="def:special-char"/> >>> > <style id="noun" _name="Noun" /> >>> > <style id="noundef" _name="Explicit Noun Def" >>> map-to="def:preprocessor"/> >>> > <style id="number" _name="Number" map-to="def:decimal"/> >>> > <style id="parens" _name="Parens" map-to="def:boolean"/> >>> > <style id="primitive" _name="Primitive" map-to="def:reserved"/> >>> > <style id="string" _name="String" map-to="def:string"/> >>> > <style id="verb" _name="Verb" map-to="def:function"/> >>> > >>> > Вск, 15 Май 2011, John Baker писал(а): >>> >> Lately I've been working on an Ubuntu 11.0x system porting JOD to >>> Linux. >>> >> >>> >> The default text editor for this OS is something called GEDIT. GEDIT >>> >> appears quite capable and does pretty much everything you expect of a >>> text >>> >> editor. It supports syntax coloring using *GtkSourceView* and >>> provides a >>> >> slew of (xml) *.lang coloring files in: >>> >> >>> >> */usr/share/gtksourceview-2.0/language-specs/* >>> >> * >>> >> * >>> >> Of course J is not in the list of languages supported by default. Has >>> >> anyone worked up a J specific *.lang file for this editor? I realize >>> there >>> >> are other supported editors mentioned in the J WiKi but frankly I am >>> >> suffering from text editor fatigue and would rather not learn emacs or >>> vim >>> >> just to get J syntax coloring. >>> >> >>> >> -- >>> >> John D. Baker >>> >> [email protected] >>> >> ---------------------------------------------------------------------- >>> >> For information about J forums see http://www.jsoftware.com/forums.htm >>> > >>> > -- >>> > regards, >>> > ==================================================== >>> > GPG key 1024D/4434BAB3 2008-08-24 >>> > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 >>> > ---------------------------------------------------------------------- >>> > For information about J forums see http://www.jsoftware.com/forums.htm >>> ---------------------------------------------------------------------- >>> For information about J forums see http://www.jsoftware.com/forums.htm >>> >> >> >> >> -- >> John D. Baker >> [email protected] >> > > > > -- > John D. Baker > [email protected] > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
