|
From: Robin N. <nea...@gm...> - 2010-05-28 14:34:17
|
Great, with this url.xml file the dot highlighting scheme loads without error. The documentation is still an issue though. I've started looking through the source, but as these are just strings rather than an enumerated type or similar it will be tricky to compile an exhaustive list. I am willing to try, but it would be better if someone who already knows the code could step forward. On Tue, May 25, 2010 at 7:20 PM, Alan Ezust <ala...@gm...> wrote: > That's probably because nobody accepted this patch yet: > https://sourceforge.net/tracker/?func=detail&atid=300588&aid=1991306&group_id=588 > > > On Tue, May 25, 2010 at 9:51 AM, Robin Neatherway <nea...@gm...> wrote: >> Hi Alan, >> >> Unfortunately I don't currently know what info to add there. If >> necessary I will dig into the source code to determine the list of >> properties that can be found there, but I'll wait a bit longer to see >> if someone with the knowledge spots this post. >> >> I have tracked down the problem with 'dot.xml' and the url::MAIN delegate: >> >> <SPAN TYPE='KEYWORD3' ESCAPE='\' DELEGATE='url::MAIN'> >> <BEGIN>URL="</BEGIN> >> <END>"</END> >> </SPAN> >> >> Unless 'url' is a special builtin mode, this will not work because >> there is no 'url.xml' mode file provided with jEdit. >> >> >> Robin >> >> On Tue, May 25, 2010 at 5:14 PM, Alan Ezust <ala...@gm...> wrote: >>> Speaking as the person who normally maintains the documentation, I >>> have to apologize for not keeping that part up to date - I simply do >>> not do much with mode definition files. >>> >>> I wish the documentation was more complete in this regard too. >>> >>> If you know what content to add is but don't want to muck around with >>> the XML, I am happy to turn info into well-formed XML for you. Just >>> open a ticket in the bugs tracker with the info and I will add it. >>> >>> >>> On Tue, May 25, 2010 at 8:57 AM, Robin Neatherway <nea...@gm...> wrote: >>>> Hi all, >>>> >>>> 'dot.xml' contains the following lines: >>>> >>>> <PROPERTY NAME='indentOpenBrackets' VALUE='[{\[]' /> >>>> <PROPERTY NAME='indentCloseBrackets' VALUE='[}\]]' /> >>>> >>>> I believe that this is a list, which has the result that '\' is >>>> interpreted as an indenting character - strange behaviour. It looks >>>> like it has been specified in a regex-style syntax, possibly because >>>> the documentation does not seem to describe how this should be >>>> specified. >>>> >>>> I have been reading "Chapter 10. Mode Definition Syntax, Part II. >>>> Writing Edit Modes, The PROPS Tag", and this does not seem to list the >>>> properties that can be specified or the meanings of the values. There >>>> is a link to the section "Buffer-local properties", but this does not >>>> talk about the properties in question. >>>> >>> >> > |