Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] Editor Build require stylers

Hi, Bernhard,
I added a link to the CodeEdit How To page: https://wiki.eclipse.org/Orion/How_Tos/Code_Edit
to the main How To's page: https://wiki.eclipse.org/Orion/How_Tos
Thanks for pointing out that it was missing.
Carolyn
 
 
----- Original message -----
From: Libing Wang/Ottawa/IBM@IBMCA
Sent by: orion-dev-bounces@xxxxxxxxxxx
To: orion-dev@xxxxxxxxxxx
Cc: orion-dev@xxxxxxxxxxx
Subject: Re: [orion-dev] Editor Build require stylers
Date: Mon, Apr 10, 2017 4:02 PM
 
Hi Bernhard:
This is the more extensible stand alone editor.
 
Please download the built-codeEdit.zip file from our 14.3 release and use the attached demoSQL.html to see how it works.
 
You can also ask further questions more interactively from https://mattermost.eclipse.org/eclipse/channels/orion, mentioning @libingwang.
 
Regards,
Libing
 
----- Original message -----
From: Bernhard Döbler <programmer@xxxxxxxxxxx>
Sent by: orion-dev-bounces@xxxxxxxxxxx
To: orion-dev@xxxxxxxxxxx
Cc:
Subject: [orion-dev] Editor Build require stylers
Date: Sat, Apr 8, 2017 9:00 PM
 
Hi,

I need a SQL editor on a web page and wanted to try eclipse Orion. I
follow the instrucion provided on page:
https://wiki.eclipse.org/Orion/How_Tos/Editor_Build#Using_the_RequireJS_build

I got the built-editor.zip download in recent version 14.3.
I copy the sample and modify the "data-editor-lang"-attribute to
"application_sql". The browser now tries to download file
"/orion/editor/stylers/application_sql/syntax.js" and fails because your
zip file does not server the stylers folder in an orion/editor" hierarchie.
I extend the require call to also require "stylers/lib/syntax.js" and
"stylers/application_sql/syntax.js".
Now everything works as expected.

Am I supposed to require every plugin myself or am I supposed to save my
files under "orion/editor"?


Best,
Bernhard Döbler

p.S.
There's another instruction I found via google:
https://wiki.eclipse.org/Orion/How_Tos/Code_Edit
I don't see it linked on page: https://wiki.eclipse.org/Orion/How_Tos
Where is a recent instruction that tells how I can embed the editor on
my page?

_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/orion-dev
 
 
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/orion-dev
 


Back to the top