Re: Matlab related HRC Files - line continuation characters

View: New views
1 Messages — Rating Filter:   Alert me  

Re: Matlab related HRC Files - line continuation characters

by Bob Kagy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'll start by trying to explain the line continuation characters.

In the MathWorksTLC.hrc, there is the base scheme MathWorksTLC.  For some of the commands it switches to the scheme MathWorksTLCExpr.  Normally the expression ends at the end of the line.  But if there is a line continuation character "... or /" the scheme MathWorksTLCExpr should continue to the next EOL.  And I'm just not sure how to describe this.

I don't seem to have specified line continuation characters in the MathWorksTLC.hrc.  To deal with the line continuations, I just inherit some of the same blocks and rules into both the MathWorksTLC & MathWorksTLCExpr schemes, just so highlighting doesn't end abruptly when a line continuation character is used.

In the matlab.hrc it isn't as important.  I thought that it was, but just realized that if I move the \M a little further in, I get the right highlighting and still get the expression on the Outline viewer.

Bob

On 5/7/07, colorer-talks-request@... <colorer-talks-request@...> wrote:
Send colorer-talks mailing list submissions to
        colorer-talks@...

To subscribe or unsubscribe via the World Wide Web, visit
         https://lists.sourceforge.net/lists/listinfo/colorer-talks
or, via email, send a message with subject or body 'help' to
        colorer-talks-request@...

You can reach the person managing the list at
        colorer-talks-owner@...

When replying, please edit your Subject line so it is more specific
than "Re: Contents of colorer-talks digest..."


Today's Topics:

   1. Re: Matlab related HRC Files (Igor Russkih)


----------------------------------------------------------------------

Message: 1
Date: Mon, 7 May 2007 18:51:16 +0400
From: "Igor Russkih" <irusskih@...>
Subject: Re: Matlab related HRC Files
To: "Common buzz on colorer" < colorer-talks@...>
Message-ID:
        <861727ef0705070751t2c04ccb6i7e464124432b9762@...>
Content-Type: text/plain; charset=UTF-8; format=flowed

Bob,

Thanks for your contribution, I'll include the changes into the
distribution. Feel free to send any updates.

As for the problem you've stated, I see a commented out block for
function matching. Why doesn't it works? Although a function without
end indication is strange, believe it still may be handled with the
logic you've commented.

I didn't get also your problem with line continuation chars, could you
explain it in more details?

--
  Igor



------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

------------------------------

_______________________________________________
colorer-talks mailing list
colorer-talks@...
https://lists.sourceforge.net/lists/listinfo/colorer-talks


End of colorer-talks Digest, Vol 8, Issue 2
*******************************************



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
colorer-talks mailing list
colorer-talks@...
https://lists.sourceforge.net/lists/listinfo/colorer-talks

matlab.hrc (20K) Download Attachment
LightInTheBox - Buy quality products at wholesale price