|
From: Dale A. <da...@da...> - 2017-10-04 16:41:02
|
Take a look at the mode file for java properties files, which are similar to ini files, see props.xml. I think it does what you want. Dale On Wed, Oct 4, 2017 at 8:48 AM, sigzero <si...@gm...> wrote: > 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 > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-users > > |