Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Syntax Edit
  New Posts New Posts RSS Feed - Are schemas standard
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Are schemas standard

 Post Reply Post Reply
Author
Message
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Status: Offline
Points: 536
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: Are schemas standard
    Posted: 27 December 2015 at 6:27pm
Are the schemas used in the CJ Syntax Edit some kind of standard?

Is there a web page where I can download the schemas I need?

I'm looking for
C++
C#
VBScript
JScript
Python
MATLAB

-cpede
Product: Xtreme ToolkitPro (18.0.1)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Status: Offline
Points: 536
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2016 at 2:45pm
Hallo!

Which languages are supported?

How to support other languages?

-cpede
Product: Xtreme ToolkitPro (18.0.1)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
olebed View Drop Down
Admin Group
Admin Group
Avatar

Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 648
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 15 June 2016 at 6:05am
Hello cpede,

Unfortunately I can't find any mentions about standard.

From documentation:
The syntax editor control is capable of enhance text coloring for a number of 
specific input file types, I.e. C/C++ source files, HTML files, etc.  User can 
create and customize their own text files schemes - they are independent of 
source files.  The control contains the main configuration file, which can 
contain references to any specific configuration files. By default, this file 
is placed in the same folder as the application executable and is called 
SyntaxEditor.ini.  The main configuration file contains 2 blocks with references 
to input file lexicographic schemes in the specific format (see below) and color 
themes for the editor, which could be applied to the control editing any file 
type.  The format of the main configuration file is the following: 

[Schemes]
CPP=Schemas/_cpp.schclass            ; Visual C++
HTML=Schemas/_HTML_ASP.schclass      ; HTML and ASP
schclass=Schemas/_schclass.schclass  ; Codejock Schema
NSI=Schemas/_nsi.schclass            ; Nullsoft Installer
Pascal=Schemas/_pascal.schclass      ; Pascal
INI=Schemas/_ini.schclass            ; INI Files
SQL=Schemas/_sql.schclass            ; SQL Query

[Themes]
Default=Themes/colorSchema0.ini
Alternative=Themes/colorSchema1.ini

You can see descriptions in MFC sources   Source\SyntaxEdit\Config\

Source\SyntaxEdit\Config\SyntaxEdit.ini               - main configuration file
Source\SyntaxEdit\Config\Schemas\*.schclass       - schemas
Source\SyntaxEdit\Config\Schemas\LexFormat.txt  - format of shcemas files  ( http://forum.codejock.com/forum_posts.asp?TID=18102 )
Source\SyntaxEdit\Config\Themes\                      - color schemas

Regards,
 Oleksandr Lebed
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Status: Offline
Points: 536
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 15 June 2016 at 6:47am
OK, thanks for the answer.

So if I understand correctly the CodeJock lexer format is NOT a standard format ?

E.g. it is not the same format as e.g. Scintilla is using (even it has lexers for nearly all languages)

I just need to understand before I start using this component.

-cpede
Product: Xtreme ToolkitPro (18.0.1)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.125 seconds.