Mode question

sigzero <[email protected]>
Newsgroups gmane.editors.jedit.user
Message-ID <CALp+1QtC56CDWg3J5Vxp5cPbE2An8qubaq5ayK11jw+uKYYmjA@mail.gmail.com>
I would like to modify a mode (INI) so that is highlights the first item on
a line until a space and then the = sign.

That would make the following equivalent:

item1= something1
   ^
   ^
   This "item1" is currently syntax highlighted

item1 = something1
   ^
   ^
   This "item1" would be highlighted the same way.

I like to line items up for what I am using it for:

item1      = value1
another1 = value2

Currently the INI syntax file uses:

        <MARK_PREVIOUS TYPE="KEYWORD1"
            AT_LINE_START="TRUE" MATCH_TYPE="OPERATOR">=</MARK_PREVIOUS>

Thanks for any suggestions.

Bob

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

-- 
-----------------------------------------------
jEdit Users' List
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.