doublequote as string begin char

6 views
Skip to first unread message

dragg

unread,
Jun 21, 2009, 12:29:55 PM6/21/09
to cke, text editor for pocket pc
How can I make doublequote (") a stringbegin and stringend character
inside .syntax file? Nothing works so far (like """).

Beverly Howard

unread,
Jun 21, 2009, 12:47:07 PM6/21/09
to cke...@googlegroups.com
>> Nothing works so far (like """) <<

Don't know the answer, but, have you tried

'"'

Beverly Howard


dragg

unread,
Jun 21, 2009, 5:11:07 PM6/21/09
to cke, text editor for pocket pc
> Don't know the answer, but, have you tried
>
> '"'
>
> Beverly Howard
Thanks for the effort, but it dsnt work.

ecv

unread,
Jun 22, 2009, 5:36:36 AM6/22/09
to cke, text editor for pocket pc
You have to escape it with a '\' char as in
stringbegin = "\""
stringend = "\""

the other char that needs escape is '\' itself as in
stringescape = "\\"
so in C it will properly highlight a string as"abc\"def"

Esteban

dragg

unread,
Jun 22, 2009, 8:54:03 AM6/22/09
to cke, text editor for pocket pc
Yep, that will do. Thanks Esteban
Reply all
Reply to author
Forward
0 new messages