Twistpad Carthago Software forums / Twistpad /  

 Syntax question

 
Jeremy Jackson
Member
#1 | Posted: 4 Aug 2006 17:48 
I'm working on that syntax definition file like I said I would, and there's only one thing I can't figure out.

I have a string definition:
[PHP String1]
Type=StartStop
Context=6
Scope=1
Priority=0
WholeWordOnly=1
First="
Last="
Background=Default
Foreground=FF0000

Now, in many languages you can typically escape the string wrapper character (in php \"). So, how can I get \" to not end the string syntax defined?

$test = "testing\"escape";
This doesn't seem to work, and I've tried various methods to try and solve it. Wondering if anyone has a solution.

Andre Santos
Carthago
Moderator
#2 | Posted: 6 Aug 2006 10:52 
Hi,

There is no way in the present version of Twistpad to indicate what is the espace character.

However next version will include support to define what is the escape character in a syntax definition file.

Thanks,

André Santos
Carthago Software Support
http://www.carthagosoft.net

RyanFarley
Member
#3 | Posted: 9 Oct 2006 16:23 
Andre Santos wrote:
next version will include support to define what is the escape character in a syntax definition file


That is great news. Looking forward to the next version!

-Ryan

Twistpad Carthago Software forums / Twistpad /
 Syntax question

Your Reply Click this icon to move up to the quoted message


 
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.

 

  Powered By minibb