Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] Integration of Orion Editor in Dirigible

Hi Nedelcho,
Great to hear that! If you have any other questions/requests, please let us know.
Regards,
Libing



From:        "Delchev, Nedelcho" <nedelcho.delchev@xxxxxxx>
To:        Orion developer discussions <orion-dev@xxxxxxxxxxx>
Cc:        "dirigible-dev@xxxxxxxxxxx" <dirigible-dev@xxxxxxxxxxx>
Date:        09/12/2015 06:40 AM
Subject:        Re: [orion-dev] Integration of Orion Editor in Dirigible
Sent by:        orion-dev-bounces@xxxxxxxxxxx




Hi Libing,

Thanks a lot for the sample code. We adapted the setting of breakpoints as you suggested [1]. It is really nice!

Regards,
Nedelcho

[1] https://github.com/eclipse/dirigible/commit/1bf3480687320be9ba789612c7ed0184a2fbf28b

From: <Pavlov>, Yordan <yordan.pavlov@xxxxxxx>
Reply-To:
Orion developer discussions <
orion-dev@xxxxxxxxxxx>
Date:
Friday, August 28, 2015 at 12:53
To:
Orion developer discussions <
orion-dev@xxxxxxxxxxx>
Cc:
"
dirigible-dev@xxxxxxxxxxx" <dirigible-dev@xxxxxxxxxxx>
Subject:
Re: [orion-dev] Integration of Orion Editor in Dirigible


Hi Libing,
 
Thank you for the quick replay!
 
The details that you gave was really helpful and brings insight on what we are doing and how we can do it!
 
The way that we are currently setting breakpoints is this, which is not the most correct way J

var ruler = editorViewer.editor._annotationRuler;

var oldDblClick = ruler.onDblClick;

var addRemoveBookmark = function(lineIndex, e) {

console.log(lineIndex);

oldDblClick.apply(ruler, [lineIndex, e]);

}

ruler._onDblClick_ = addRemoveBookmark;
 
 
If you want to try the debugging with dirigible, here you can find how this can be done [1].
Note that the instance that is running on the trial instance [2] is not with the latest sources.
If you want to run against the latest sources, please follow this guide [3].
 
Regards,
Yordan
 
[1] Debugging with Dirigible
http://www.dirigible.io/help/debugger.html
 
[2] Dirigible Trial Instance
http://trial.dirigible.io
 
[3] Dirigible README
https://github.com/eclipse/dirigible/blob/master/README.md
 
 
From: orion-dev-bounces@xxxxxxxxxxx[mailto:orion-dev-bounces@xxxxxxxxxxx] On Behalf Of Libing Wang
Sent:
Thursday, August 27, 2015 4:46 PM
To:
Orion developer discussions
Cc:
dirigible-dev@xxxxxxxxxxx
Subject:
Re: [orion-dev] Integration of Orion Editor in Dirigible

 
Hi Yordan:
RE:
Place the cursor on a certain line and highlight it
I've added a new chapter in the Code Edit Widget wiki page
https://wiki.eclipse.org/Orion/How_Tos/Code_Edit#How_to_highlight_a_line_in_the_editor_and_set_cursor_on_that_line.
Please refer to the run-able snippet there.


RE:
 Handle event when breakpoint is set/removed
Could you tell me the details on the debug work flow related to the Code Edit Widget? I tried to use
https://www.eclipse.org/dirigible/as anonymous user and created a js file but it is readonly and I could not put my contents there.

Thanks,
Libing




From:        
"Pavlov, Yordan" <yordan.pavlov@xxxxxxx>
To:        
"orion-dev@xxxxxxxxxxx" <orion-dev@xxxxxxxxxxx>
Cc:        
"dirigible-dev@xxxxxxxxxxx" <dirigible-dev@xxxxxxxxxxx>
Date:        
08/26/2015 11:16 AM
Subject:        
Re: [orion-dev] Integration of Orion Editor in Dirigible
Sent by:        
orion-dev-bounces@xxxxxxxxxxx






Hi Orion team

We want to replace the ACE  with the Orion editor, as a default one for Dirigible, before making a release in Eclipse.
We are almost done and the last thing that remains is the debugger.

What we want to do is the following:

·    
Handle event when breakpoint is set/removed
·    
Place the cursor on a certain line and highlight it

How we can do this?

I’ve search in google, but the only thing that I found was this event and it is not triggered:
https://developer.mozilla.org/en-US/docs/Mozilla/_javascript__code_modules/source-editor.jsm#BreakpointChange

The Orion version that we are using is – stable_20150817 -
https://github.com/eclipse/dirigible/commit/89b198692f9a16d66c6fa51b077471492f4f7148

Dirigible Project References:

The project site:
http://www.dirigible.io
Eclipse page:
https://www.eclipse.org/dirigible/
Help page:
http://help.dirigible.io/
Trial:
http://trial.dirigible.io

Regards,
Yordan
_______________________________________________
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