Re: Mode question

sigzero <[email protected]>
Newsgroups gmane.editors.jedit.user
Message-ID <CALp+1QsoH3=vx4-Cb4azUmvOX2Sv5JKb2gc5y+ZC+=GcO_AQ8Q@mail.gmail.com>
That works perfectly! Thanks!

Bob

On Wed, Oct 4, 2017 at 12:14 PM, Dale Anson <[email protected]> wrote:

> 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 <[email protected]> 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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jedit-users
>>
>>
>

------------------------------------------------------------------------------
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.