Language Rules Conflict Jide Editor

This is the forum for JIDE Common Layer which is open sourced at https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Moderator: JIDE Support

Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Language Rules Conflict Jide Editor

Postby Salman12 » Thu Mar 05, 2015 5:47 am

Asslam 0 Alaikum,

I am using Jide Editor in my project for VB Script support. I am facing a issue in the implementation of Language rules. In VB we can identify a single line comment if the line starting with Apostrophe( ' ) . I have given rule to Jide Editor to take apostrophe as a single line comment but in the editor if I write ODD number of apostrophe then it changes the syntax color of line as a comment but a the number of apostrophes become EVEN then it starts considering it as a string literal. e.g

' This is comment (Taken as Comment identified from syntax color)
' ' ' This is comment (Taken as Comment identified from syntax color)
' ' This is comment (Taken as String identified from syntax color)
' ' ' ' This is comment (Taken as String identified from syntax color)

I have tried to change string literal token and comment identification rule but nothing is working for me.
If anyone has any idea about this issue or faced during their implementation then kindly tell me about this issue more and how can I resolve this issue.
If no one has ever faced it then I think it should be fixed by Jide Developers as soon as possible since we have some dependency on this issue.
Salman12
 
Posts: 35
Joined: Wed May 30, 2012 6:35 am

Re: Language Rules Conflict Jide Editor

Postby JIDE Support » Thu Mar 05, 2015 9:45 am

The syntax color part is taken from an open source http://syntax.jedit.org/. All the tokenmarkers are taken from their projects so we actually don't have much expertise in the area. Of course we can't depend on them to provide support, so if you can provide a test case to reproduce the issue, we can certainly learn more about it and see if we can find a fix in their code.
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 36180
Joined: Sun Sep 14, 2003 10:49 am


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: No registered users and 3 guests

cron