Charles Campbell wrote:

> It always has seemed to me to be a bit of a battle to handle continued 
> lines.  So that you know what I mean:
> 
> C:
> code line\
> more code to be treated as one line
> 
> Matlab:
> code line...
> more code to be treated as one line
> 
> Vim:
> code line
> \ more code to be treated as one line
> 
> etc.
> 
> It would make syntax file writing considerably simpler (and, in the case 
> of vim script, there's still problems) if there was a statement such as:
> 
> C:
> syntax continue "\\$"
> 
> Matlab:
> syntax continue "...$"
> 
> Vim:
> syntax continue "^\s*\\"
> 
> The idea is that if the continue pattern is encountered, then syntax 
> highlighting would proceed as if there was no intervening newline.

Hmm, would this really work?  Perhaps it's better to have the pattern
behave as if there was one space.  Or perhaps it depends on the
language.

Implementing this will not be simple.

-- 
        **  Hello and Welcome to the Psychiatric Hotline **
If you are obsessive-compulsive, please press 1 repeatedly.
If you are co-dependent, please ask someone to press 2.
If you have multiple personalities, please press 3, 4, 5 and 6.
If you are paranoid-delusional, we know who you are and what you want
       - just stay on the line so we can trace the call.
If you are schizophrenic, listen carefully and a little voice will
       tell you which number to press next.
If you are manic-depressive, it doesn't matter which number you press
       - no one will answer.
If you suffer from panic attacks, push every button you can find.
If you are sane, please hold on - we have the rest of humanity on the
        other line and they desparately want to ask you a few questions.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to