[rkward-cvs] rkward/rkward rkward.xml,1.7,1.8
Thomas Friedrichsmeier
tfry at users.sourceforge.net
Wed Sep 13 21:18:25 UTC 2006
Update of /cvsroot/rkward/rkward/rkward
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv23020
Modified Files:
rkward.xml
Log Message:
Small refinements
Index: rkward.xml
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/rkward.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** rkward.xml 13 Sep 2006 21:11:50 -0000 1.7
--- rkward.xml 13 Sep 2006 21:18:23 -0000 1.8
***************
*** 44,48 ****
<context attribute="Normal Text" lineEndContext="#stay" name="parenthesis">
<IncludeRules context="CommandContinuationCheck"/>
- <LineContinue attribute="Boolean" context="#stay"/>
<DetectChar attribute="Keyword" context="#pop" char=")"/>
--- 44,47 ----
***************
*** 67,71 ****
<!-- This context is not really used, but meant to be included. It checks whether a new line is a continuation of a command. If so, it eats the "+ " at the line start. Else it tries to pop back to the top level -->
<context attribute="Normal Text" name="CommandContinuationCheck">
! <RegExpr attribute="Normal Text" context="#pop" String="^([^\+]|$)" lookAhead="true"/> <!-- This should pop us back into ctxnorm, which will then most likely take us to output -->
<RegExpr attribute="LineStart" context="#stay" String="^\+ "/>
</context>
--- 66,70 ----
<!-- This context is not really used, but meant to be included. It checks whether a new line is a continuation of a command. If so, it eats the "+ " at the line start. Else it tries to pop back to the top level -->
<context attribute="Normal Text" name="CommandContinuationCheck">
! <RegExpr attribute="Normal Text" context="#pop#pop#pop#pop#pop#pop#pop#pop#pop#pop#pop#pop#pop#pop#pop#pop#pop#pop" String="^([^\+]|$)" lookAhead="true"/> <!-- This should pop us back into ctxnorm, which will then most likely take us to output -->
<RegExpr attribute="LineStart" context="#stay" String="^\+ "/>
</context>
More information about the rkward-tracker
mailing list